query-c894b4d58e7eee46563fea10d8afa541

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?property ?propertyLabel ?value ?valueLabel ?rank ?reason ?reasonLabel
WHERE 
{

  ?statement pq:P7452 ?reason .
  {?statement wikibase:rank wikibase:NormalRank .}
  UNION
  {?statement wikibase:rank wikibase:DeprecatedRank .}
  ?statement wikibase:rank ?rank .
  ?item ?ppp ?statement .
  ?property wikibase:claim ?ppp .
  ?property wikibase:statementProperty ?vvv .
  ?statement ?vvv ?value .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,it" . }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?item"):::projected v5("?ppp") v6("?property"):::projected v3("?rank"):::projected v2("?reason"):::projected v1("?statement") v8("?value"):::projected v7("?vvv") c8(["bd:serviceParam"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en,it"]):::literal c4(["wikibase:DeprecatedRank"]):::iri c3(["wikibase:NormalRank"]):::iri v1 --"pq:P7452"--> v2 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; v1 --"wikibase:rank"--> c4 end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wikibase:rank"--> c3 end union0r <== or ==> union0l end v1 --"wikibase:rank"--> v3 v4 -->v5--> v1 v6 --"wikibase:claim"--> v5 v6 --"wikibase:statementProperty"--> v7 v1 -->v7--> v8 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end