query-65b49f36bb9502136d7330287f0a2a6a
רק כאלה שיש להם ערך בוויקי העברית
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel_he ?sitelink ?article ?maya ?shovi ?hp WHERE {
SERVICE bd:slice {
?item wdt:P10817 ?maya .
bd:serviceParam bd:slice.offset 0 . # Start at item number (not to be confused with QID)
bd:serviceParam bd:slice.limit 5000 . # List this many items
}
?article schema:about ?item ;
schema:isPartOf <https://he.wikipedia.org/> ;
schema:name ?sitelink .
OPTIONAL { ?item rdfs:label ?itemLabel_he . filter(lang(?itemLabel_he)="he") }
OPTIONAL {?item wdt:P2226 ?shovi}
OPTIONAL {?item wdt:P10889 ?hp}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?article"):::projected
v7("?hp"):::projected
v2("?item"):::projected
v1("?itemLabel_he"):::projected
v3("?maya"):::projected
v6("?shovi"):::projected
v5("?sitelink"):::projected
c8(["5000^^xsd:integer"]):::literal
c11([https://he.wikipedia.org/]):::iri
c6(["0^^xsd:integer"]):::literal
c4(["bd:serviceParam"]):::iri
subgraph s1["http://www.bigdata.com/rdf#slice"]
style s1 stroke-width:4px;
v2 --"wdt:P10817"--> v3
c4 --"bd:slice.offset"--> c6
c4 --"bd:slice.limit"--> c8
end
v4 --"schema:about"--> v2
v4 --"schema:isPartOf"--> c11
v4 --"schema:name"--> v5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."rdfs:label".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P2226".-> v6
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P10889".-> v7
end