<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikibase.ronzz.org/index.php?action=history&amp;feed=atom&amp;title=SPARQL_examples</id>
	<title>SPARQL examples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikibase.ronzz.org/index.php?action=history&amp;feed=atom&amp;title=SPARQL_examples"/>
	<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=SPARQL_examples&amp;action=history"/>
	<updated>2026-11-23T22:26:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wikibase.ronzz.org/index.php?title=SPARQL_examples&amp;diff=10593&amp;oldid=prev</id>
		<title>SeedBot: Keep the SPARQL acronym capitalised in Copy internal mention (Category:Proper name) (via update-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=SPARQL_examples&amp;diff=10593&amp;oldid=prev"/>
		<updated>2026-10-19T11:54:05Z</updated>

		<summary type="html">&lt;p&gt;Keep the SPARQL acronym capitalised in Copy internal mention (Category:Proper name) (via update-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:54, 19 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l98&quot;&gt;Line 98:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 98:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;} GROUP BY ?class ?classLabel ORDER BY DESC(?count) LIMIT 20&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;} GROUP BY ?class ?classLabel ORDER BY DESC(?count) LIMIT 20&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Proper name]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SeedBot</name></author>
	</entry>
	<entry>
		<id>https://wikibase.ronzz.org/index.php?title=SPARQL_examples&amp;diff=10402&amp;oldid=prev</id>
		<title>SeedBot: Rename Cheatsheets namespace to Cheatsheet</title>
		<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=SPARQL_examples&amp;diff=10402&amp;oldid=prev"/>
		<updated>2026-10-18T12:46:06Z</updated>

		<summary type="html">&lt;p&gt;Rename Cheatsheets namespace to Cheatsheet&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:46, 18 October 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page feeds the &#039;&#039;&#039;Examples&#039;&#039;&#039; dialog of the [https://query.ronzz.org RonzzWiki Query Service]. Each example is a self-contained SPARQL query against the RonzzWiki data (prefixes must be declared — see [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Cheatsheets&lt;/del&gt;:SPARQL]]).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This page feeds the &#039;&#039;&#039;Examples&#039;&#039;&#039; dialog of the [https://query.ronzz.org RonzzWiki Query Service]. Each example is a self-contained SPARQL query against the RonzzWiki data (prefixes must be declared — see [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Cheatsheet&lt;/ins&gt;:SPARQL]]).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== People ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== People ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>SeedBot</name></author>
	</entry>
	<entry>
		<id>https://wikibase.ronzz.org/index.php?title=SPARQL_examples&amp;diff=6401&amp;oldid=prev</id>
		<title>SeedBot: Query examples for the query.ronzz.org GUI (public, anonymous-readable — the GUI fetches this page via action=parse) (via create-page on MediaWiki MCP Server)</title>
		<link rel="alternate" type="text/html" href="https://wikibase.ronzz.org/index.php?title=SPARQL_examples&amp;diff=6401&amp;oldid=prev"/>
		<updated>2026-09-01T08:18:28Z</updated>

		<summary type="html">&lt;p&gt;Query examples for the query.ronzz.org GUI (public, anonymous-readable — the GUI fetches this page via action=parse) (via create-page on MediaWiki MCP Server)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This page feeds the &amp;#039;&amp;#039;&amp;#039;Examples&amp;#039;&amp;#039;&amp;#039; dialog of the [https://query.ronzz.org RonzzWiki Query Service]. Each example is a self-contained SPARQL query against the RonzzWiki data (prefixes must be declared — see [[Cheatsheets:SPARQL]]).&lt;br /&gt;
