... Not without you SHOWING US THE CODE, no. And WHAT ARE YOU TRYING TO DO, that you want to do this? -- Chris "electric hedgehog" Dollin C FAQs at:...
Hi, I am trying to check if an Individual is an instance of a class. This is my ontology which is contained in a single Purpose.owl file. <owl:Class...
... Look at line 120, column 39 of your Purpose file for a ... ... ... XML element that does not have a namespace qualifier (e.g. "Class" rather than...
... Actually the RDF XML syntax does permit properties to be encoded as XML attributes as well as elements. Arguably it would have been made the syntax...
... OK thanks I have solved in this way: for(Iterator i=classeSelezionata.listSuperClasses();i.hasNext ();){ OntClass sc =(OntClass)i.next(); for(Iterator j = ...
Hello, I have tried to create an OntModel in this way: ontModel = ModelFactory.createOntologyModel(); ontModel.read("file:///C:\\ontologies\\foo.rdfs"); but it...
Hi, Is there some way in jena to represent a not(triple) i.e. if the triple exists then the rule should be false and not conclude the conclusion. Also If I run...
... What is your evidence for this? Have you printed the model to see if the contents of the foo.rdfs file are in the model, or is the model not doing...
... As I suggested earlier, right? Could you find it in your heart to answer my question above, viz: what are you trying to do that makes you want to do this? ...
Hello David, ... How about the data? The code looks OK (although if you're processing an RDFS ontology you should create your OntModel with an RDFS profile...
Hello Ian, Sorry. The model is load properly. I check it doing: ontModel.write(new PrintWriter(System.out), "N-TRIPLE"); The last results about classes are...
... This should be: xmlns:NS0='http://www.w3.org/2000/01/rdf-schema#' I would guess you are using protege with the old RDF plugin which generates incorrect...
My guess is that you have not declared a default namespace so the parser doesn't like the line: <Survey rdf:ID="PublicHealthSurvey" /> If I take your fragment...
... You could certainly use the rule engine to build a system that could be described that way. ... Yes, though I would be inclined to assert which role is...
... more??? ... I paint ontology as a JTree, and so when I click on a node (a concept/class) I should view properties whose domain is clicked node. You know...
Hello Dave, ... żold RDF plugin? Good idea. ... KNOWN BUGS AND PROBLEMS - only the RDF Schema namespace http://www.w3.org/TR/1999/PR-rdf-schema-19990303# is...
... The notion of "inheritance" isn't really appropriate - it has all sorts of OO connotations that are not appropriate to OWL/RDFS. Let me expound a little...
correction: the oracle clients were 9.2.0.1.0 (not 9.0.1.0.1), and 9.2.0.5.0 ... sorry, it was late last night and i was sick. also, we were using the thin...
Hi. Is it possible to classify individuals (a.k.a. instances) in Jena? The JavaDoc makes explicit references to the T-Box but very few to the A-Box. As...
... domain. ... about ... U), ... I have made exactly at contrary!!!! 1)It's very strange, because my model is Protege. I hope you know it, because if you...
Hi Ron, Can you please post a self-contained, ideally small, example? Instance classification should work just the same as in Protege, not least because...
... No. It is more subtle than this. What you are looking for is essentially an answer to the question "what properties can be applied to this class"? You...
If I have a class C that is an intersection of class A and class B, and class D is subclass of class C. Then would the following using OntClass work? ...
These are the namespace declarations that I have. Is there anything wrong with these? <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE rdf:RDF [ <!ENTITY...
Hi Prajakta, As Dave said, you have not declared a default namespace. The default namespace is declared with a xmlns attribute with no ':name' part. For ...