query-89ca32eb89a6e4ddfebdfb1c9c53183a

rq turtle/ttl

MWAPI insourceHello, , I try to write this query : bistrot in FrenchAfter a short discussion on on his Wikipedia in French. Infobox Biographie2 and who use the (Q2860507)Departmental archives of Yvelines (P485)archives at Find all the wikidata items with . this queryI have be inspired by could you help me to finalise this query?

Use at

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 {
  ?item wdt:P485 wd:Q2860507.
  ?link schema:about ?category; schema:isPartOf <https://fr.wikipedia.org/>; schema:name ?title .
  SERVICE wikibase:mwapi {
     bd:serviceParam wikibase:api "Generator" .
     bd:serviceParam wikibase:endpoint "fr.wikipedia.org" .
     bd:serviceParam insource: [[:Template:Infobox Biographie2]]
    # out
    ?subcat wikibase:apiOutput mwapi:title  .
    ?ns wikibase:apiOutput "@ns" .
    ?item wikibase:apiOutputItem mwapi:item .
  }
}

Query found at