I am very new to SPARQL and DBPedia type properties. I like to get a persons nationality or all asoociated countries , job titles of that person and companies associated with.
Please help me to create a SPARQL query for above. I tried the SPARQL end point and create a CONSTRUCT query using examples like
And i got output in N-Triples format , there i can find birthPlace,Occupation etc..But its not specifically pointed what is nationality , what is the company and what is the job title. Is there any such properties / types in DBPedia ?
Sorry if i am missing anything.
asked 03 Jan, 01:06
http://dbpedia.org/property/nationality is intended to indicate his nationality,
http://dbpedia.org/property/boards should indicate the boards he sat on, while http://dbpedia.org/property/occupation will indicate a mix of titles and companies (its dissappointing that we don't have the title at a specific company - but much of that is down to weaknesses of extracting wikipedia infoboxes)
There is also classes such as http://dbpedia.org/class/yago/DisneyPeople which might or might not be useful for you (the class doesnt explicitly define that these people worked for Disney - it relies on us figuring it out from the label)
To explicitly extract these properties we need to add them in to our query
There is a CONSTRUCT WHERE shortcut in SPARQL 1.1 - http://www.w3.org/TR/sparql11-query/#constructWhere but it doesnt seem to be supported at present in dbpedia
Also consider a SELECT query
answered 03 Jan, 05:57