relpipe-data/examples/rdf-sample-triples.sparql
author František Kučera <franta-hg@frantovo.cz>
Tue, 04 Aug 2020 00:58:46 +0200
branchv_0
changeset 312 0a65e49a076f
parent 310 aeda3cb4528d
permissions -rwxr-xr-x
examples: Querying an RDF triplestore using SPARQL: @id for the turtle part
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
310
aeda3cb4528d examples: Querying an RDF triplestore using SPARQL
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     1
#!/usr/bin/env rdf-sparql-interpreter.sh
aeda3cb4528d examples: Querying an RDF triplestore using SPARQL
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     2
# endpoint: https://query.wikidata.org/sparql
aeda3cb4528d examples: Querying an RDF triplestore using SPARQL
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     3
# relation: few_statements
aeda3cb4528d examples: Querying an RDF triplestore using SPARQL
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     4
aeda3cb4528d examples: Querying an RDF triplestore using SPARQL
František Kučera <franta-hg@frantovo.cz>
parents:
diff changeset
     5
SELECT * WHERE { ?subject ?predicate ?object } LIMIT 3