query-76cc51659b29643e24ace34ff5b871e0

rq turtle/ttl

TODO

Use at

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 ?item ?itemLabel ?badgeLabel ?genreLabel ?créateurLabel ?mouvementLabel ?date ?article ?sitelink ?image WHERE {
  ?item wdt:P31 wd:Q3305213.
  ?article schema:about ?item ;
  schema:isPartOf <https://ru.wikipedia.org/> ; 
  schema:name ?sitelink .
  FILTER NOT EXISTS  {
    ?sitelink2 schema:isPartOf <https://fr.wikipedia.org/>;
     schema:about ?item. }   
  OPTIONAL {?sitelink wikibase:badge ?badge . } # Featured Article 
  ?item wdt:P18 ?image . 
  OPTIONAL {?item wdt:P136 ?genre .}
  OPTIONAL {?item wdt:P170 ?créateur .}
  OPTIONAL {?item wdt:P571 ?date .}
  OPTIONAL {?item wdt:P135 ?mouvement .}  
    SERVICE wikibase:label { bd:serviceParam wikibase:language "ru,[AUTO_LANGUAGE]" } .
} ORDER BY ?itemLabel ?date

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?article"):::projected v7("?badge") v10("?créateur") v2("?date"):::projected v9("?genre") v8("?image"):::projected v4("?item"):::projected v1("?itemLabel"):::projected v11("?mouvement") v6("?sitelink"):::projected v3("?sitelink2") c2([https://fr.wikipedia.org/]):::iri c5(["wd:Q3305213"]):::iri c15(["bd:serviceParam"]):::iri c6([https://ru.wikipedia.org/]):::iri c17(["ru,#91;AUTO_LANGUAGE#93;"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:isPartOf"--> e0c2 e0v1 --"schema:about"--> e0v2 e0v2("?item"):::projected e0v1("?sitelink2"):::projected e0c2([https://fr.wikipedia.org/]):::iri end f0--EXISTS--> f0e0 f0 --> v3 f0 --> c1 f0 --> c2 f0 --> c3 f0 --> v4 v3 --"schema:isPartOf"--> c2 v3 --"schema:about"--> v4 v4 --"wdt:P31"--> c5 v5 --"schema:about"--> v4 v5 --"schema:isPartOf"--> c6 v5 --"schema:name"--> v6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v6 -."wikibase:badge".-> v7 end v4 --"wdt:P18"--> v8 subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P136".-> v9 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P170".-> v10 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P571".-> v2 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v4 -."wdt:P135".-> v11 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c15 --"wikibase:language"--> c17 end