query-e6d382b3904540213c257ae2d4a748ba

rq turtle/ttl


Wosobiny w Nowym biografiskim słowniku ze staćanstwom a wopisami

---------------------------------------------------------------------------------------

SELECT ?item ?itemLabel ?itemDescription ?lde ?lhsb ?dde ?dhsb ?stat ?nlde ?nlhsb { hint:Query hint:optimizer "None". ?item wdt:P1343 wd:Q64495391 . # ist beschrieben im Nowy biografiski słownik ?item wdt:P31 wd:Q5 . # ist ein Mensch OPTIONAL { ?item wdt:P1705 ?nlde . FILTER( lang(?nlde) = "de") } OPTIONAL { ?item wdt:P1705 ?nlhsb . FILTER( lang(?nlhsb) = "hsb") } OPTIONAL { ?item rdfs:label ?lde . FILTER( lang(?lde) = "de") } OPTIONAL { ?item rdfs:label ?lhsb . FILTER( lang(?lhsb) = "hsb") } OPTIONAL { ?item schema:description ?dde . FILTER( lang(?dde) = "de") } OPTIONAL { ?item schema:description ?dhsb . FILTER( lang(?dhsb) = "hsb") } OPTIONAL { ?item wdt:P27 ?stat } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#---------------------------------------------------------------------------------------
# Wosobiny w Nowym biografiskim słowniku ze staćanstwom a wopisami
#---------------------------------------------------------------------------------------
SELECT ?item ?itemLabel ?itemDescription  ?lde ?lhsb ?dde ?dhsb ?stat  ?nlde ?nlhsb
{

    ?item wdt:P1343 wd:Q64495391 . # ist beschrieben im Nowy biografiski słownik
    ?item wdt:P31 wd:Q5 .   # ist ein Mensch
    OPTIONAL { ?item wdt:P1705 ?nlde . FILTER( lang(?nlde) = "de") } 
    OPTIONAL { ?item wdt:P1705 ?nlhsb . FILTER( lang(?nlhsb) = "hsb") } 
    OPTIONAL { ?item rdfs:label ?lde . FILTER( lang(?lde) = "de") } 
    OPTIONAL { ?item rdfs:label ?lhsb . FILTER( lang(?lhsb) = "hsb") } 
    OPTIONAL { ?item schema:description ?dde . FILTER( lang(?dde) = "de") } 
    OPTIONAL { ?item schema:description ?dhsb . FILTER( lang(?dhsb) = "hsb") } 
    OPTIONAL { ?item wdt:P27 ?stat }
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?dde"):::projected v1("?dhsb"):::projected v7("?item"):::projected v4("?lde"):::projected v3("?lhsb"):::projected v6("?nlde"):::projected v5("?nlhsb"):::projected v8("?stat"):::projected c12(["bd:serviceParam"]):::iri c6(["wd:Q5"]):::iri c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal c4(["wd:Q64495391"]):::iri v7 --"wdt:P1343"--> c4 v7 --"wdt:P31"--> c6 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v7 -."wdt:P1705".-> v6 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v7 -."wdt:P1705".-> v5 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v7 -."rdfs:label".-> v4 end subgraph optional3["(optional)"] style optional3 fill:#bbf,stroke-dasharray: 5 5; v7 -."rdfs:label".-> v3 end subgraph optional4["(optional)"] style optional4 fill:#bbf,stroke-dasharray: 5 5; v7 -."schema:description".-> v2 end subgraph optional5["(optional)"] style optional5 fill:#bbf,stroke-dasharray: 5 5; v7 -."schema:description".-> v1 end subgraph optional6["(optional)"] style optional6 fill:#bbf,stroke-dasharray: 5 5; v7 -."wdt:P27".-> v8 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end