All Projects → gigasquid → Jruby_semantic_web_examples

gigasquid / Jruby_semantic_web_examples

Examples for Accessing Jena API through JRuby

Programming Languages

ruby
36898 projects - #4 most used programming language

JRuby - Jena Semantic Web Examples

These are some examples in JRuby following along the examples given in the in Jena API Docs.

  • example_1.rb: Tutorial 1 - Creating a Simple Model
  • example_2.rb: Tutorial 2 - Resources as property values
  • example_3.rb: Tutorial 3 - Statement attribute accessor methods
  • example_4.rb: Tutorial 4 - Create a model and write it in XML form to standard out
  • example_5.rb: Tutorial 5 - Read RDF XML from a file and write it to standard out
  • example_6.rb: Tutorial 6 - Navigating a model
  • example_7.rb: Tutorial 7 - Selecting the VCARD resources
  • example_8.rb: Tutorial 8 - Demonstrate Selector methods
  • example_9.rb: Tutorial 9 - Demonstrate graph operations
  • example_10.rb: Tutorial 10 - Demonstrate a container
  • example_11.rb: Tutorial 11 - More on literals

Also examples of querying DBPedia

  • query_dbpedia_example.rb : German Musicians with a birth place of Berlin
  • query_dbpedia_geo_example.rb: Places nearby the White House
  • query_dbpedia_example2.rb: Musical Artist Sopranos with the hometown as the US

Running

Run the examples with jruby

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].