query-86206c5c7d37b95644b7bc409bdb414e

rq turtle/ttl

) query (Famiglia e soci delle tipografe italiane) query (Conteggio familiari e soci delle tipografe italiane) query (Società di donne tipografe con Edit16 id ma senza SBN id) query (Numero di dichiarazioni e identificativi per le tipografe italiane

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#>
#title:La rete delle tipografe
#defaultView:Graph
select ?tipografa ?linkedPerson ?linkedPersonLabel ?rgb ?type ?tipografaLabel (?type as ?edgeLabel) {
# ?tipografa wdt:P937 wd:Q641. #filtro per città
  ?tipografa wdt:P5008 wd:Q109646556;
{ ?tipografa wdt:P1327 ?linkedPerson .  bind("in coppia con" as ?type)  } union 
{ ?tipografa wdt:P361 ?linkedPerson .  bind("parte di" as ?type)  BIND("FF0000" as ?rgb)} union 
{ ?tipografa wdt:P802 ?linkedPerson .  bind("studente" as ?type) } union 
{ ?tipografa wdt:P1066 ?linkedPerson .  bind("insegnante" as ?type) } union 
{ ?tipografa wdt:P22 ?linkedPerson .  bind("padre" as ?type) } union 
{ ?tipografa wdt:P23 ?linkedPerson .  bind("madre" as ?type)  } union 
{ ?tipografa wdt:P40 ?linkedPerson .  bind("figlio/a" as ?type) } union 
{ ?tipografa wdt:P26 ?linkedPerson .  bind("coniuge" as ?type) }
# ?tipografa wdt:P2032 wdt:P570 ?datafine .
# FILTER ("1550-01-01"^^xsd:date > ?datafine) #filtro per fine attività
# FILTER ((xsd:integer(SUBSTR(STR(?tipografa),33))) <= 118247615) . 
# 2013: 11935406 - 2019: 63651923 - 2020: 99191708 - 2021: 109943530
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en" . }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?edgeLabel") v2("?linkedPerson"):::projected v4("?rgb"):::projected v1("?tipografa"):::projected v5("?type"):::projected c12(["bd:serviceParam"]):::iri c14(["it,en"]):::literal c2(["wd:Q109646556"]):::iri v1 --"wdt:P5008"--> c2 subgraph union0[" Union "] subgraph union0l[" "] style union0l fill:#abf,stroke-dasharray: 3 3; subgraph union1[" Union "] subgraph union1l[" "] style union1l fill:#abf,stroke-dasharray: 3 3; subgraph union2[" Union "] subgraph union2l[" "] style union2l fill:#abf,stroke-dasharray: 3 3; subgraph union3[" Union "] subgraph union3l[" "] style union3l fill:#abf,stroke-dasharray: 3 3; subgraph union4[" Union "] subgraph union4l[" "] style union4l fill:#abf,stroke-dasharray: 3 3; subgraph union5[" Union "] subgraph union5l[" "] style union5l fill:#abf,stroke-dasharray: 3 3; subgraph union6[" Union "] subgraph union6l[" "] style union6l fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P26"--> v2 bind0[/"'coniuge'"/] bind0 --as--o v5 end subgraph union6r[" "] style union6r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P40"--> v2 bind1[/"'figlio/a'"/] bind1 --as--o v5 end union6r <== or ==> union6l end end subgraph union5r[" "] style union5r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P23"--> v2 bind2[/"'madre'"/] bind2 --as--o v5 end union5r <== or ==> union5l end end subgraph union4r[" "] style union4r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P22"--> v2 bind3[/"'padre'"/] bind3 --as--o v5 end union4r <== or ==> union4l end end subgraph union3r[" "] style union3r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P1066"--> v2 bind4[/"'insegnante'"/] bind4 --as--o v5 end union3r <== or ==> union3l end end subgraph union2r[" "] style union2r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P802"--> v2 bind5[/"'studente'"/] bind5 --as--o v5 end union2r <== or ==> union2l end end subgraph union1r[" "] style union1r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P361"--> v2 bind6[/"'parte di'"/] bind6 --as--o v5 bind7[/"'FF0000'"/] bind7 --as--o v4 end union1r <== or ==> union1l end end subgraph union0r[" "] style union0r fill:#abf,stroke-dasharray: 3 3; v1 --"wdt:P1327"--> v2 bind8[/"'in coppia con'"/] bind8 --as--o v5 end union0r <== or ==> union0l end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c12 --"wikibase:language"--> c14 end bind9[/"?type"/] v5 --o bind9 bind9 --as--o v5