I have an owl/rdf schema with object properties with range restrictions, and I’m unable to get with the Jena API the effective range class. I would like to get the classes which are defined in the ontology as the range of a property. For example, with the following schema: And I’m doing: I expected to get this result: But I
Tag: rdf
To open file in Java/jena API
Hi I’m currently learning semantic web on java and Jena API. I have an error to open a file which is in the same directory with my class My code : The error : Exception in thread “main” java.lang.IllegalArgumentException: File: vc-db-1.rdf not found NB : The file is in the same directory Answer Already resolved by static final String inputFileName
How do you create a Fuseki SPARQL server using the Apache Jena Java API?
I am trying to create a Fuseki SPARQL server on my machine. The documentation on the Jena website describes how to create such a server from the command-line, here: http://jena.apache.org/documentation/serving_data/. I am looking for a way of creating and initializing such a server just using the Jena Java API. I have looked over the Jena API but have not made