Questions tagged [dbpedia]

DBpedia is a community project focused on transforming Wikipedia content in structured data represented using RDF Language statements. In addition to Wikipedia content transformation, it also publishes said content into the World Wide Web, as Linked Open Data, by adhering Linked Data principles. If you are completely new to SPARQL, please consider to ask your question on opendata.stackexchange.com.

0
votes
1answer
26 views

DBPedia live endpoint giving 504 or 503 exception

I am using java code to write sparql query for DBPedia. http://dbpedia.org/sparql and also http://live.dbpedia.org/sparql both worked fine but suddenly after few days today I am facing problem because ...
-1
votes
0answers
24 views

How to create a subset (A piece of DBpedia) from DBPedia data using SPARQL

I need to create a sample of DBpedia (RDF model) which posses the smaller size of DBpedia. And then we can do any queries command on that RDF model. Which the SPARQL queires could I use to extract the ...
0
votes
1answer
20 views

DBPedia: SPARQL query on field starting with literal

I am trying to get the respective DBPedia entry for a list of companies. I can't figure out how to do approximate matches. Example: "Audi" is called "Audi AG" in DBPedia and "Novartis" is called "...
1
vote
1answer
20 views

DBpedia: Query some information about a specific person with SPARQL

I've been struggling to create a SPARQL query about one person. Let's say for example, I want to have these informations for Aristotle : Birth Date Death Date Description (in English) I have tried ...
0
votes
1answer
50 views

How to delete lines with specific subjects from an RDF file?

I have a file containing triple RDF (subject-predicate-object) in the turtle syntax (.ttl), and I have another file in which I only have some subjects. For example: <http://dbpedia.org/resource/...
-3
votes
0answers
20 views

Word Sense Disambiguation (WSD) [closed]

I am looking for an algorithm that generates the context for the disambiguation of named entities based on linked data
-1
votes
0answers
12 views

how to get paths using python between two entities(identified by dbpedia spotlight) using knowledge base dbpedia

After identifying entities of text using DBpedia spotlight I want to find paths in between them giving the relationship between entities obtained in python. # code i have tried so far for obtaining ...
1
vote
0answers
23 views

using sparql to find best match for a string in dbpedia?

I have a list of strings (contains name entities, names, verbs, etc.) and for each of them, I want to find out if there is any node equivalent to that string in DBpedia dataset. I am using SPARQL to ...
1
vote
1answer
40 views

SPARQL: Get all properties we see in some DBpedia entity

I basically try to recover with sparql all the properties of the company entity "Apple_Inc." looking at http://dbpedia.org/page/Apple_Inc. I see for example the properties "is dbo:developer of", and "...
1
vote
1answer
23 views

Get birthplace from DBpedia people in SPARQL

I have the following code to retrieve all people that was born in Barcelona PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?person ...
1
vote
1answer
44 views

dotNetRdf issue with Unicode escape sequences / Jena Fuseki inability to load apostrophe in URI

I am developing an web application and I need to support storing RDF data onto my Jena Fuseki server from several data sources (DB dumps / URIs). I have encountered a problem with dotNetRdf. I am ...
0
votes
1answer
13 views

no return from SPARQL DBPedia Company Information

