Source: cirosantilli/jena-sparql-hello-world

= Jena SPARQL hello world
{tag=Hello world}

They have a tutorial at: https://jena.apache.org/tutorials/sparql.html

Once you've done the <Apache Jena CLI tools setup> we can query all users with Full Name (FN) "John Smith" directly fom the \a[rdf/vcard.ttl] <Turtle RDF> file with the \a[rdf/vcard.rq] <SPARQL> query:
``
sparql --data=rdf/vcard.ttl --query=rdf/vcard.rq
``
and that outputs:
``
---------------------------------
| x                             |
=================================
| <http://somewhere/JohnSmith/> |
---------------------------------
``

Bibliography:
* https://stackoverflow.com/questions/41959550/cli-tool-ala-csvsql-for-sparql-and-ttl-n3-files-hello-world-example-for