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 filter a SPARQL query by a property's class

Is it possible to query a filter a SPARQL query by the class of one of its properties? I have an ontology which describes films, and I wish to display all films which were filmed in Europe. The current SPARQL query is as below: PREFIX rdf:…
Alex King
  • 180
  • 6
  • 17
0
votes
1 answer

How to query an individual created by protege using sparql

I'm using Protege-5.0.0-beta-17 to develop an ontology and apache-jena-fuseki-2.0.0 to host the ontology. It has following individuals. Background of this scenario is that there are policy individuals under…
Techie
  • 44,706
  • 42
  • 157
  • 243
0
votes
1 answer

Building a SPARQL query

I need to create a SPARQL query that gives me all the TopicItems contained in a Topic, in the following schema, but I don't know how to do that. There is an inverse ObjectProperty named "ContainedIn", I think I must use it, but I don't know exactly…
LokiNkc
  • 55
  • 1
  • 9
0
votes
2 answers

Import Pellet Reasoner into Jena

I am trying to import Pellet reasoner into Jena, the newest version of Pellet is 2.3.1 where I can't find any .jar file to be imported. Also, I followed the Wiki/FAQ to run the bash file in the release folder under Mac OS. The error message shown…
Ev3rlasting
  • 2,145
  • 4
  • 18
  • 31
0
votes
1 answer

Maven build - force the use of a newer version

I am trying to build protege-server (https://github.com/protegeproject/org.protege.owl.server) from source. I downloaded the source code. Using "mvm -X package" yields the following error: [ERROR] Failed to execute goal…
KorMed
  • 3
  • 1
  • 5
0
votes
1 answer

Protege SWRL rules

I've been trying to define rules in my ontology to infer that if a person has friends who are friends amongst each other then all are friends, but if 1 or more are not friends to each other then my ontology will infer that they all, are not…
0
votes
1 answer

Sparql query subPropertyOf

This is a small ontology to get the color combination and their reviews For example (red combinesWith black and hasReview "perfect Match") Is there a better way of doing this? I'm trying to query SubPropertyOf. Is it possible to do- :hasReview…
0
votes
0 answers

How should I model a relationship like "is contained in x with label y"?

I'm trying to represent the following real world situation: "Document Alfred" contains the following annexes: "Document Zoey" as "Annex 1" and "Image 1" as "Annex 2" "Document Betty" contains the following annexes: "Song Rocky" as "Annex A" and…
AndreaB
  • 1
  • 2
0
votes
1 answer

Reasoning in SPARQL

For my uni I'm learning about RDF/OWL/SPARQL. I'm trying to build a web app which makes use of automatic classification, I use Protege to develop the ontology. Now I have a class Smartphone and a subclass Fast_Smartphone, which has the equivalent to…
vincent kleine
  • 724
  • 1
  • 6
  • 22
0
votes
1 answer

OWL Properties domain and range inheritance semantics

Actually, I'm getting lost with domain and range semantics when a subsummption exists, in addition to restriction inheritance between class taxonomy members. Please see the following cases. Let's consider (1) hasCar Domain driver (2) driver…
Median Hilal
  • 1,483
  • 9
  • 17
0
votes
1 answer

Reasoning with transitive roles in Protégé

I have a problem about reasoning with transitive roles in Protégé. I created a simple ontology that says: "Any rod is part of some engine." "Any engine is part of some car." "PartOf relation is transitive." I expected Protégé to recognise this DL…
0
votes
2 answers

org.semanticweb.owl.io.UnparsableOntologyException

I created the owl file with Protégé 5.0 .. But I got this error when I load in java code .. May I know if you have any idea for this. Thanks & Regards, Su org.semanticweb.owl.io.UnparsableOntologyException: Problem parsing…
Kate
  • 23
  • 2
0
votes
2 answers

How to define SWRL rule name in Protege 4?

I utilized 'Rules' view in Protege 4 I think if protege support to define rule name. Rule: // syntax color is changed I defined rule like this 'context data'(?data), user(?user) -> hasData(?user, ?data) And I tried to define rule name.. but…
Dayamre
  • 1,907
  • 2
  • 13
  • 10
0
votes
2 answers

Difference between reasoners in Protege 5.0.0

I have build a small ontology in Protege 5.0.0. When I run Hermit 1.3.8.3 reasoner, it outputs status as: Initializing the reasoner by performing the following steps: class hierarchy object property hierarchy data property hierarchy class…
Haroon Lone
  • 2,837
  • 5
  • 29
  • 65
0
votes
0 answers

Unsuccessful Query with SPARQL and Protégé

I'm practicing on Protégé with a small Ontology detailing the House of Noldor from Lord of the Ring. (Really, it's just a fancy family tree.) You can find it Here Note: The class names are in italian, due to me having to present this to my…
Kay
  • 13
  • 3