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

How to set domain and range of a property in an Ontology modeled in Protege

I am using Protege 5.0.0 for developing an ontology. Part of the Ontology is shown in figure at the link: https://i.stack.imgur.com/xTeiA.jpg For the given Ontology I have created classes OperatingRange,OperatingPowerRange,and ValueRange. Also,…
Haroon Lone
  • 2,837
  • 5
  • 29
  • 65
0
votes
0 answers

Loading and Using Instances From File in CLIPS

I have a course assessment to create a simple Knowledge-Based System in CLIPS. I have created an ontology via Protege, exported the Classes and Instances to a .clp format and everything loads. I have an idea of what rules and templates to use, but I…
user2403149
0
votes
1 answer

how to write SWRL rules in protégé 5?

I have to write some rules to my ontology. I opened the rules window to write my rules. The problem that every time I write a rule I get an exception from protege OWLRuntimeException:…
0
votes
1 answer

Modeling a sum of 2 or more individuals in Protege

I'm trying to use Protegé to solve the following mathematical riddle: Find a SIX digit number in which the FIRST digit is ONE more than the THIRD, the SECOND digit is ONE less than the FOURTH, the FIFTH digit is ONE less than the THIRD, and the…
Kristian
  • 21,204
  • 19
  • 101
  • 176
0
votes
1 answer

OWLAPI - how to add references like Declaration and cardinality?

I'm trying to build an OWL file programmatically from a data model, with OWL-API 3.5.0. In general, the model follows the form of A -> B, where the relationship ("->") can be a subclass or a property. I think I have the subclasses working, but I'm…
Joseph Ottinger
  • 4,911
  • 1
  • 22
  • 23
0
votes
2 answers

JessTab: Can we count all subclass instances?

I have a class A which consists of two subclasses B and C. Class B has three instances, while C two. Can I write a JessTab rule which will count all implicit instances of A i.e. give me 5? Mapping class A in Jess: (mapclass http...#A) Rule to count…
Edi
  • 109
  • 11
0
votes
1 answer

Complex conditional element in accumulate in Jess rules

I am trying to find average value of temperature observations in JessTab which requires joining facts from multiple classes. The following rule: (defrule averageOfObsValue ?res <- (accumulate (progn (bind ?s 0)(bind ?n 0)) (progn (bind…
Edi
  • 109
  • 11
0
votes
1 answer

JessTab: Finding average value

I am trying to find the average age of the people asserted in the family ontology by the following JessTab rule: (defrule print_people_total_age (object (https://wiki.csc.calpoly.edu/OntologyTutorial/family_example.owl#age ?a1)) => (bind…
Edi
  • 109
  • 11
0
votes
1 answer

JessTab: Finding the youngest person in family ontology

I am using the [family ontology][1] to test Jess rules. Everything works fine unless manipulating data with Jess built-in functions e.g. min and max. I have designed the following rule: (defrule print_people_min_age (object …
Edi
  • 109
  • 11
0
votes
1 answer

SWRL syntax in Protege

I am using Protege5.0, and i want to implement SWRL rule ie User(?u), isInActivity(?u, ?cm), ContextMeeting(?cm) -> FamilyContact(?f), hasStatus(?f, "Reject") which means "if user is in meeting then familycontact has status "reject". This syntax…
user2083529
  • 715
  • 3
  • 13
  • 25
0
votes
1 answer

Owl universal quantification works together with cardinality restrictions

I am new to owl. I read an Universal Quantification example in this page http://dior.ics.muni.cz/~makub/owl/ . If I replace "Person SubClassOf hasParent max 2 thing" by "Person SubClassOf hasParent max 2 Person" and run the reasoner, I think…
0
votes
0 answers

deductive rule over properties without any resource in protege

friends i wrote an ontology that use same property that i named it " hasPart" for classes via properties restriction in necessary section of classes in protege."hasPart " property is without any resource for that i can reuse it . for example in…
shima
  • 11
  • 2
0
votes
2 answers

Could not parse Turtle ontology Protege

I'm trying to open an owl ontology with Protege on a CentOS 7 machine, and I receive the following error from the OWLXMLParser when I do so : org.xml.sax.SAXParseException; systemId:…
DivDiff
  • 963
  • 2
  • 10
  • 22
0
votes
1 answer

Local & Remote OWL/SPARQL queries with Jena

I want to create a simple application using Jena and SPARQL, that inserts, deletes, updates, and queries some OWL/RDF data. I worked on Protégé to create the ontology and noticed SPARQL in it, but I want to run SPARQL queries programatically with…
Enigma
  • 3
  • 1
  • 3
0
votes
1 answer

Protege Merging Individuals

I have created an ontology. There is a temperature sensor class and humidity sensor class. the can have sensor values. Now I want to define a class where if the temperature sensor has value less than 25 and humidity sensor has value less than 20…
biborno
  • 175
  • 1
  • 11