query-9e3ac96a945d46f47c35e2ecedcb877c

rq turtle/ttl

All statements with item as a value

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q263367>

SELECT ?item ?itemLabel ?property ?propertyLabel 
WHERE {
  {
    SELECT ?item ?property {

      ?property wikibase:claim ?p ;
        wikibase:statementProperty ?ps .
      ?st ?ps target:.
      ?item ?p ?st .
    }
    LIMIT 1000
  }
  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; v5("?item"):::projected v2("?p") v1("?property"):::projected v3("?ps") v4("?st") c5(["bd:serviceParam"]):::iri c3([http://www.wikidata.org/entity/Q263367]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wikibase:claim"--> v2 v1 --"wikibase:statementProperty"--> v3 v4 -->v3--> c3 v5 -->v2--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end