I fail to recover some fields visible on some page of dbpedia. I get some fields, but not all. I get for example rdf:type with select * where { values ?comp{ <http://dbpedia.org/resource/...
1
vote
0answers
52 views

Search for a specific programming language from DBPedia

I can list programming languages from dbpedia but If I want to just search for specific programming language then thats a problem. Because some programming languages are in dbpedia like "pyhton (...
1
vote
1answer
96 views

SPARQL/DBPedia: Fetch entity via properties without knowing entity page URI

I'm trying to return a property from an entity describing a company/stock on DBPedia given a unique combination of other properties that that entity belongs to. For example, given the strings NASDAQ ...
0
votes
0answers
17 views

Dbpedia indexing for named entity linking (chatbot)

I'm working on a project for a chatbot. The chatbot must answer users' questions using dbpedia, and was initially trained with the IBM watson assistant service. However, in this service it is ...
0
votes
1answer
95 views

How to check if a person exists on Wikipedia?

So I need a function. An example input would be like "donald trump" (I don't want it to be case-sensitive) If an article about the person exists on Wikipedia, function returns a summary and a picture. ...
0
votes
1answer
34 views

DBpedia SPARQL career of players having played for a particular team

I would like to get the career informations for players having played for a particular team, and who is born after a certain date. I managed to do the following query : select ?playerName ?year ?...
0
votes
0answers
10 views

How to read the Domain and Range of an OntoProperty in DBpedia using Owlready2?

I went through the Owlready2 docs but It does not tell a way to do it. I load the dbpedia.owl file and iterate through all the properties. I can simply read subproperty but not domain or range. One ...
1
vote
2answers
49 views

How to escape special characters in SPARQL Prefixed Names?

I'm making requests to DBPedia using SPARQL and Python. Sadly, I'm always getting an error when I send requests with special characters (like parenthesis). I tried to escape it with backslashes (as ...
0
votes
1answer
35 views

Problem getting only programming languages from DBPedia using Sparql

Everything is working fine and yes I am getting programming languages using sparql query by java code but the problem is, you can look into the picture that sex_education is not a programming language ...
-2
votes
0answers
31 views

Query to display <class(url), subclass(url)> and <class(url), property(url)> for classes having no subclasses

How can I access rdfs:domain and rdfs:range of owl:ObjectProperty using Owlready2? I could get subclasses of classes and subproperties of properties. Here is the code, from owlready2 import * ...
0
votes
1answer
55 views

SPARQL query help needed for DBpedia all programming language details

This is the query I am running to get these details of All programming languages.Every programming language has some influenced other languages or influenced by other language. So there may be many ...
0
votes
1answer
55 views

Indexing dbpedia datasets onto elasticsearch

I'm working on a university project for a chatbot that answers various questions based on dbpedia's RDF datasets. At the moment, the chatbot is very specific and is able to answer questions related to ...
1
vote
1answer
42 views

Sparql find entities with dbo type and sort them by count

I have to do a sparql query to the dbpedia endpoint which needs to: Find all the entities containing "vienna" in the label and "city" in the abstract Filter them keeping only the ones that have at ...
0
votes
0answers
39 views

How to get the number of hops to a category in SPARQLWrapper in DBpedia?

Given a category name (e.g., dbc:Lipid_metabolism_disorders), I want to identify how many hops I need to traverse through in DBpedia to reach the category dbc:Medicine using SPARQLWrapper. My current ...
0
votes
1answer
36 views

Why am I getting duplicates in results? (DBpedia sparql query)

I thought I was querying fine until I saw the result had some same events appearing a few times. Could anyone explain why? Query: PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?event ?...
0
votes
0answers
33 views

I want to setup dbpedia dataset locally

I want to setup DBpedia dataset locally, but I'm not sure how to do it. I have downloaded mappingbased_objects_en.ttl and infobox_properties_mapped_en.ttl.bz2, is there anything else I need to ...
0
votes
1answer
57 views

Sparql for events in dbpedia

I am new to SPARQL, and trying to query event data on DBPedia whose source articles are in Dutch. How could I query type of events, count numbers of each event type? Please advise. I am using http://...
0
votes
1answer
36 views

Querying dbpedia, not getting expected result not sure what's the mistake

My query is PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbr: <http://dbpedia.org/resource/> PREFIX dbp: <http://dbpedia.org/...
1
vote
1answer
30 views

sparql using live.dbpedia and getting XML Schema in the result

I'm adventuring with sparql and a java application, I've found a few connection basics to get up and running as it were but fear I'm making a mistake which will later turn into something worse. Every ...
0
votes
0answers
49 views

dbpedia sparql to get all career info for all soccer players of a particular nationality

I am trying to make the perfect sparql query from dbpedia in order to get career information for all soccer players of a particular country of birth, like so : birthCountry | player | birthDate | ...
-1
votes
1answer
43 views

Dbpedia Extract Concept/Entity/ GRAPH in Python

I am having a hard time understanding how to fetch data with SPARQL. I looked at several tutorials but still have a few questions 1) How can we determine the headers in the dataset. Say there's a ...
0
votes
0answers
32 views

Extract Graph from DBpedia, by number of HOPS, Direction

In the above graph [which is in dbpedia], I want to extract information about TIM COOK, with hops, IF I put hop as 1, I would need all the first level information about TIM COOK, like Masters, APPLE, ...
1
vote
1answer
51 views

Include a range of “possible” dates in a SPARQL filter

I'm working on a DBPedia project to locate female singers who would have been active during the 1960s (approx). Unfortunately when I try to select a range of singers who were active from 1955 - 1972 ...
0
votes
1answer
52 views

SPARQL Extract Entities from dbpedia In Python

I am trying to extract Entities/Concepts for the word Fish Using the below code, But i am getting like Fish سمك Fische Pisces Poisson Pesce Vissen (dieren) Ryby Peixe Рыбы 鱼 I am expecting like cAT ...
0
votes
0answers
40 views

Does SPARQL literals have a type?

I want to write a sparql query to extract all predicates from DBPedia that their subjects are Person and their objects are Date Literals. This is my query: SELECT ?o ?p ?d from <http://dbpedia....
0
votes
1answer
58 views

Error loading DBPedia Turtle in Virtuoso with Docker

I downloaded DBPedia turtle-files with their extraction framework (https://github.com/dbpedia/extraction-framework). Then I used the docker image tenforce/virtuoso:1.3.2-virtuoso7.2.2 after ...
2
votes
2answers
43 views

Why does this SPARQL query give wrong results?

I tried doing some sparql requests on http://dbpedia.org/sparql. My sparql-request is this: PREFIX : <http://dbpedia.org/resource/> PREFIX dbo: <http://dbpedia.org/ontology/> SELECT ?...
1
vote
2answers
86 views

Dbpedia resource parsing in JAVA

By using DBpedia Spotlight, I get DBpedia URIs. For example http://dbpedia.org/resource/Part-of-speech_tagging I need to request this URI in Java so that it can return me some json/xml and I can ...
0
votes
0answers
35 views

SPARQL query doesnt work on another dbpedia resource

So when I run this SPARQL query on the DBpedia SNORQL interface it works -- select * { ?s rdf:type <http://dbpedia.org/class/yago/Company108058098> } limit 10 But a similar query doesn't ...
2
votes
1answer
39 views

DBPedia-France (fr.dpbedia.org/sparql) query giving different result from a call to another

I'm calling on http://fr.dbpedia.org/sparql the following SPARQL query: prefix owl: <http://www.w3.org/2002/07/owl#> prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> prefix rdfs:...
0
votes
1answer
55 views

Comma error while searching on SPARQL, DBpedia

While performing the query giving error, syntax error at ',' before '_New_South_Wales'. PREFIX dbo: <http://dbpedia.org/ontology/> PREFIX dbp: <http://dbpedia.org/property/> PREFIX ...
0
votes
0answers
80 views

Federated SPARQL query in dbpedia and wikidata: Few questions

I have following query: # endpoint used: https://query.wikidata.org/ # # PREFIX wd: <http://www.wikidata.org/entity/> # PREFIX wdt: <http://www.wikidata.org/prop/direct/> PREFIX dbo: <...
1
vote
1answer
36 views

Difference between 'page' and 'resource' in DBpedia URLs

When I was digging DBpedia and trying to learn more about Linked Data, I have seen that DBpedia is redirecting from http://dbpedia.org/resource/Rome to http://dbpedia.org/page/Rome. I wasn't able to ...
0
votes
1answer
58 views

Wikidata Query equivalent in dbpedia

I am trying to transform my SPARQL Query from Wikidata to DBpedia (just for educational purpose), but it doesn't work. Could someone please help me and tell me what I'm doing wrong? Thank you! In ...
0
votes
0answers
17 views

Dbpedia birthplace Propery or Class?

I have realized that with my query to find people from my homecity through a dbpedia query, I could not find all of them. The reason is that somtimes the property birthPlace is used and sometimes the ...
1
vote
1answer
38 views

why DBPedia query for given Wikipedia URLs works works only for some urls?

I have a list of URLs to wikipedia pages and query dbpedia data on lod.openlinksw.com endpoint. The code is the same as in this question. What would be good to understand is: how is it possible that ...
0
votes
2answers
62 views

SPARQL query executes but returns empty

Can't get this SPARQL query to return results: PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?team ?club (sql:group_concat(?coach, ";;;") as ?coaches) (sql:group_concat(?...
0
votes
0answers
40 views

List of all properties in dbpedia that appears in a triple

I'm trying to list all properties in DBpedia and how many times a property appears in a triple. So I tried this and it doesn't give me all DBpedia properties. SELECT ?prop, (COUNT(?prop) AS ?c) ...
0
votes
1answer
34 views

SPARQL, dbpedia : Retrieve values of resource linked as property, type person

I need to retrieve the name of a person's mother, and I have no idea how to do so. This is the query I'm currently working with: PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX ...

http://mssss.yulina-kosm.ru