query-0928933f77a4e1213e9fdd296f2acbf9
Particular literals in terms
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item ?term ?literal ?lang WHERE {
VALUES ?term { rdfs:label schema:description skos:altLabel }
?item p:P106/ps:P106/wdt:P279* wd:Q26270618; ?term ?literal .
FILTER(CONTAINS(?literal, ' ')) .
BIND(LANG(?literal) AS ?lang) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item"):::projected
v4("?lang"):::projected
v1("?literal"):::projected
v2("?term"):::projected
a1((" "))
a2((" "))
c5(["wd:Q26270618"]):::iri
f0[["contains(?literal,' ')"]]
f0 --> v1
bind1[/VALUES ?term/]
bind1-->v2
bind10(["rdfs:label"])
bind10 --> bind1
bind11(["schema:description"])
bind11 --> bind1
bind12(["skos:altLabel"])
bind12 --> bind1
v3 --"p:P106"--> a1
a1 --"p:statement/P106"--> a2
a2 --"p:direct/P279"--> c5
v3 -->v2--> v1
bind2[/"?literal"/]
v1 --o bind2
bind2 --as--o v4