Get Help

Feed ""

October 18, 2017

I want to autocomplete the "SameAs" input using dbpedia search results as source. I finished up with the next JS code. but I don't get any results.

<script> $(document).ready(function () { $("#SameAs").autocomplete({ source: function (request, response) { $.ajax({ url: "

October 16, 2017

While I'm trying to get classes of Dbpedia ontology using the code below

public void classofontology(){ Set<OWLClass> classes = ontology.getClassesInSignature(); System.out.println("le nombre des classes total de l'ontologie est : "+classes.size()); for(OWLClass clss: classes) System.out.println(clss.getIRI().getFragment()); }


October 16, 2017

I'm new to running sparql queries and I'm not very experienced. I've developed a java application that executes queries that comply with a given pattern provided by the user. For example, I synthesize the pattern to make the query in this simplified way: "P (? X,? Y), Q (? X,? Z), Q (? Y,? Z)" where P and Q are properties that bind two individuals in the first case "?x" and "?y", in the second...

October 13, 2017

For example I want to get the whole Property : Value pair information of Michael_Jordan, just like the shows. I know Sparql might be a clue but where should I start from? Some example codes would be much appreciated.(java)

October 11, 2017

When I use the following SPARQL query I get all properties of the DBpedia class Country:

select ?range ?domain ?prop ?label Where{ ?class rdfs:subClassOf{0,1} ?domain. ?prop rdfs:domain ?domain. ?prop rdfs:range ?range. ?prop rdfs:label ?label. FILTER(lang(?label) = 'en') FILTER(?class = <>) }

When I try to do this with...

October 10, 2017

I am trying to query dbpedia with SPARQL by using CONSTRUCT to get a list of countries and their capitals and parse the result back in turtle format:

CONSTRUCT {?country dbo:capital ?city. ?country a dbo:Country.}

WHERE {?country dbo:capital ?city. ?country a dbo:Country}

However, when there are parenthesis () or a _ in the country name, the result does not use the...

September 28, 2017

I'm trying to execute a fairly simple SPARQL query on DBPedia from Python, as follows:

from SPARQLWrapper import SPARQLWrapper, JSON city_name = 'Manhattan' query = """select * where { ?URI rdfs:label ?name. filter(regex(str(?name), "^%s")) }"""%(city_name) sparql = SPARQLWrapper("") sparql.setReturnFormat(...

September 26, 2017

I've been trying to query the public dpbedia sparql endpoint to find the dbpedia resource from the homepage url.... I seem to be able to filter by other fields but not foaf:homepage which gives me no results.

PREFIX dbo: <> PREFIX res: <> PREFIX rdf: <> SELECT DISTINCT ?...

September 21, 2017

I would like to get class information from DBpedia in a machine-readable format (like JSON).

For example, how do I get this page as JSON or JSON-LD?

I did find...

September 20, 2017

As we know, there are so many entities in Dbpedia. Sometimes, we need to cluster(or classify) those entities for some reasons, such as summarization[1].
The simplest way for us to cluster those entities is by leveraging their types( or classes). For example, the type of entity Donald Trump is Person. However, we found it's not enough that only using types to summarize those entities. We...