You may submit
SPARQL
queries against the
KBpedia
knowledge graph OR external sources using this form. You may also inspect
additional sample queries
See further documentation for this
SPARQL service
.
Sample KBpedia Query
Here is a sample internal query you may copy and paste into the text area below:
PREFIX rc: <http://kbpedia.org/kko/rc/>
PREFIX kko: <http://kbpedia.org/ontologies/kko#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT DISTINCT ?x ?label
WHERE
{
?x rdfs:subClassOf rc:Bird.
?x skos:prefLabel ?label.
}
Sample External Query
Here is a sample external query you may copy and paste into the text area below; make sure and also provide external query URL below:
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemLabel ?wikilink ?itemDescription ?subClass ?subClassLabel WHERE {
VALUES ?item { wd:Q25297630
wd:Q537127
wd:Q16831714
wd:Q24398318
wd:Q11755880
wd:Q681337
}
?item wdt:P910 ?subClass.
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
Enter your SPARQL query in the text box below:
Results: