query-308e25a9c17f06dda91bff840c8f7071

rq turtle/ttl

?statement_node rdf:type wikibase:Statementmw:Wikibase/Indexing/RDF_Dump_Format#WDQS_data_differences

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wds: <http://www.wikidata.org/entity/statement/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT * WHERE {
  ?s ?p [ wdt:P31 wd:Q58425000 ] .
  FILTER( SUBSTR(STR(?s), 1, STRLEN(STR(wds:))) != STR(wds:) ) .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?p"):::projected v1("?s"):::projected a1((" ")) c4(["wd:Q58425000"]):::iri f0[["substring(str(?s),'1^^xsd:integer',string-length(str('wd:statement/'))) != str('wd:statement/')"]] f0 --> v1 a1 --"wdt:P31"--> c4 v1 -->v2--> a1