Re: A Model's URI

2013-02-06 Thread ashish nijhara
You may have a look at ModelMaker interface. A handle to a default model maker you can get by ModelFactory.createDefaultModelMaker (something like this). Model Maker interface has a way to give names to Models. ;) Names are of course not same as IRI but can be used anyways. Thanks, Ashish On Thu,

Is Jena / RDF / OWL the right fit?

2013-02-06 Thread Tripp, Travis S
Hello all, I am on a project where we are investigating a new OASIS spec called TOSCA. I am looking for advice on whether or not it would make sense to leverage RDF / OWL and that we can then use Jena to store the whole ontology and use it for querying and performing searches against. It has

Re: ResourceFactory.createPlainLiteral(String, String)

2013-02-06 Thread Stephen Allen
Hi Martynas, This was just noticed and added back in December and is available in 2.10.0-SNAPSHOT. See this thread for more info [1]. -Stephen [1] http://markmail.org/message/w4q5old5makjd2pi On Wed, Feb 6, 2013 at 5:26 PM, Martynas Jusevičius wrote: > Hey, > > seems to me that a method to c

Re: models and graphs

2013-02-06 Thread Dave Reynolds
On 06/02/13 20:34, David Jordan wrote: Since we are on the topic of models and graphs, I have some questions about this. Reading in the docs online last night, I read that a Model is a graph, but not the class Graph. I was trying to understand the distinction between these and the cardinality

ResourceFactory.createPlainLiteral(String, String)

2013-02-06 Thread Martynas Jusevičius
Hey, seems to me that a method to create an untyped Literal with language tag is missing from ResourceFactory? I mean this form: http://jena.apache.org/documentation/javadoc/jena/com/hp/hpl/jena/rdf/model/Model.html#createLiteral(java.lang.String, java.lang.String) Martynas graphity.org

models and graphs

2013-02-06 Thread David Jordan
Since we are on the topic of models and graphs, I have some questions about this. Reading in the docs online last night, I read that a Model is a graph, but not the class Graph. I was trying to understand the distinction between these and the cardinality and containment of the following items: M

Re: A Model's URI

2013-02-06 Thread Martynas Jusevičius
Mark, ontologies usually have URIs, but Models don't (named graphs come close, but that's in triplestores). As Model is just a set of statements, there might be multiple ontologies in one Model. You can list ontologies in OntModel: http://jena.apache.org/documentation/javadoc/jena/com/hp/hpl/jena/o

Re: A Model's URI

2013-02-06 Thread Mark Fischer
For the moment, I'm creating Ontologies using Protege and then doing some analysis using Jena. Protege gives an ontology an IRI, so I thought I may label my results that way. If you're right though, and an OWL ontology need not have an IRI, then I'll just label them some other way. Not a big deal.

Re: A Model's URI

2013-02-06 Thread Joshua TAYLOR
On Wed, Feb 6, 2013 at 12:33 PM, Mark Fischer wrote: > I can't figure out how to get a Model's URI. Right now I've been assuming > that model.getNsPrefixURI(""); will return a model's baseURI. This is, by > no means, necessarily the case (works for now). > > There must be something simple I'm miss

Re: Reasoner Question

2013-02-06 Thread Jean-Marc Vanel
There is a comprehensive page in Jena site: http://jena.apache.org/documentation/inference/index.html#rules There is also a different dialect for rules for Semantic Web, N3 (Notation 3): http://eulergui.svn.sourceforge.net/viewvc/eulergui/trunk/eulergui/html/documentation.html#Logic Also, Drools

Re: Feed SDBStore with triples retrieved from a remote SPARQL endpoint

2013-02-06 Thread Paul Taylor
Hello again and thank you both for your replies. At the moment I do not know which approach works best I need to modify my code and run more tests. I will let you know.   - Original Message - From: Stephen Allen To: users@jena.apache.org Cc: Sent: Tuesday, 5 February 2013, 20:18 Subjec

Reasoner Question

2013-02-06 Thread Stefan Scheffler
Hello, Maybe this question is a little off-topic... But this is a group where many good sementic-web developpers are in. Does someone knows a good tutorial/introduction about reasoning? I would like to learn a little bit about this. Kind regards Stefan Scheffler -- Stefan Scheffler Avantgard