Project:SPARQL/examples: Difference between revisions

m
Update query and URLs
(+description (and warning); add order by for first example)
m (Update query and URLs)
Line 4: Line 4:
===Convention series with data and logo URL===
===Convention series with data and logo URL===
<SPARQL>
<SPARQL>
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
PREFIX wfd: <https://furry.wikibase.cloud/entity/>
PREFIX wfdt: <http://furry.wiki.opencura.com/prop/direct/>
PREFIX wfdt: <https://furry.wikibase.cloud/prop/direct/>


SELECT ?itemLabel ?creationDate (CONCAT("https://en.wikifur.com/w/images/", substr(?logoMD5, 1, 1), "/", substr(?logoMD5, 1, 2), "/", ?logoFileName) AS ?logoURL)
SELECT ?itemLabel ?creationDate (CONCAT("https://en.wikifur.com/w/images/", substr(?logoMD5, 1, 1), "/", substr(?logoMD5, 1, 2), "/", ?logoFileName) AS ?logoURL)
Line 23: Line 23:
===Convention instances, including postponements===
===Convention instances, including postponements===
<SPARQL>
<SPARQL>
PREFIX wfd: <http://furry.wiki.opencura.com/entity/>
PREFIX wfd: <https://furry.wikibase.cloud/entity/>
PREFIX wfdt: <http://furry.wiki.opencura.com/prop/direct/>
PREFIX wfdt: <https://furry.wikibase.cloud/prop/direct/>
PREFIX wfp: <http://furry.wiki.opencura.com/prop/>
PREFIX wfp: <https://furry.wikibase.cloud/prop/>
PREFIX wfps: <http://furry.wiki.opencura.com/prop/statement/>
PREFIX wfps: <https://furry.wikibase.cloud/prop/statement/>
PREFIX wfpq: <http://furry.wiki.opencura.com/prop/qualifier/>
PREFIX wfpq: <https://furry.wikibase.cloud/prop/qualifier/>
SELECT ?eventInstanceLabel ?eventStart ?eventEnd ?eventRank ?eventSeriesLabel  
SELECT ?eventInstanceLabel ?eventStart ?eventEnd ?eventRank ?eventSeriesLabel  
WHERE  
WHERE  
Bureaucrats, emailconfirmed, Administrators
282

edits