&lt;br /&gt;
== People ==&lt;br /&gt;
&lt;br /&gt;
=== All people ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;&lt;br /&gt;
PREFIX wd: &amp;lt;https://wikibase.ronzz.org/entity/&amp;gt;&lt;br /&gt;
PREFIX wdt: &amp;lt;https://wikibase.ronzz.org/prop/direct/&amp;gt;&lt;br /&gt;
PREFIX wikibase: &amp;lt;http://wikiba.se/ontology#&amp;gt;&lt;br /&gt;
PREFIX bd: &amp;lt;http://www.bigdata.com/rdf#&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ?person ?personLabel WHERE {&lt;br /&gt;
  ?person wdt:P1 wd:Q6 .&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;en&amp;quot; }&lt;br /&gt;
} LIMIT 50&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Books and sources ==&lt;br /&gt;
&lt;br /&gt;
=== Books with their authors ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;&lt;br /&gt;
PREFIX wd: &amp;lt;https://wikibase.ronzz.org/entity/&amp;gt;&lt;br /&gt;
PREFIX wdt: &amp;lt;https://wikibase.ronzz.org/prop/direct/&amp;gt;&lt;br /&gt;
PREFIX wikibase: &amp;lt;http://wikiba.se/ontology#&amp;gt;&lt;br /&gt;
PREFIX bd: &amp;lt;http://www.bigdata.com/rdf#&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ?book ?bookLabel ?authorLabel WHERE {&lt;br /&gt;
  ?book wdt:P1 wd:Q9 ;&lt;br /&gt;
        wdt:P6 ?author .&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;en&amp;quot; }&lt;br /&gt;
} LIMIT 50&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Books with their publisher ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;&lt;br /&gt;
PREFIX wd: &amp;lt;https://wikibase.ronzz.org/entity/&amp;gt;&lt;br /&gt;
PREFIX wdt: &amp;lt;https://wikibase.ronzz.org/prop/direct/&amp;gt;&lt;br /&gt;
PREFIX wikibase: &amp;lt;http://wikiba.se/ontology#&amp;gt;&lt;br /&gt;
PREFIX bd: &amp;lt;http://www.bigdata.com/rdf#&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ?book ?bookLabel ?publisherLabel WHERE {&lt;br /&gt;
  ?book wdt:P1 wd:Q9 ;&lt;br /&gt;
        wdt:P54 ?publisher .&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;en&amp;quot; }&lt;br /&gt;
} LIMIT 50&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Books published after 2000 ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;&lt;br /&gt;
PREFIX wd: &amp;lt;https://wikibase.ronzz.org/entity/&amp;gt;&lt;br /&gt;
PREFIX wdt: &amp;lt;https://wikibase.ronzz.org/prop/direct/&amp;gt;&lt;br /&gt;
PREFIX wikibase: &amp;lt;http://wikiba.se/ontology#&amp;gt;&lt;br /&gt;
PREFIX bd: &amp;lt;http://www.bigdata.com/rdf#&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ?book ?bookLabel ?date WHERE {&lt;br /&gt;
  ?book wdt:P1 wd:Q9 ;&lt;br /&gt;
        wdt:P8 ?date .&lt;br /&gt;
  FILTER(YEAR(?date) &amp;gt;= 2000)&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;en&amp;quot; }&lt;br /&gt;
} ORDER BY DESC(?date) LIMIT 50&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Software ==&lt;br /&gt;
&lt;br /&gt;
=== Free and open-source software with developers and licenses ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;&lt;br /&gt;
PREFIX wd: &amp;lt;https://wikibase.ronzz.org/entity/&amp;gt;&lt;br /&gt;
PREFIX wdt: &amp;lt;https://wikibase.ronzz.org/prop/direct/&amp;gt;&lt;br /&gt;
PREFIX wikibase: &amp;lt;http://wikiba.se/ontology#&amp;gt;&lt;br /&gt;
PREFIX bd: &amp;lt;http://www.bigdata.com/rdf#&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ?software ?softwareLabel ?developerLabel ?licenseLabel WHERE {&lt;br /&gt;
  ?software wdt:P1 wd:Q179 .&lt;br /&gt;
  OPTIONAL { ?software wdt:P33 ?developer . }&lt;br /&gt;
  OPTIONAL { ?software wdt:P34 ?license . }&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;en&amp;quot; }&lt;br /&gt;
} LIMIT 50&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
&lt;br /&gt;
=== How many items per class ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sparql&amp;quot;&amp;gt;&lt;br /&gt;
PREFIX wd: &amp;lt;https://wikibase.ronzz.org/entity/&amp;gt;&lt;br /&gt;
PREFIX wdt: &amp;lt;https://wikibase.ronzz.org/prop/direct/&amp;gt;&lt;br /&gt;
PREFIX wikibase: &amp;lt;http://wikiba.se/ontology#&amp;gt;&lt;br /&gt;
PREFIX bd: &amp;lt;http://www.bigdata.com/rdf#&amp;gt;&lt;br /&gt;
&lt;br /&gt;
SELECT ?class ?classLabel (COUNT(?item) AS ?count) WHERE {&lt;br /&gt;
  ?item wdt:P1 ?class .&lt;br /&gt;
  SERVICE wikibase:label { bd:serviceParam wikibase:language &amp;quot;en&amp;quot; }&lt;br /&gt;
} GROUP BY ?class ?classLabel ORDER BY DESC(?count) LIMIT 20&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>SeedBot</name></author>
	</entry>
</feed>