User:Battleofalma/Sample queries: Difference between revisions

From DAAP
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
===Some basic queries===
===Some basic queries===
[https://tinyurl.com/y984ka67 Link to query for all works with creators]
*[https://tinyurl.com/y984ka67 Link to query for all works with creators]
 
*[https://tinyurl.com/y7l7khm2 Graph of things by Andy Warhol, collaborations, not necessarily labelled as works]
 
*[https://tinyurl.com/yd4ssa94 Works with more than one creator and the number of creators/contributors]
{{SPARQL|query=
*[https://tinyurl.com/y5odfhff Works between specific dates]
 
*[https://tinyurl.com/y3rfgy28 works with creators]
select ?item ?itemLabel ?creator ?creatorLabel
*[https://tinyurl.com/y8cqcpkf works with material]
 
where { ?item wdt:P1 wd:Q1
             
        Optional { ?item wdt:P9 ?creator }
       
      SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }}
 
}}

Latest revision as of 17:44, 22 February 2022