query-2df94ef87c4e42d10f97b8711b737fb9

rq turtle/ttl

Persone del DBFr

controllo su cognome, data di nascita e data di morte

SELECT DISTINCT ?item ?itemLabel ?cognomeLabel ?itemDescription ?idDBfr WHERE { ?item wdt:P31 wd:Q5; # Any instance of a human wdt:P7203 ?idDBfr; # Who has a DBFr Id.

OPTIONAL {?item wdt:P569 ?ddn}

OPTIONAL {?item wdt:P570 ?ddm}

OPTIONAL {?item wdt:P734 ?cognome }

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }

} ORDER BY ASC(?cognome)

Use at

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#>
#Persone del DBFr
# controllo su cognome, data di nascita e data di morte
SELECT DISTINCT ?item ?itemLabel ?cognomeLabel ?itemDescription ?idDBfr
WHERE {
    ?item wdt:P31 wd:Q5;            # Any instance of a human
          wdt:P7203 ?idDBfr; # Who has a DBFr Id.
#  OPTIONAL {?item wdt:P569 ?ddn}
#  OPTIONAL {?item wdt:P570 ?ddm}
  OPTIONAL {?item wdt:P734 ?cognome }

    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
ORDER BY ASC(?cognome)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?cognome") v3("?idDBfr"):::projected v2("?item"):::projected c6(["bd:serviceParam"]):::iri c2(["wd:Q5"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wdt:P31"--> c2 v2 --"wdt:P7203"--> v3 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P734".-> v1 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end