query-58ec5f707b781c90f0c7562a45ae6f4b

rq turtle/ttl

Query to find all Renaissance Artists born in Italy 20:13, 15 September 2024 (UTC) 93.151.230.93Hi, I am totally new to Wikidata and SPARQL. I am studying but an example to start with would be awesome! Can I get all the names of Artists from the Renaissance movement that were born in Italy? Is that sufficnet information to create a query? Thank you!

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#>
#-----------------------------------------------------------------------
# Artists of Renaissance born in Italy
#-----------------------------------------------------------------------
#defaultView:table
select ?item ?itemLabel ?occupationLabel ?image
where {
  ?item wdt:P31 wd:Q5.                          # is human
  ?movement wdt:P361 wd:Q4692.                  # part of Renaissance
  ?item wdt:P135 ?movement.                     # movement is part of Renaissance
  # optional {?item wdt:P106 ?occupation. }       # occupation of this person
  ?item wdt:P19 ?place_of_birth.                # place of birth
  ?place_of_birth wdt:P17 wd:Q38.               # place of birth in Italy
  OPTIONAL { ?item wdt:P18 ?image. }            # image
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
limit 200

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?image"):::projected v1("?item"):::projected v2("?movement") v3("?place_of_birth") c8(["wd:Q38"]):::iri c11(["bd:serviceParam"]):::iri c4(["wd:Q4692"]):::iri c13(["#91;AUTO_LANGUAGE#93;"]):::literal c2(["wd:Q5"]):::iri v1 --"wdt:P31"--> c2 v2 --"wdt:P361"--> c4 v1 --"wdt:P135"--> v2 v1 --"wdt:P19"--> v3 v3 --"wdt:P17"--> c8 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c11 --"wikibase:language"--> c13 end