Questions tagged [owl]

The Web Ontology Language (OWL) is a vocabulary for creating ontologies, i.e. definitions of classes, properties and the relationships between them. Please do not use this tag in place of 'owl-carousel'!

The Web Ontology Language (OWL) is a vocabulary for creating schemas (ontologies), i.e. definitions of classes, properties, and the relationships between them. OWL is richer than languages such as RDF Schema (RDFS). OWL is one of the Semantic Web family of standards from the World Wide Web Consortium (W3C).

OWL2, the latest version of OWL, became a W3C recommendation in 2009.

Some related libraries are:

Some tools that can be used to work with OWL are:

Some ontologies are already standard to OWL:

  • OWL-S for web services.
  • SWRL for Rules and Basic Math.
2530 questions
8
votes
1 answer

How can I import .OWL file into Neo4J?

I have been playing with Neo4J to get a feel on how easy it is to work with related data. so far I have work with the Neo4J community browser to create nodes and build relationship between them. I have developed an ontology using protege a link!.…
kxmehdi
  • 81
  • 1
  • 2
8
votes
4 answers

How to infer isBrotherOf property between two individuals

I need to infer that one individual is the brother of other one if they have the same father. So, if I have this: Bart hasFather Homer. Lisa hasFather Homer. Because Bart and Lisa have the same father, I would like to infer: Lisa hasBrother…
Ortzi
  • 363
  • 1
  • 6
  • 17
8
votes
3 answers

restrict xsd:string to [A-Z] for rdfs:range

How can I specify the range of a datatype property to be xsd:strings whose literal forms match [A-Z]? OWL restrictions don't do the trick for me, at least at first glance. Is there a way to do this with regular expressions and if so, where?
chile
  • 724
  • 1
  • 7
  • 15
8
votes
2 answers

Representing if-then sentence using OWL?

I am working with basic OWL, and it's quite easy to represent some simple sentence like "Songoku is a lecturer, he teaches Maths". E.g.:
Songokute
  • 687
  • 1
  • 9
  • 17
8
votes
2 answers

What are the limits to expressability of RDF / OWL / etc

So Im learning about RDF and OWL and "knowledge representation" in general. 1) What are the limits of RDF or OWL formats? Are there concepts that can't be expressed in RDF? But that can be expressed in OWL? Or the other way around. Are there…
Theo
  • 299
  • 2
  • 9
8
votes
1 answer

OWL restrictions - defining classes that only contains properties with a specific property value

I'm currently playing a bit with the OWL and especially with restrictions. I'm trying to create a query that does the following: Suppose that I have a class 'Cinema' that has a property 'movies' (that contains objects of type 'Movie'). The class…
Devos50
  • 2,025
  • 4
  • 25
  • 56
7
votes
1 answer

Protege-OWL: Class must have one of each

I'm new to protege and i have to model a grid with similar properties to soduku, in Manchester OWL syntax. I have been searching but i can't seem to find a way to make an axiom that says "each column must have 4 cells, and must have each one of…
eXistanCe
  • 735
  • 1
  • 9
  • 25
7
votes
4 answers

weighted RDF predicate (owl:ObjectProperty)

in RDF a statement is represented with S,P and O; In OWL the owl:ObjectProperty represents the predicate logic. (S) (P) (O) I like dog
rnd_nr_gen
  • 2,203
  • 3
  • 36
  • 55
7
votes
6 answers

How do I read .owl files in java and display its contents?

How do I read .owl files in java and display its contents?
nagender
  • 71
  • 1
  • 1
  • 2
7
votes
2 answers

Using Protege owl ontology on Android

I have a practical seminar this semester, and I want to use ontology on Android application. I choose Protege owl ontology as a ontology API and this tool worked in normal Java project. But when I tried to import this jar files which for the owl…
Lianchao Li
  • 71
  • 1
  • 2
7
votes
1 answer

Multiple domain and range in objectProperty?

I want to create an ontology with Protege that contains two classes, Animal and FatherAnimal, and the object property hasFather, with domain Animal and range FatherAnimal. Also, I create two other classes: Son and Father which are linked with the…
7
votes
3 answers

How to model opening hours in RDF

What is the most pragmatic way to model opening hours of a service, so that SPARQL queries would be able to query things that are open at a certain timestamp/during a certain time interval? Answers to this question should contain: example of an…
7
votes
1 answer

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

Im running a sparql query on a file that contains RJ I want to return only the name i.e. 'RJ' but when i enter my query SELECT ?name FROM…
allyLogan
  • 403
  • 2
  • 6
  • 13
7
votes
2 answers

Reasoning OWL ontology using inverse property?

I'm using Protege v4.3 for making ontologies. I have a question about OWL ontology and DL query. For instance, in the Pizza ontology, http://owl.cs.manchester.ac.uk/co-ode-files/ontologies/pizza.owl I can execute the DL query hasTopping some…
Soonpil Jang
  • 81
  • 1
  • 4
7
votes
1 answer

Using GROUP BY, COUNT and SAMPLE in apache jena SPARQL

So I have an RDF schema that contains many "groups", and each of these groups has a "name", and contains a number of "elements". I need to select the name of every group, along with the number of elements for each. Here is a sample of a group RDF…
user641687