OurBigBook About$ Donate
 Sign in+ Sign up
by Ciro Santilli (@cirosantilli, 37)

Jena SPARQL hello world

 ... Knowledge graph Resource Description Framework Semantic triple SPARQL SPARQL implementation Apache Jena
 0 By others on same topic  0 Discussions  Updated 2025-05-29  +Created 1970-01-01  See my version
Tags: Hello world
They have a tutorial at: 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 rdf/vcard.ttl Turtle RDF file with the rdf/vcard.rq SPARQL query:
sparql --data=rdf/vcard.ttl --query=rdf/vcard.rq
and that outputs:
---------------------------------
| x                             |
=================================
| <http://somewhere/JohnSmith/> |
---------------------------------
Bibliography:
  • stackoverflow.com/questions/41959550/cli-tool-ala-csvsql-for-sparql-and-ttl-n3-files-hello-world-example-for

 Ancestors (13)

  1. Apache Jena
  2. SPARQL implementation
  3. SPARQL
  4. Semantic triple
  5. Resource Description Framework
  6. Knowledge graph
  7. Ontology
  8. Machine learning
  9. Computer
  10. Information technology
  11. Area of technology
  12. Technology
  13.  Home

 Incoming links (1)

  • SPARQL tutorial

 View article source

 Discussion (0)

+ New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic + Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook