1,974 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
31
views
tag language not recognise as an implicit string in pellet
I checked the consistency of a graph and its associated ontology with Pellet, and Pellet raised an error related to a DatatypeProperty (Litteral) declared as a string in the ontology:
rdfs:range xsd:...
2
votes
0
answers
59
views
Why does this query timeout while this similar one does not?
I wanted to know for each president, in what state were they born, so I wrote this Wikidata query:
SELECT * WHERE {
# P31 = instance of
# Q5 = human (excludes fictional characters)
?president ...
0
votes
1
answer
71
views
Using RDF nodes from W3C standards in Linked Data ontologies
Is it good/tolerable practice to use elements from W3C standards in a (wannabe five-star) Linked Open Data Ontology?
For example, there is fo:region-body, which is an element of the XSL-FO standard (...
1
vote
1
answer
54
views
get URI part of instance in SWRL rules
I have some instances created by makeOWLThing , they have some random string, like abc123. They appear in protege as abc123 and in their details, their URI is example.com#abc123
How can I extract the ...
0
votes
0
answers
61
views
How Should I Represent Object Properties in an Ontology in Neo4j?
I have a pretty specific question relating to anyone who has built an ontology and brought it into Neo4j:
I am building an ontology and knowledge graph for a web application and wanting to store both ...
1
vote
1
answer
119
views
using swrlx:makeOWLThing creates wrong number of new individuals
In an owl file w Turtle syntax I have the following classes, properties and individuals
ss:State a owl:Class ;
rdfs:label "State" ;
rdfs:subClassOf <http://www.w3.org/...
1
vote
0
answers
62
views
owlready2 Pellet reasoner not inferring superclass assignments
Im using owlready2 for ontology engineering and reasoning. When I run the integrated Pellet reasoner it does not infer individuals belonging to superclasses of their assigned class. The minimum ...
1
vote
1
answer
63
views
How would you model that a potential relationship exists between two classes, but doesn't always?
I want to model that something may be, but is not guaranteed, to be true. For example, a house may have a garage, but not necessarily. And a garage may be part of a house, but not necessarily.
If I ...
0
votes
1
answer
82
views
rdflib converting a complex CSV to a Graph - chained objects
I'm fairly new to OWL and RDFlib, so my apologies if any of my terminology is off. I have a CSV that I'd like to convert into a knowledge graph, where each row becomes a sort of top level subject, and ...
1
vote
1
answer
47
views
How would the meaning of this Crop Ontology change if I replaced owl:someValuesFrom restriction by object property
I am currently trying to find out what meaning they want to tell me with the Crop Ontology and in the process learn something about Ontologies and OWL (I'm quite new to this topic). In there, owl:...
2
votes
1
answer
95
views
OWL2 Ontology creates a "ghost" RDFS ontology due to missing `#`
Let's query the code of OWL2 Ontology.
$ http --follow get http://www.w3.org/2002/07/owl# | grep -B30 'rdf-schema>'
⇒
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml: <...
1
vote
0
answers
49
views
Which time unit does graphdb's onto:measure uses?
The GraphDB docs states that if i want collect the execution time of a query a should use onto:measure like in the example bellow. However it doesn ́t states which time unit it returns neither if the ...
0
votes
0
answers
68
views
D2RQ JDBC driver for MYSQL MariaDB is deprecated
by using
d2rq 0.8.1
xampp 3.3.0 with 10.4.32-MariaDB
jdbc driver file mysql-connector-j-9.0.0.jar version: Connector/J 9.0.0
Java SDK: openjdk version "18" 2022年03月22日
OpenJDK Runtime ...
0
votes
0
answers
69
views
Generate OWL from RDF generated data
I have simple relational database tables
drugs (drug_id(PK), traditional_name, category, factory_id(FK) ....)
chemical composition (Id(PK), scientific_name, ... )
drugs_compositions (Id(pk), drug_id, ...
2
votes
1
answer
142
views
How the pattern of URIs for an rdf graph should look like
I want to build an rdf knowledge-graph, but I am still unsure which pattern to use in my URIs. Should I also differentiate my classes, instances and properties in the path, for example like this:
http:...