query-7b6cd99d0fee2338b7c53d6ccf3e7691
language queriesAlkanot4ranaĆtoro )Q2669199; ruman-cigana lingvo (Esperanto_list) Q143Esperanto (; Yiddish_list) Q8641jida lingvo (
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#>
SELECT ?item (URI(CONCAT("https://tools.wmflabs.org/reasonator/?q=", ?item_FOO)) AS ?reason) (URI(CONCAT("https://invidio.us/watch?v=", ?videoid)) AS ?video) ?item_EN ?item_EO ?item_DE ?type ?type_EN ?type_EO ?type_DE
WHERE
{
?item wdt:P31 ?type.
?item (wdt:P407|wdt:P103|wdt:P1412)* wd:Q143.
OPTIONAL { ?item wdt:P1651 ?videoid. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en".
?item rdfs:label ?item_EN.
?type rdfs:label ?type_EN.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "eo".
?item rdfs:label ?item_EO.
?type rdfs:label ?type_EO.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "de".
?item rdfs:label ?item_DE.
?type rdfs:label ?type_DE.
}
SERVICE wikibase:label { bd:serviceParam wikibase:language "ff".
?item rdfs:label ?item_FOO.
}
} ORDER BY DESC(?type)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v8("?item_DE"):::projected
v4("?item_EN"):::projected
v6("?item_EO"):::projected
v10("?item_FOO"):::projected
v11("?reason")
v1("?type"):::projected
v9("?type_DE"):::projected
v5("?type_EN"):::projected
v7("?type_EO"):::projected
v12("?video")
v3("?videoid"):::projected
c14(["ff"]):::literal
c13(["de"]):::literal
c10(["en"]):::literal
c12(["eo"]):::literal
c8(["bd:serviceParam"]):::iri
c3(["wd:Q143"]):::iri
v2 --"wdt:P31"--> v1
subgraph union0[" Union "]
subgraph union0l[" "]
style union0l fill:#abf,stroke-dasharray: 3 3;
subgraph union1[" Union "]
subgraph union1l[" "]
style union1l fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P1412"--> c3
end
subgraph union1r[" "]
style union1r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P103"--> c3
end
union1r <== or ==> union1l
end
end
subgraph union0r[" "]
style union0r fill:#abf,stroke-dasharray: 3 3;
v2 --"wdt:P407"--> c3
end
union0r <== or ==> union0l
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P1651".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
v2 --"rdfs:label"--> v4
v1 --"rdfs:label"--> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c12
v2 --"rdfs:label"--> v6
v1 --"rdfs:label"--> v7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c13
v2 --"rdfs:label"--> v8
v1 --"rdfs:label"--> v9
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c14
v2 --"rdfs:label"--> v10
end
bind0[/"concat('https://tools.wmflabs.org/reasonator/?q=',?item_FOO)"/]
v10 --o bind0
bind0 --as--o v11
bind1[/"concat('https://invidio.us/watch?v=',?videoid)"/]
v3 --o bind1
bind1 --as--o v12