-
Notifications
You must be signed in to change notification settings - Fork 1
How to construct the DBpedia dumps
KMax edited this page Dec 21, 2014
·
1 revision
SPARQL query to construct an RDF dump of universities' names
CONSTRUCT {
?uni a dbpedia-owl:University ;
rdfs:label ?ori_label .
?redirect dbpedia-owl:wikiPageRedirects ?uni ;
rdfs:label ?alt_label .
} WHERE {
?uni a dbpedia-owl:University ;
rdfs:label ?ori_label .
?redirect dbpedia-owl:wikiPageRedirects ?uni ;
rdfs:label ?alt_label .
}
SPARQL query to construct an RDF dump of countries' names
CONSTRUCT {
?country a dbpedia-owl:Country ;
rdfs:label ?ori_label .
?redirect dbpedia-owl:wikiPageRedirects ?country ;
rdfs:label ?alt_label .
} WHERE {
?country a dbpedia-owl:Country, dbpedia-owl:Place ;
rdfs:label ?ori_label .
?redirect dbpedia-owl:wikiPageRedirects ?country ;
rdfs:label ?alt_label .
}