query-850590de4f5db51e47ba34d6ba60d7c5

rq turtle/ttl

Articoli di Biblioteche oggi pubblicate dopo il 31 maggio 2017, con le parole chiave presenti e assenti SELECT DISTINCT ?articolo ?articoloLabel ?rivistaLabel ?anno ?URL ?parolachiaveLabel WHERE { ?articolo wdt:P31 wd:Q13442814 . ?articolo wdt:P1433 wd:Q3639685 . # Rivista Biblioteche Oggi ?articolo wdt:P577 ?anno . OPTIONAL { ?articolo wdt:P921 ?parolachiave .} FILTER (?anno > "2017-05-31"^^xsd:dateTime ). # Data di pubblicazione successiva all'aprile 2017 . OPTIONAL {?articolo wdt:P2699 ?URL. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?anno

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Articoli di Biblioteche oggi pubblicate dopo il 31 maggio 2017, con le parole chiave presenti e assenti
SELECT DISTINCT ?articolo ?articoloLabel ?rivistaLabel ?anno ?URL ?parolachiaveLabel
WHERE {
  ?articolo wdt:P31 wd:Q13442814 .
  ?articolo wdt:P1433 wd:Q3639685 . # Rivista Biblioteche Oggi
  ?articolo wdt:P577 ?anno .
OPTIONAL {  ?articolo wdt:P921 ?parolachiave .}
  FILTER (?anno > "2017-05-31"^^xsd:date ). #  Data di pubblicazione successiva all'aprile 2017 .
  OPTIONAL {?articolo wdt:P2699 ?URL. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?anno

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?URL"):::projected v1("?anno"):::projected v2("?articolo"):::projected v3("?parolachiave") c3(["wd:Q13442814"]):::iri c10(["bd:serviceParam"]):::iri c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal c5(["wd:Q3639685"]):::iri f0[["?anno > '2017-05-31^^xsd:date'"]] f0 --> v1 v2 --"wdt:P31"--> c3 v2 --"wdt:P1433"--> c5 v2 --"wdt:P577"--> v1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P921".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P2699".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end