Questions tagged [dlquery]

Use this tag when the question is related to a DL query, which can be used, for example, in the GUI of Protege.

Query a classified ontology. DL stands for Description Logic.

36 questions
1
vote
0 answers

DL-Query for range value does not result as expected

I'm new in Protege (Protege 5.2.0). I put some data properties to a class as in the picture below: Let's focus on the last line. Then, I used DL-Query like this OilPalm that hasGrowthRate some xsd:float[>=50.0] I expected that the class will be…
Hakim
  • 97
  • 9
1
vote
1 answer

DL query in Protege related to equivalent class and object property

I have shown a snapshot of an Ontology in the figure above. I try to Execute a DL query from Protégé 5.0. The query is: hasVolume value Apple. Apple is an instance of Fruit (see Figure Link). The object property is hasVolume. The result shows no…
R_Bro
  • 21
  • 1
1
vote
1 answer

Problems in using Existential restrictions in Protege

I want to find out if an Individual belonging to Class A, has a least one relation with ALL the Individuals of Class B. I have a problem finding a suitable expression that gives me the DL query results I desire. For the below example: Classs:…
AlAnoodZ
  • 29
  • 5
1
vote
1 answer

Why does not this DL query return expected results?

I've created a simple OWL ontology in Protege that describes human relationships: Classes : Person, Man, Woman Person is super class of Man and Woman Man and Woman are disjoint Object Properties : hasChild Its doman and range is…
frogatto
  • 28,539
  • 11
  • 83
  • 129
1
vote
0 answers

DL QUERY : Pizza Ontology : Is there a way to get the toppings ON the pizza?

I'm extremely new to protoge' and I've been playing around with the pizza ontology. I know how to get the list of pizza's that contain a certain number or type or toppings but how do I do it the OTHER way around? How do I get a list of toppings that…
PoRco1x
  • 53
  • 3
1
vote
1 answer

DL Query to get the Individual has object relation with given individual - not some (OWL)

Please explain how to get the set of individuals that has a relation ship the given set of individuals along some object property in DL query (not using the some quantifier)
Maxi
  • 285
  • 6
  • 20
0
votes
2 answers

in owl "Dl query" how to use advanced valu query in protege

I am developing an ontology and I have a problem with my Dl query there is a class called "flower" and this class has subclasses which are some flowers names and also there is another class called "flowersColor" and it has these values…
ahmed
  • 14,316
  • 30
  • 94
  • 127
0
votes
1 answer

OWLAPI and HermiT reasoner: non-asserted deleted individuals are still inferred

I am currently using OWLAPI jointly with HermiT reasoner and I am experiencing what appears to me as a bug. I defined several methods that update the ontology and during unit testing I reached several contradictory results. My methods can add,…
Chaos
  • 101
  • 3
0
votes
0 answers

Protégé querying individuals

I have a very basic question for query languages in Protégé. I have a class called "year", and there are 3 individuals who are members of this class as 1800, 1850 and 1900. I would like to set up a query for individuals in order to get individuals…
Gamze
  • 177
  • 1
  • 1
  • 10
0
votes
1 answer

Protege DL Query - Instances without a certain ObjectProperty

I am working with Protege and trying to return a DL Query of all instances without a specific property. For example, i can return the instances of number (eg. number1, number2, etc) with the property initialValue by using initialValue some…
João Tiago
  • 45
  • 1
  • 6
0
votes
2 answers

Get representative classes from an OWL "or" class expression

I have 3 classes: Reptile, Mammal and Cat, with Cat is a subclass of Mammal. I have an "or" class expression: Reptile or Mammal or Cat How can I infer with a reasoner to get the most representative classes for any given "or" class expression? Like…
MiP
  • 499
  • 1
  • 7
  • 16
0
votes
2 answers

Protege - DL Query and subclasses

I'm using protege to test OWL Ontologies for my program. Is there a way to ask in the DL Query tab if an entity is a subclass of another entity? The autocomplete tab does not suggest the keyword subclass.
user840718
  • 1,563
  • 6
  • 29
  • 54
0
votes
1 answer

Cardinality query with inconsistent results

I am having problems with DL Queries that are based on object property cardinality and I am not sure if I am doing something wrong, or there is something wrong with HermiT. First of all, I've attached a very simple ontology which demonstrates my…
fourcube
  • 762
  • 3
  • 10
0
votes
1 answer

How to use DL Query programmatically

I would like to know whether I can use DL Query in Protege programatically. Is it possible to enter a query in Java and retrieve individuals like how it is done in SQL? E.g. query is hasCalorificContentValue value 723 and I would like to retrieve an…
yihlamur
  • 382
  • 1
  • 5
  • 17
0
votes
2 answers

DL; returning classes with max 1 and not exactly 0

Let's have an OWL-DL ontology considering only the TBox (no individuals) and Let's consider Chinesefamily hasChilren max 1 SterileChinesefamily subClassOf Chinesefamily SterileChinesefamily hasChilren exactly 0 The expression hasChilren max 1 will…
Median Hilal
  • 1,483
  • 9
  • 17