query-ada5554a809ad239d20cba45aacfefc6

rq turtle/ttl

Propertiesinstance of (P31)subclass of (P279)operating system (P306)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX relSubType: <http://id.loc.gov/vocabulary/preservation/relationshipSubType/>
PREFIX envFuncType: <id.loc.gov/vocabulary/preservation/environmentFunctionType/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

CONSTRUCT {
  ?item rdf:type envFuncType:soa.
  ?item rdfs:label ?itemLabel.
  ?item relSubType:req ?operatingSystem.
  ?operatingSystem rdf:type envFuncType:ops.
  ?operatingSystem rdfs:label ?operatingSystemLabel.
}
WHERE {
  ?item (wdt:P31/wdt:P279*) wd:Q7397.
  ?item wdt:P306 ?operatingSystem.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v8("?_const_1c0c01e6_uri") v4("?_const_1c0c10b9_uri") v7("?_const_8a5221b7_uri") v5("?_const_9285ccfc_uri") v3("?_const_f5e5585a_uri") v1("?item"):::projected v6("?itemLabel"):::projected v2("?operatingSystem"):::projected v9("?operatingSystemLabel"):::projected a1((" ")):::projected c3(["wd:Q7397"]):::iri c6(["bd:serviceParam"]):::iri c8(["en,en"]):::literal v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P306"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind0[/""a""/] bind0 --as--o v3 bind1[/"https://query.wikidata.org/id.loc.gov/vocabulary/preservation/environmentFunctionType/soa"/] bind1 --as--o v4 bind2[/"'rdfs:label'"/] bind2 --as--o v5 bind3[/"?itemLabel"/] v6 --o bind3 bind3 --as--o v6 bind4[/"http://id.loc.gov/vocabulary/preservation/relationshipSubType/req"/] bind4 --as--o v7 bind5[/"https://query.wikidata.org/id.loc.gov/vocabulary/preservation/environmentFunctionType/ops"/] bind5 --as--o v8 bind6[/"?operatingSystemLabel"/] v9 --o bind6 bind6 --as--o v9