query-0f2e305b80100468e7c75b2bed211cce
PropertiesISO 639-1 code (P218)image (P18)
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 ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?lid ?lemma ?lcatLabel ?afbeelding
WHERE {
?lid a ontolex:LexicalEntry
; dct:language ?language
; wikibase:lexicalCategory ?lcat
; wikibase:lemma ?lemma .
?language wdt:P218 'nl' .
FILTER (?lcat = wd:Q1084) # Zelfstandig naamwoord
OPTIONAL { ?lid ontolex:sense ?sense . ?sense wdt:P18 ?afbeelding. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],nl". }
} order by ?lemma
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?afbeelding"):::projected
v4("?language")
v2("?lcat")
v1("?lemma"):::projected
v3("?lid"):::projected
v5("?sense")
c14(["#91;AUTO_LANGUAGE#93;,nl"]):::literal
c3(["ontolex:LexicalEntry"]):::iri
c12(["bd:serviceParam"]):::iri
c8(["nl"]):::literal
f0[["?lcat = 'wd:Q1084'"]]
f0 --> v2
v3 --"a"--> c3
v3 --"dct:language"--> v4
v3 --"wikibase:lexicalCategory"--> v2
v3 --"wikibase:lemma"--> v1
v4 --"wdt:P218"--> c8
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."ontolex:sense".-> v5
v5 --"wdt:P18"--> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end