query-2a3efd7abb74ee5090526e74f36b465b
Lexemes described by this item
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT ?lexemeId ?lemma ?dicoentry ?startpage ?endpage WHERE {
?lexemeId dct:language wd:Q150 ; wikibase:lemma ?lemma ; p:P1343 ?dico.
?dico ps:P1343 wd:Q115682499 ; pq:P304 ?page ; pq:P1932 ?dicoentry.
BIND(xsd:integer(REPLACE(?page, "-[0-9]*", "")) AS ?startpage)
BIND(xsd:integer(REPLACE(?page, "[0-9]*-", "")) AS ?endpage)
}
ORDER BY ASC(?startpage)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?dico")
v6("?dicoentry"):::projected
v7("?endpage"):::projected
v3("?lemma"):::projected
v2("?lexemeId"):::projected
v5("?page")
v7("?startpage"):::projected
c2(["wd:Q150"]):::iri
c6(["wd:Q115682499"]):::iri
v2 --"dct:language"--> c2
v2 --"wikibase:lemma"--> v3
v2 --"p:P1343"--> v4
v4 --"p:statement/P1343"--> c6
v4 --"p:qualifier/P304"--> v5
v4 --"p:qualifier/P1932"--> v6
bind0[/"http://www.w3.org/2001/XMLSchema#integer(replace(?page,'-#91;0-9#93;*',''))"/]
v5 --o bind0
bind0 --as--o v7
bind1[/"http://www.w3.org/2001/XMLSchema#integer(replace(?page,'#91;0-9#93;*-',''))"/]
v5 --o bind1
bind1 --as--o v7