query-16e627e1d732cac2426838e9d41505f9

rq turtle/ttl

Roman provinces as P27 sarcanon User:Luca.favorido User:Jonathan Groß Liber008 Ahc84 Darellur JASHough Tolanor Mathieu Kappler StarTrekker Alexmar983 Jahl de Vautban llywrch Epìdosis Jura participants of WikiProject Ancient Rome Notified (in French)). Could someone 1) confirms me that I am not going crazy over the fact that they shouldn't be used at all as P27 ; 2) check the following query and change values as needed ? here ((P27)country of citizenship Hi all. I found myself quarelling with another contributor on the use of Roman provinces as

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
 ?item wdt:P27 ?country .
 ?country wdt:P31 wd:Q182547 .
 SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?country") v1("?item"):::projected c5(["bd:serviceParam"]):::iri c3(["wd:Q182547"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P27"--> v2 v2 --"wdt:P31"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end