Project:SPARQL/starters

Place

Where Timna sites are located

One way into the data is through the locations of archeological sites This query does that for all the sites but could be adapted (on lines *xx* and *xx* TBD) to look for other places or regions. PREFIX wd: <https://timna-database.wikibase.cloud/entity/> PREFIX wdt: <https://timna-database.wikibase.cloud/prop/direct/> PREFIX p: <https://timna-database.wikibase.cloud/prop/> PREFIX ps: <https://timna-database.wikibase.cloud/prop/statement/> PREFIX geo: <http://www.opengis.net/ont/geosparql#>

SELECT DISTINCT ?entity ?entityLabel ?coordinate WHERE {

 ?entity rdfs:label ?entityLabel .
 FILTER (lang(?entityLabel) = "en")
 FILTER (STRSTARTS(?entityLabel, "Site"))
 FILTER (STRSTARTS(STR(?entity), "https://timna-database.wikibase.cloud/entity/Q"))
 ?entity wdt:P28 ?coordinate . } LIMIT 300 ##defaultView:Map

Try it!

Time

When Timna excavations took place

One way into the data is through the archeological periods tha were found. This query sites from the late bronze age as well as the iron age. PREFIX wd: <https://timna-database.wikibase.cloud/entity/> PREFIX wdt: <https://timna-database.wikibase.cloud/prop/direct/> PREFIX p: <https://timna-database.wikibase.cloud/prop/> PREFIX ps: <https://timna-database.wikibase.cloud/prop/statement/> PREFIX geo: <http://www.opengis.net/ont/geosparql#>

SELECT DISTINCT ?entity ?entityLabel ?coordinate WHERE {

 ?entity rdfs:label ?entityLabel .
 FILTER (lang(?entityLabel) = "en")
 FILTER (STRSTARTS(?entityLabel, "Site"))
 FILTER (STRSTARTS(STR(?entity), "https://timna-database.wikibase.cloud/entity/Q"))
 ?entity p:P93 ?statement1 .
 ?statement1 ps:P93 wd:Q115 .
 ?entity p:P93 ?statement2 .
 ?statement2 ps:P93 wd:Q114 .
 
 ?entity p:P93 ?statement3 .
 ?statement3 ps:P93 wd:Q120 .
 
 ?entity wdt:P28 ?coordinate .

} LIMIT 100

Try it!

People

This query returns members of the CTV excavations. As such it is a relatively straightforward query.


Try it!