... One way would be to load the foaf ontology into a separate model and consult that to get the rdfs:label. In that specific case the label is "homepage"...
... You've probably made a mistake in the stuff you haven't shown us. (Perhaps the "class" Preferences is of rdf:type owl:Classs, or it doesn't have an...
hi dave,
would be another oppurtunity to expand the own ontology by adding those properties one need for the ontology by adding an object property and...
Hi I use the code " persistent ontology.java " in JENA site with my ontology. I have the message of error according to: WARN [main] (DriverRDB.java:433) -...
... Jena 2.4 has some changes that work round this issue (it occurs when the server is setup so that UTF-8 gets encoded as upto 3 bytes). (With Jena 2.4, you...
OK thank you ... Jena 2.4 has some changes that work round this issue (it occurs when the server is setup so that UTF-8 gets encoded as upto 3 bytes). (With...
I can access to my database using jena and out side jsp I can access to my database inside jsp without jena I can not access to my database inside jsp with...
... See if there are any logged errors. [My /guess/ is that something is going wrong when the driver tries to set the database connection. At this point it...
etc/mysql.sql is in jena.jar. This must be accessible so Java can read as a Java resource. Where is etc/mysql.txt? If there is another etc/ on the path, then...
hi all, thx so much for your help. I passt 1 week to resolve this pb. now I can load my ontology into mySQL db and read my data from BD. thx again. Chris...
Hi Dave, I was looking at the documentation on Jena's generic rule reasoner available here http://jena.sourceforge.net/inference/index.html#rules. It looks...
Hey all - I've created an OWL-DL ontology using Protege. I've defined the individuals in my ontology as AllDifferent, and Protege creates an <AllDifferent>...
... Yes. You can define new builtins, see: http://jena.sourceforge.net/inference/index.html#RULEextensions If you define a headAction method for your builtin...
... It's not trivial to that in OWL. You have two options: (1) Hopefully what you have at the moment is a single owl:AllDifferent object which points (via...
Hi, Would it be possible for someone to point me to some documentation on how to get the backward LP engine set up for jena in java. I can do the forward using...
... There's a constructor for the GRR that allows you to specify the mode (forward, backward, or hybrid). ... You can use `contains` for that. -- Chris...
... The backward rules just deduce new triple-shaped conclusions, exactly the same as the forward rules, except the inference is run backwards. So to query for...
... Read the javadoc for this call. The string parameter to createOntologyModel is used to pass in a URI which indictates the particular ontology language...
... Model (hence, InfModel and OntModel) have contains(Statement) and contains(S,P,O) methods which return true iff the model contains that statement or...
Sorry for the 4 messages, yahoo made me believe that the message did not leave... I have so much the head in the code which I do not see the hour. Still...
Ok thanks for this lads, I get it. So there is no sort of consult that can be done on a backward rule query. The query (rule head) head is still inserted unto ...
... `contains` /is/ "a sort of consult". ... Not if it's not tabled, if I understand it correctly. You get to choose. Remember any query [1] over an infmodel...
Hi, I have a problem: how to distinguish RDQL and SPARQL. My former system supports RDQL, but now I want to try SPARQL. That means that I want a class to...