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
11
votes
1 answer

OWL 2 rolification

In description logic, there is a concept called "rolification" (OWL and Rules, Sec 3.2). It converts a concept (class) into a role (property). For example, when we rolify R(x), we get r(x,x). This technique is useful for expressing some rules in…
Yang
  • 7,712
  • 9
  • 48
  • 65
10
votes
1 answer

How to query RDF/OWL using SWI-Prolog's Semantic Web Library?

How can I use the SWI-Prolog Semantic Web Library to make a query into the OWL/RDF file and extract some information? The OWL/RDF file is having information about all the Debian packages so I need to make the query in order to find package…
codious
  • 3,377
  • 6
  • 25
  • 46
10
votes
2 answers

OWL Class and Subclass Property Inheritance

I have a confusion about OWL class and subclass property inheritance. Some posts are saying there is no inheritance in OWL (OWL: How to get inheritance of property relations between two classes from those of superclasses?,…
Beautiful Mind
  • 5,828
  • 4
  • 23
  • 42
10
votes
1 answer

What is the owl:Nothing class designed to do?

If you look at the OWL ontology definition, you'll see a bunch of class definitions. One of them is the following: owl:Nothing a owl:Class ; rdfs:label "Nothing" ; rdfs:comment "This is the empty class." ; rdfs:isDefinedBy…
Kristian
  • 21,204
  • 19
  • 101
  • 176
10
votes
2 answers

Using SPARQL for limited RDFS and OWL reasoning

What I'm currently using rdflib for creating and managing RDF graphs in Python. RDFlib doesn't do any RDFS or OWL reasoning, though. This leads to results like the following: If I have A rdf:type MyType . MyType rdfs:subClassOf SuperType . and…
Alex
  • 149
  • 1
  • 6
9
votes
5 answers

Loading an Ontology in Python

I have an Ontology written in OWL. Does anyone know I can load it into python? any packages or even manually? rdflib which is mentioned in other questions is not suitable for me because it mainly concerns with RDF and "Seth" which is a very nice…
Hossein
  • 40,161
  • 57
  • 141
  • 175
9
votes
1 answer

What's the difference between skos:ConceptScheme and skos:Collection?

From the W3C pages on SKOS collections I understand that concepts can be grouped in 'collections'. However, concepts can also be part of a concept scheme. Am I right in assuming that the difference between the two is that a conceptScheme will more…
Richard
  • 1,224
  • 3
  • 16
  • 32
9
votes
1 answer

Using Property Chains to get inferred Knowledge in an OWL Ontology(Protege)

I have modelled the following in my Ontology: Club employs some Player, Player hasNationality some Nationality, Player hasNationalStatus value National_Player, Country is equivalent to Nationality. I want the Ontology to infer that: If a Player…
ChrisDLFC
  • 215
  • 4
  • 9
8
votes
4 answers

setTimeout does not work

I want to load an OWL file before executing other (visualisation-)scripts. To do this I tried everything from $(document).ready to function visualize (file) { if (!file) {setTimeout(visualize(file), 2000)} else …
JasperTack
  • 4,337
  • 5
  • 27
  • 39
8
votes
3 answers

Displaying Relations in Protege-OWL Editor

I have created a basic Class hierarchy for my ontology in Protege-OWL Editor version 4.1. But I am not able to visualise Object Properties and relations between the classes in OwlViz other than the normal hierarchy or "is-a" relationship. So please…
A_tanA
  • 143
  • 1
  • 7
8
votes
4 answers

Why is OWL Full undecidable?

I've been looking all around on why OWL Full is undecidable, but I haven't found an easy to understand example that would lead me to comprehend it. I've found statements that explain that it is due to "Entailment Closure" and that is also correlated…
8
votes
3 answers

How to reason or make inferences in Neo4j?

I created a semantic Graph in Neo4j. Is there any possibility to use an OWL reasoner in Neo4j? Or any inference engine? Though it has been mentioned here i can't find any solution or API for this. Thankful for any advice!
Grapheneer
  • 897
  • 8
  • 25
8
votes
1 answer

Adding multiple domains to objectProperty in Protege 5

I have created an ontology using Protege 5-beta-17. In my ontology I have some classes: Mountain, Lake, Location etc... I also have an object property: hasLocation. For this object property I have set the range the "Location" class, and the…
whitefang1993
  • 1,666
  • 3
  • 16
  • 27
8
votes
1 answer

How to define the type of elements in an rdf:Seq?

I want to create a property defining a rdf:Seq as a rdfs:range of an object : eg:myProperty a rdf:Property; rdfs:range rdf:Seq; . I'm looking for a way to define the type of the elements stored in the rdf:Seq. For example, I don't want this…
Thibaut Guirimand
  • 851
  • 10
  • 33
8
votes
1 answer

Adding statements of knowledge to an OWL Ontology in Protege)

In my Ontology I have three classes, Player, Team, and Competition. I also have the two object properties, employs, and competesIn. The domain of employs is Team, and the range Player, the domain of competesIn is Team or Player and the range…
ChrisDLFC
  • 215
  • 4
  • 9