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
0
votes
0 answers

Fuseki Named Graph persistence with inference

I am trying to persist multiple named graphs with inference in Fuseki. I am referring to this excellent article, but facing some issues in Scenario 2: named graphs and no online updates. My assembler configuration looks like this: @prefix : …
Nil
  • 125
  • 2
  • 15
0
votes
0 answers

How to query the most specific type of a property

I have an objectProperty hierarchy. At a certain level of it, there is a sub-property X, which has its own sub-properties, let's say X1 and X2 one level below it. The actual property assertions are made using X1 and X2. However, I am querying with…
ZorgoZ
  • 2,974
  • 1
  • 12
  • 34
0
votes
2 answers

Api Jena - I'm getting a Warn "RDFDefaultErrorHandler"

I'm using Jena. I created an interface that allows to add, modify and remove instances in rdf file. I'm getting this warn when I execute my code: WARN [main] (RDFDefaultErrorHandler.java:36) - unknown-source: {W136} Relative URIs are not permitted…
ARH
  • 81
  • 10
0
votes
1 answer

API Jena - Button "Next" of my interface is not working properly

I'm using Jena. I created an interface that allows to add, modify and remove instances in rdf file. I have a problem with Button Next. It works but not perfectly. I would like that it returns to the first instance when it reaches the last instance.…
ARH
  • 81
  • 10
0
votes
1 answer

Infer non-trivial OWL superclasses (or subclasses) assertions using a Java reasoner

I want to express the following DL assertions in OWL A ⊑ B A ⊑ ∃R meaning that A is subconcept of B and all the instances of A must have a relation R with something else. I'm expressing it with the following OWL…
user402843
  • 89
  • 1
  • 9
0
votes
0 answers

How can I compose new owl classes from existing ontologies without copying data?

in ontology A I have a class Person with dataproperty hasName and store some data against it: hasName "Joe Common" . and a class Vehicle with a hasVINnr; hasVINnr "12345" . In ontology B I have class Parking_ticket and in this I…
0
votes
1 answer

Should a knowledge graph be a valid ontology?

I wonder if an RDF document that resembles a knowledge graph should also be a valid OWL document [ready for reasoning]? In other words, is it okay if we have a valid RDF document but not being able to perform reasoning on it and only perform SPARQL…
Adel
  • 3,542
  • 8
  • 30
  • 31
0
votes
1 answer

How to represent a device in my knowledge graph?

I have an ontology and based on this ontology I want to create a knowledge graph (separate from the ontology). I want to represent a 'turbine' in my knowledge graph (based on the ontology that I have). Consider the following classes in my ontology…
Adel
  • 3,542
  • 8
  • 30
  • 31
0
votes
1 answer

How to produce triple with differentFrom vocab in OWLAPI

I tried to create different individual axiom using OWLAPI 5 in Java. What I want is simple triple using vocab owl:differentFrom like: test:A owl:differentFrom test:B But what I get is triple using owl:AllDifferent: _:genid234 rdf:type…
slowpoke
  • 19
  • 5
0
votes
1 answer

Using only constraint in owl leads to inconsistency

I am trying to model the following situation: A degree may be Bachelor or Master A student may be BachelorStudent or MasterStudent A degree may have students: Bachelor degrees only have BachelorStudents and viceversa. I want to experiment with the…
Stubborn
  • 995
  • 4
  • 17
  • 30
0
votes
1 answer

API Jena - Get values of data properties

I created an interface in java with 4 labels, 4 textfields and some buttons like "Add", "modify, "next", etc. The user will enter name, first name, birth date, etc. After clicking the button "add", the information that he has entered will be added…
ARH
  • 81
  • 10
0
votes
1 answer

issues with min one in Protege

I have a homework to do for my studies that requires to use Protégé. I am pretty new with the language OWL and with this software. We need to create an ontology on hiking trails. I have multiple classes like Hikers, Trails, Restaurants, Hotels,…
A.Patrick
  • 31
  • 7
0
votes
1 answer

Accessing Object Property for Individual using Apache Jena

I have created an OWL ontology using Protégé, describing a patient database system. I am now attempting to develop a Java code using Apache Jena to read the OWL file I created, then perform a number of operations on it. My primary goal is to get my…
0
votes
1 answer

Add Axioms of Expression Editor using OWLAPI

I have an API that receive a JSON document with classes, properties and axioms of an ontology. The file looks like this: { "id": "https://onto4alleditor.com/pt/idDoProjeto", "filetype": "OWL", "classes": [{ "Name":…
0
votes
1 answer

How to define multiple domains in owlready2?

I'm new with owlread2. I'm want to implement a relationship like Car has Color Bike has Color House has Color so far i tried it like this: class has_color(ObjectProperty): domain = [Car,Bike,House] range = [Color] and cass…
krapottke
  • 1
  • 1
1 2 3
99
100