owl

Is there a Python library to handle OWL? [closed]

放肆的年华 提交于 2019-12-03 04:42:41
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . It could be something as big as Jena or something smaller. Do you know anything? 回答1: Most people use rdflib, but that focuses on RDF, not OWL. 回答2: What looks to be the only current and active open source package: FuXi 1.0: A Python-based, bi-directional logical reasoning system for the semantic web This is a

How to relate each instance of class with each instance of another class?

☆樱花仙子☆ 提交于 2019-12-03 04:01:18
The general problem I'm working on a simple ontology, using Protégé 4.3 and trying to create a model such that every instance of a class C has some particular value v , which is an instance of a class V , for a given property p . I can get this inference using an axiom C subClassOf (p value v) but I think I want to be able to state this more along the lines of a C subClassOf (p some V) because I'd actually like each instance of C to be related to every instance of V . A specific example My example is automobiles and actions — I want to create a set of actions for automobiles. When I create new

Which Triplestore for rapid semantic web development?

喜欢而已 提交于 2019-12-03 03:56:55
问题 Ease of installation/use is the most important factor here - not performance. Small is OK as large datasets are not expected. 回答1: I'd also recommend sesame, its lightweight, pretty easy to install, and provides good performance for small datasets. Query performance is far better with Sesame 1.2.x than Sesame 2.x because of the addition of context support to the 2.x series. I've tested sesame installation/deployment with tomcat, resin, and jetty, and it worked easily with all of them. I don't

How to query RDF/OWL using SWI-Prolog's Semantic Web Library?

爷,独闯天下 提交于 2019-12-03 03:52:25
How can I use the SWI-Prolog Semantic Web Library to make a query into the OWL/RDF file and extract some information? The OWL/RDF file is having information about all the Debian packages so I need to make the query in order to find package dependencies. For Example: The OWL file is structured as follows: package: A Depends: package: B pacakge: C How can I load a OWL/RDF file into a Prolog script and what is the syntax to make a query within the Prolog script such that I put A as a parameter and the script outputs B and C? This is how you load the semweb library: ?- use_module(library(semweb

Is there any killer application for Ontology/semantics/OWL/RDF yet? [closed]

旧巷老猫 提交于 2019-12-03 02:46:40
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I got interested in semantic technologies after reading a lot of books, blogs and articles on the net saying that it would make data machine-understandable, allow intelligent agents make great reasoning, automated & dynamic service composition etc.. I am still reading the same stuff from 2 years. The number of

Representing Natural Language as RDF

落花浮王杯 提交于 2019-12-03 02:32:47
How much of the concepts conveyed in natural language is RDF/OWL able to represent? I'm still learning RDF and other semantic technologies, but as I currently understand it, information is typically represented as triples of the form (subject,predicate,object). So I can imagine how the sentence "Bob has a hat" might be represented. However, how would you represent a more complicated sentence like "Bob, over on 42nd street, will have a job at the Mall after the owner approves"? Are there conventions for tags representing nouns/verbs/ownership/causality/tense/etc? Note, I'm not asking how to

What's needed to make this inference?

北战南征 提交于 2019-12-02 22:40:50
问题 If I want to infer that "Obama bornIn USA" from these facts: Obama bornIn Hawaii Hawaii partOf USA Are these two facts sufficient to make the inference? If yes, should RDFS or OWL be used to represent the facts? Is there some online SPARQL tool that I can quickly test those facts specification and inference based on the facts? 回答1: Nobody knows what is bornIn or partOf . You should find an appropriate ontology or model this stuff yourself. There are several ways to do it. OWL 2 capabilities

Data range expression for an enumeration in Protégé

我与影子孤独终老i 提交于 2019-12-02 21:30:55
问题 I would like to define the range of a data type property as an exhaustive enumeration of strings, in a way that an individual could have as value of this property only one of the strings in the enumeration. For example, a data type property called "color", which can assume only 3 values: "Red", "Green" and "Blue". I'm using OWL 2, and Protégé 5.0. Is there an easy way of doind that using Protégé? 回答1: I don't seem to be able to find an exact duplicate question, though I think that this may

SWRL tab in Protege 4

好久不见. 提交于 2019-12-02 21:27:40
The protege SWRL tab is not available in Protege 4 versions, I have tried both protege 4.1 and protege 4.2. The axiome plugin mentioned to edit the SWRL rules in protege has been said to work only in protege 3 versions. Can anyone tell me plugins or procedure to include the plugin to edit SWRL rules in protege? SWRL rules can be edited in Protégé 4, but not with a nice interface like in Protégé 3. If you go to menu Window -> Views -> Ontology views, there is an option Rules. Select it and add it as a "view", i.e., a rectangle in the current tab. Rules are written like this: parent(?x,?y),

Conversion from OWLOntology to Jena Model in Java

两盒软妹~` 提交于 2019-12-02 17:59:38
问题 I need to convert data from OWLOntology object(part of OWL api) to Model object(part of Jena Api). My Java program should be able to load owl file and send its content to fuseki server. According to what I read, working with fuseki server via Java program is possible only with Jena Api, that's why I use it. So I found some example of sending ontologies to fuseki server using Jena api, and modified it to this function : private static void sendOntologyToFuseki(DatasetAccessor accessor,