Just a quick example of a category-based search on DBPedia. It finds all “Latin Words and Phrases” on DBpedia, the results are the DBPedia URIs, the Labels and the Wikipedia URIs.
SELECT DISTINCT ?uri, ?label, ?WikipediaURI WHERE { ?uri dcterms:subject category:Latin_words_and_phrases ; rdfs:label ?label ; foaf:page ?WikipediaURI . FILTER (lang(?label) = "en") } ORDER BY ?label
To make it work feel free to plug it into the DBPedia SPARQL endpoint.
Hopefully that’s nice and easy to understand, its nothing complicated at all. Enjoy! Feel free to comment.
No comments yet.
Leave a comment