query-05e76ae476952c07534920910adced8c
Propertiesinstance of (P31)subclass of (P279)emulates (P4043)
Use at
- https://query.wikidata.org/sparql
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:emu ?software.
?software rdf:type envFuncType:sof.
?software rdfs:label ?softwareLabel.
}
WHERE {
?item (wdt:P31/wdt:P279*) wd:Q7397.
?item wdt:P4043 ?software.
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;
v4("?_const_1c0c10b9_uri")
v8("?_const_1c0c10be_uri")
v7("?_const_8a51f1e6_uri")
v5("?_const_9285ccfc_uri")
v3("?_const_f5e5585a_uri")
v1("?item"):::projected
v6("?itemLabel"):::projected
v2("?software"):::projected
v9("?softwareLabel"):::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:P4043"--> 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/emu"/]
bind4 --as--o v7
bind5[/"https://query.wikidata.org/id.loc.gov/vocabulary/preservation/environmentFunctionType/sof"/]
bind5 --as--o v8
bind6[/"?softwareLabel"/]
v9 --o bind6
bind6 --as--o v9