relpipe-data/examples/rdf-sample-triples.sparql
author František Kučera <franta-hg@frantovo.cz>
Tue, 11 May 2021 22:26:48 +0200
branchv_0
changeset 326 ab7f333f1225
parent 310 aeda3cb4528d
permissions -rwxr-xr-x
relpipe-tr-cut has new syntax since v0.18: --relation, --attribute
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