Skip to content

Instantly share code, notes, and snippets.

@antoinecourtin
Created November 6, 2014 20:04
Show Gist options
  • Save antoinecourtin/900daafa0ad7fd67acb7 to your computer and use it in GitHub Desktop.
Save antoinecourtin/900daafa0ad7fd67acb7 to your computer and use it in GitHub Desktop.
test
# 15th century Europeana objects from France with "Saint" as title
PREFIX edm: <http://www.europeana.eu/schemas/edm/>
PREFIX ore: <http://www.openarchives.org/ore/terms/>
PREFIX luc: <http://www.ontotext.com/owlim/lucene#>
SELECT DISTINCT ?CHO ?year ?title ?EuropeanaObject
WHERE {
?EuropeanaObject edm:year ?year ;
edm:hasMet <http://sws.geonames.org/3017382/> .
?EuropeanaObject ore:proxyFor ?CHO.
?proxy ore:proxyFor ?item; dc:title ?title.
?title luc: "saint"
FILTER (?year < "1500")
FILTER (?year > "1400")
}
LIMIT 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment