Project:SPARQL/examples: Difference between revisions

From Addshore Alpha
Jump to navigation Jump to search
m (add comment)
(Add a second query that makes use of an item..)
Line 6: Line 6:
# Select All Triples
# Select All Triples
SELECT * WHERE { ?a ?b ?c }
SELECT * WHERE { ?a ?b ?c }
</sparql>
===Select All Triples relating to Q1===
<sparql tryit="1" list="1">
# Select All Triples relating to Q1
SELECT * WHERE { <http://addshore-alpha.wiki.opencura.com/entity/Q1> ?b ?c }
</sparql>
</sparql>

Revision as of 14:08, 2 February 2020

Examples

Select All Triples

# Select All Triples
SELECT * WHERE { ?a ?b ?c }

Try it!


Select All Triples relating to Q1

The following query uses these:

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

Try it!