Project:SPARQL/examples: Difference between revisions

From Addshore Alpha
Jump to navigation Jump to search
(Add a second query that makes use of an item..)
No edit summary
 
Line 4: Line 4:


<sparql tryit="1">
<sparql tryit="1">
# Select All Triples
SELECT * WHERE { ?a ?b ?c }
SELECT * WHERE { ?a ?b ?c }
</sparql>
</sparql>
Line 11: Line 10:


<sparql tryit="1" list="1">
<sparql tryit="1" list="1">
# Select All Triples relating to Q1
SELECT * WHERE { <http://addshore-alpha.wiki.opencura.com/entity/Q1> ?b ?c }
SELECT * WHERE { <http://addshore-alpha.wiki.opencura.com/entity/Q1> ?b ?c }
</sparql>
</sparql>

Latest revision as of 20:26, 18 April 2020

Examples

Select All Triples

SELECT * WHERE { ?a ?b ?c }

Try it!


Select All Triples relating to Q1

The following query uses these:

SELECT * WHERE { <http://addshore-alpha.wiki.opencura.com/entity/Q1> ?b ?c }

Try it!