SPARQL queries for the Semantic Web Working Group
✓ Published0🌍 Public
CCliffordAnderson
Last edited Jan 30, 2018
Created on Jan 22, 2018
This example shows three SPARQL queries that explore the Wikidata knowledge graph. One query counts paintings containing cats versus dogs to test a hypothesis about which animal appears more frequently. Another generates an ImageGrid view of Rembrandt’s artworks using the defaultView directive, while a third lists Spanish painters and sample images of their work. The queries use standard SPARQL syntax with property paths (wdt:P135/wdt:P279?), label service calls, and BIND for computed values. Results render directly in Wikidata’s query service interface.
AI-generated description