Skip to content

Commit

Permalink
Create sparql_otherstores.md
Browse files Browse the repository at this point in the history
  • Loading branch information
florianthiery committed Sep 16, 2024
1 parent b349d23 commit 0e150f6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions docs/sparql_otherstores.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# nomisma.org Mints

```
SELECT ?item ?lat ?lon WHERE {
?item a <http://nomisma.org/ontology#Mint>.
?item geo:location ?loc .
?loc wgs84_pos:lat ?lat .
?loc wgs84_pos:long ?lon .
}
```

# 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 .
} ORDER BY ?item DESC(?count)
~~~ttl

0 comments on commit 0e150f6

Please sign in to comment.