query-8958d51fe56c1c53f655dc063c0ff3a4
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX mwapi: <http://wikiba.se/ontology#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT * WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam mwapi:generator "search" .
bd:serviceParam wikibase:endpoint "fr.wikipedia.org" .
bd:serviceParam mwapi:gsrsearch "insource:Infobox Biographie2".
bd:serviceParam mwapi:gsrlimit "max" .
bd:serviceParam mwapi:gsrnamespace "0" .
?item wikibase:apiOutputItem mwapi:item .
}
?item wdt:P485 wd:Q2860507.
?link schema:about ?item; schema:isPartOf <https://fr.wikipedia.org/>; schema:name ?title .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?link"):::projected
v3("?title"):::projected
c16(["mwapi:item"]):::iri
c12(["max"]):::literal
c21([https://fr.wikipedia.org/]):::iri
c14(["0"]):::literal
c6(["search"]):::literal
c8(["fr.wikipedia.org"]):::literal
c2(["bd:serviceParam"]):::iri
c10(["insource:Infobox Biographie2"]):::literal
c18(["wd:Q2860507"]):::iri
c4(["Generator"]):::literal
subgraph s1["http://wikiba.se/ontology#mwapi"]
style s1 stroke-width:4px;
c2 --"mwapi:api"--> c4
c2 --"mwapi:generator"--> c6
c2 --"mwapi:endpoint"--> c8
c2 --"mwapi:gsrsearch"--> c10
c2 --"mwapi:gsrlimit"--> c12
c2 --"mwapi:gsrnamespace"--> c14
v1 --"mwapi:apiOutputItem"--> c16
end
v1 --"wdt:P485"--> c18
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c21
v2 --"schema:name"--> v3