owl

Some functionalities of Rowlex

I'm recently working on a semantic web application project using Rowlex. I've reached some functionality needs which I couldn't match the appropriate methods to them. I was wondering if somebody would help me. I'm creating a new RDF document, but at the end I don't know how to save the populated rdfdocument. I'm creating a new individu...

OWL: Abstract classes , anonymous nodes, Regular Expressions

When defining an Ontology using OWL, is there a way to say that a class should always be an Anonymous Node (no rdf:about="...") e.g. <my:FamousQuote/> is abstract and any Instance of this class should always use a subClass (edited here:) that a DataTypeProperty should match a regular expression ? Thanks ...

Removing individuals & properties from RDF

Hello, I have a RDF file in my semantic web project and I use Rowlex for manipulating it. I've needed to remove an individual from RDF, so I used <RDFDoc instance>.RemoveIndividual(new OwlThing(<individual URI>, <RDFDoc instance>)); With this code, I had my individual gone, but it's properties still remained. So I figured out that I ...

Individuals and properties in semantic web

Hi, I'm currently working on a semantic web e-learning project. I've made an ontology and classes. However, when populating RDF files, I create an individual (for example a course) and place it in a RDF. Afterwards if I it is needed to relate another individual to this one by an object property (e.g. student-> studyMemberOf-> course), I...

Get individuals of an ontology class in .Net

Hi, Regarding to my previous post, now when I'm testing, progFields in below: System.Reflection.FieldInfo[] progFields = typeof(Program).GetFields(); returns nothing. My ontology about Program is like this: <owl:Class rdf:about="http://www.owl-ontologies.com/Ontology1243411901.owl#Program"&gt; <rdfs:subClassOf rdf:resource="http...

How do I deserialize a OWL document?

Hello, I created a bunch of classes using ROWLEX and had them serialized to RDF using RdfDocument rdfDocument = Rdfizer.Serialize(ontology); Now i would like to deserialize it (similar to how XmlSerializer.Deserialize() works) so that I could have the data in the ontology populated in my object I would like to do something like th...

Rowlex: A property node cannot contain more than one entity description

Hi, when using Rowlex OwlGrinder to generate an assembly from an OWL file the above error message is shown. The offending piece of OWL/XML is for example: <DisjointClasses> <Class URI="&foaf;Document"/> <Class URI="&foaf;Organization"/> </DisjointClasses> but the same error message is also thrown in the case of multiple s...

Browsing/editing RDF/OWL Instances

I'm looking for a graphical browser for examining large networks of OWL/RDF instances. Protege's instance browser isn't really useful and if COE supports instance browsing, I've not discovered how. Network size is around a million nodes. I'm hoping to be able to search for an instance, expand it to show its relationships, and explore ot...

How does Rowlex relate to Protege and are there other .NET offerings for OWL?

I work with RDF and OWL but until I came to SO I'd never heard of Rowlex and OwlGrinder. It's got a much larger presence on SO than Protege or Pellet (although from a smallish number of active people). Is it primarily the .NET equivalent of Protege or does it take a different approach (It stresses the Open-world assumption). There's very...

how to get the base namespace from an OWL ontology file in java with jena

Hi, I'm new to Jena API's , I'm trying to figure out a way to get the base Namespace from a OWL ontology file, without using DOM or similar but just using the standard Jena's API. Is there such a way?? in an OWL file like how do I get the base namespace "http://www.owl-ontologies.com/Ontology1254827934.owl" a runtime?? Many many than...

Which is the best annotation tool for semantic web or onthologies?

There is a list at http://annotation.semanticweb.org/tools/ Have you tried them? Any suggestion? ...

Is there a Python library to handle OWL?

It could be something as big as Jena or something smaller. Do you know anything? ...

What is the difference between RDF and OWL?

I am trying to grasp the concept of Semantic Web. I am finding it hard to understand what exactly is the difference between RDF and OWL. Is OWL an extension of RDF or these two are totally different technologies? ...

Symantic Web SPARQL CONSTRUCT Question

I am using a tool called TopQuadrant to create a Symantic Web (RDF/OWL) Ontology. This tool allows for import of data from MS Excel. My spreadsheet is basically a two-column sheet with the first column being an XPATH expression and the second column being a description of that XPATH. Once I import my spreadsheet, I would like to use SP...

Is there something like SESAME for OWL

Sesame is for RDF, so if I want to use OWL is there anythin? ...

How can you remove the XML schema datattype from sparql query?

Hey all. Im running a sparql query on a file that contains <User rdf:about="#RJ"> <hasName rdf:datatype="http://www.w3.org/2001/XMLSchema#string"&gt;RJ&lt;/hasName&gt; </User> I want to return only the name i.e. 'RJ' but when i enter my query SELECT ?name FROM <example.com> WHERE { assign:RJ assign:hasName ?name . } ...

XML to XML translation in Java

I need to translate from XMI to OWL (XML/RDF serialized) in Java, so essentially this is XML to XML translation and most probably I could just play with regex and use replaceAll to what I need, but that seems very messy way to do it. What would you suggest so that it will be easily customizable later (my OWL model might change slightly i...

Property chain reasoning over rdf:type

I am trying to get Pellet to propagate properties from classes down to the individuals belonging to those classes. For example, if I have Class A with Property X, and Individual B with rdf:type=Class A, I want Individual B to have Property X after running the reasoner. I'm using the technique of property chain inclusion referenced on the...

A class subclass of itself. Why mutual subclassing is forbidden ?

Complex question I assume, but studying OWL opened a new perspective to live, the universe and everything. I'm going philosophical here. I am trying to achieve a class C which is subclass of B which in turn is subclass of C. Just for fun, you know... So here it is >>> class A(object): pass ... >>> class B(A): pass ... >>> class C(B)...

Hibernate for ontologies?

Hi, does anybody know of a tool capable of doing for OWL ontologies what Hibernate does for relational databases, that is, from my point of view, abstract away the need to manually code SQL queries to read/write Java objects from/to relational databases and manage the consistency of in-memory objects and their serialized form on the DB. ...