Questions tagged [protege]

Protégé is a free, open-source platform that provides a growing user community with a suite of tools to construct domain models and knowledge-based applications with ontologies.

The Protégé platform supports modeling ontologies via a web client or a desktop client.

Protégé is based on Java, is extensible, and provides a plug-and-play environment that makes it a flexible base for rapid prototyping and application development.

1201 questions
4
votes
1 answer

Is property with exact cardinality one functional?

In an OWL-DL ontology, consider a property p with domain D and range R where D has a restriction over p to have cardinality of exactly one: D SubClassOf p exactly 1 Thing (D ⊑ =1 p.Thing) Can we then infer that p is a functional…
4
votes
1 answer

Using enumerated data type in defining property value for individual in Protege

At first I want to mention that I am new in ontology and protege. I try to develop an ontology using protege 5.0. I defined some data properties with enumerated range which I defined in data range expression like this: {"Balanced" , "Clever" ,…
Sanam
  • 77
  • 1
  • 11
4
votes
1 answer

How to express numeric intervals in datatype property in the ontology?

What I am trying to do is create a datatype property that accepts and recognizes numeric intervals. For example lets say I have the property "temperature". In the ontology I want to create 2 sub properties "hot" and "cold". Hot would be temperatures…
user3211165
  • 225
  • 1
  • 3
  • 14
4
votes
2 answers

Sparql query for children, grandchildren, .. of a class

I have an owl file I built in Protege. What is the sparql query which will select all the subclasses of a class and all the subclasses of those subclasses, so on and so on (Breadth First Search Sort of Manner)?
Nick
  • 1,743
  • 6
  • 23
  • 38
4
votes
0 answers

Automatically domain and range filling in Protégé 4.3

I'm following the instructions of A Practical Guide to Building OWL Ontologies Using Protégé 4 - Edition 1.3, and it says that when the domain of a property is filled, the range of its inverse property should automatically be filled by Protégé.…
felipe.zkn
  • 2,012
  • 7
  • 31
  • 63
4
votes
2 answers

Can regular expressions be used in Protege OWL query?

I have an OWL class Verse wich has a data property named hasContent. Property's range is string. Using DL query, e.g. Verse and hasContent "complete text of a verse", I can find the verse that contains the specified text. I now want to find all…
user1794211
  • 65
  • 1
  • 6
4
votes
2 answers

A SPARQL Query to get my pizza's name

I am just a beginner in SPARQL and can write some basic queries. I have a pizza ontology in which there is one pizza whose properties are as follows: rdf:subClassOf NamedPizza hasTopping only (MozzarellaTopping or…
4
votes
1 answer

Read restriction values using Jena

I have an object restriction defined as follows hasYear some integer[minLength 2, maxLength 4, >=1995, <=2012] How can i read the individual values defined in the restriction using Jena.
Vijith
  • 77
  • 1
  • 10
3
votes
1 answer

Protege: how to express 'not hasNext'?

I am currently developing an ontology using protege and would like to determine if a node is a last one of a list. So basically a list points to a node and every node has some content and can have another node: List startsWith some Node Node…
Pedro
  • 4,100
  • 10
  • 58
  • 96
3
votes
1 answer

Ontology where the same word has different meaning in different contexts?

Are there any example ontologies where the same word has different meaning in different contexts? For example, when building an ontology for a large company, it is not uncommon for different departments and systems to have a different definition and…
Alex R
  • 11,364
  • 15
  • 100
  • 180
3
votes
0 answers

How to create data property of type URL in protege

I would like to create a data property of type URL in protege, but I cannot see ant URL among the available data types. Is it possible to create a data property of type URL in protege?
Marc
  • 588
  • 2
  • 15
3
votes
1 answer

Delete individuals with owlready2

I am using owlready2 I load my ontology and I tried to delete the individuals of a class : from owlready2 import * onto =…
kloud
  • 221
  • 1
  • 10
3
votes
0 answers

Sum of two data property of two individuals

hi I am working with ontology on protege 5.5.0 I have a concept : 'Country' which have individuals: Italy, Spain, France.... Each of the individual have a data property cases I want to have a new individual Europe which have the same data property…
kloud
  • 221
  • 1
  • 10
3
votes
0 answers

How can I get all the entities used in a SPARQL-DL Query?

I'm currently working on a project where I need to graphically represent a SPARQL-DL query. To do that, I need to get all the entities used in a query (at the end, all the entities used in the query and the results from the query). I'm struggling…
Squick'
  • 45
  • 7
3
votes
0 answers

OWL Inference problems using max cardinality in restriction class

I have created an ontology in protege. I am using the Pellet reasoner (it is enabled) and the snap sparql plugin. I am trying to declare a small enterprise as an enterprise that has at most 20 employees. Here are my triples. I am not able to see…