Skip to content

Commit

Permalink
Update sparql_otherstores.md
Browse files Browse the repository at this point in the history
  • Loading branch information
florianthiery committed Sep 16, 2024
1 parent 0e150f6 commit d014b02
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/sparql_otherstores.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ SELECT ?item ?lat ?lon WHERE {

# Roman Open Data

~~~ttl
```
PREFIX : <http://www.semanticweb.org/ontologies/2015/1/EPNet-ONTOP_Ontology#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dcterms: <http://purl.org/dc/terms/>
SELECT ?item ?amphtype ?lat ?lon (count(?item) as ?count)
WHERE {
?amph a :Amphora .
?amph :hasAmphoraType ?amphtypeo .
?amphtypeo dcterms:title ?amphtype .
FILTER (?amphtype = "Gauloise 4")
?amph :carries ?inscription .
?amph :hasFindingPlace ?findplace .
?findplace :fallsWithin ?mun .
?mun a :Municipality .
?mun dcterms:title ?item .
?mun :hasLatitude ?lat .
?mun :hasLongitude ?lon .
?amph a :Amphora .
?amph :hasAmphoraType ?amphtypeo .
?amphtypeo dcterms:title ?amphtype .
FILTER (?amphtype = "Gauloise 4")
?amph :carries ?inscription .
?amph :hasFindingPlace ?findplace .
?findplace :fallsWithin ?mun .
?mun a :Municipality .
?mun dcterms:title ?item .
?mun :hasLatitude ?lat .
?mun :hasLongitude ?lon .
} ORDER BY ?item DESC(?count)
~~~ttl
```

0 comments on commit d014b02

Please sign in to comment.