ontology

OWL ObjectProperty loading as annotation in Protégé

时间秒杀一切 提交于 2019-12-05 02:55:37
问题 I'm trying to load an ontology in Protégé but it is not processed as expected. Most problematic is that all the Object and Data Properties appear as Annotation instead of Data Property and Object Property. I have an Object Property kingdom : <owl:ObjectProperty rdf:about="&wo;kingdom"> <rdfs:label xml:lang="en">kingdom</rdfs:label> <rdfs:comment xml:lang="en">associates a taxon rank with a kingdom</rdfs:comment> <vs:term_status>testing</vs:term_status> <rdfs:range rdf:resource="&wo;Kingdom"/>

Programmatically generating OWL class hierarchy with Jena

风流意气都作罢 提交于 2019-12-04 20:06:10
I want to programmatically generate an ontology using OWL by supplying a vector. My goal is to be able to open the produced OWL file in Protégé and make use of Jena. Input Vector The vector which i want to pass: [[layer, network layer, data link layer, physical layer], [network, computer network], [data link], [ontology, ontology extraction]]. Expected Output The output should have the following tree-like hierarchy structure: layer -network layer -data link layer -physical layer network -computer network ontology -ontology extraction data link The hierarchical structure, where network layer is

Can a class in one context be considered an instance in another?

北慕城南 提交于 2019-12-04 19:35:01
In a knowledge representation system like RDF, which is based on creating ontological hierarchies, can a class in one context be considered an instance in another? Take the example of a triplestore which contains a library catalogue. It may contain statements such as: :Book a rdfs:Class :gullivers_travels a :Book :moby_dick a :Book This makes sense, but in another context, you may want to itemize the various editions of Moby Dick , and so it may also make sense to treat it as a class, e.g.: :moby_dick a rdfs:Class :moby_dick_manuscript a :moby_dick :moby_dick_first_edition a :moby_dick :moby

How do I include pronouns and other types of words in Wordnet?

只愿长相守 提交于 2019-12-04 18:04:24
I am using Princeton's WordNet for an application, but there is no support for pronouns, conjunctions, and several other types of words within the database. Does anybody know if there is a way to supplement the Wordnet database with these types of words? Thanks, Ted First, they're missing since WordNet only contains the open-class words as described in their page: Q. Why is WordNet missing: of, an, the, and, about, above, because, etc. A. WordNet only contains "open-class words": nouns, verbs, adjectives, and adverbs. Thus, excluded words include determiners, prepositions, pronouns,

SPARQL Get all the properties from a Class or an Individual

梦想的初衷 提交于 2019-12-04 18:01:35
What I want to do is to get the property list from the Individual1 or from a class, Get all properties from "something" The result should be something like this (for Secret_Data): | Asset_has_Confidentiality_Importance | High | | Asset_has_Availability_Importance....| Moderate | | Asset_has_Integrity_Importance.......| Moderate | | Asset_threatenedBy_ThreatEvent.......| Compromise_sensitive_information | | Asset_threatenedBy_ThreatEvent.......| Disclosure_of_sensitive_information | | Asset_threatenedBy_ThreatEvent.......| Exploit_exposed_unauthorized_information | | Asset_threatenedBy

How to create owl file using JENA?

雨燕双飞 提交于 2019-12-04 17:03:12
I am stuck in the middle of ontology creation. I want to create an OWL file using Java which is my objective. I have created the hierarchical clusters but now I have to use those clusters in ontology creation. Thanks in advance. I have tried this so far. I got Dickinson's point. Now this is my code and I am getting an Exception as Exception in thread "main" com.hp.hpl.jena.shared.BadURIException: Only well-formed absolute URIrefs can be included in RDF/XML output: Code: 57/REQUIRED_COMPONENT_MISSING in SCHEME: A component that is required by the scheme is missing. JenaOwl.java public class

OWL Ontology Predicate Logic with Jena

可紊 提交于 2019-12-04 16:01:36
I'm having trouble expressing the following situation in my Ontology: Suppose I have four people voting and four votes (so there is a one-to-one mapping between vote and voter). People can either vote yes or no. If I know the outcome of three people's votes, I ought to be able to deduce the fourth person's vote. So to reiterate: John, Bob, Mary, and Carol each vote. Since there are four people there are four votes. The outcome of the vote is a tie (2 yes, and 2 no). Later on the reasoner determines that Bob and John voted no. The reasoner should then be able to deduce that Mary and Carol voted

Is Ontology File created in Protege with RDF/XML Format a RDF file or the OWL file?

白昼怎懂夜的黑 提交于 2019-12-04 08:43:05
I have created the ontology file in the Protege and save it in the RDF/XML format. It also contains the OWL tag. So, the ontology file created by Protege and saved as RDF/XML format are actually the RDF files or the RDF form of the OWL files or the OWL format containing the RDF also or something else ? <?xml version="1.0"?> <!DOCTYPE rdf:RDF [ <!ENTITY owl "http://www.w3.org/2002/07/owl#" > <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" > <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" > <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" > ]> <rdf:RDF xmlns="http://www

What is the difference between DatatypeProperty, ObjectProperty, & FunctionalProperty, and when should I use them?

戏子无情 提交于 2019-12-04 07:48:34
问题 When writing an ontology, there are several very commonly used types, including: DatatypeProperty ObjectProperty FunctionalProperty InverseFunctionalProperty The first three kinda look like they'd be used in a particular set of ways, but I find my idea of them being challenged by how I've seen them used in FOAF. When should each of them be used or not be used? 回答1: The first two of these, DatatypeProperty and ObjectProperty, describe what kind of values a triple with the property should have.

Measuring distances among classes in RDF/OWL graphs

被刻印的时光 ゝ 提交于 2019-12-04 06:47:05
Maybe someone could give me a hint. Is it possible to measure the distance between 2 concepts/classes that belong to the same ontology? For example, let's suppose I have an ontology with the Astronomy class and the Telescope class. There is a link between both, but it is not a direct link. Astronomy has a parent class called Science, and Telescope has a parent class called Optical Instrument which belongs to its parent called Instrumentation, that is related to a class called Empirical Science that finally belongs to a class called Science. So there is an indirect link between Telescope and