504 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
108
views
How to relate "equivalent" concepts that are not both classes?
I have two ontologies. The concept of "Level" is defined in different ways, but they are "equivalent". In ont1, "Level" is an owl:Class, while in ont2 it is defined as a ...
2
votes
0
answers
71
views
How to retrieve individuals by matching a subset of their asserted datatype properties?
I have an ontology with many individuals that are each described by various datatype properties, however, the numbers and types of asserted properties per individual are different. The only common ...
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 ...
3
votes
1
answer
184
views
Issue with sh:closed true in SHACL for Inherited Classes with Property Restrictions
I'm encountering an issue when using SHACL with sh:closed true in combination with inheritance. Specifically, the problem arises when a subclass has properties that the super class does not.
Here is ...
2
votes
1
answer
96
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: <...
3
votes
2
answers
93
views
Reasoning doesn't recognize subClassOf
in stardog studio, I have created a basic database. and added the following rdf data.
When I query this database with a reasoning "on", I don't find expected results.
I expect Alice, Charlie ...
1
vote
1
answer
84
views
SPARQL query returns 0 results when querying specific value in array
I am new to RDF and SPARQL, so i want to list all the Properties that https://schema.org/ListItem can have for example. This is the turtle file for https://schema.org/version/latest/schemaorg-current-...
0
votes
1
answer
53
views
TypeError: RepositoryClientConfig is not a constructor
I am using node.js version 21.7.1 and graphdb version 10.0.6 to query the 'movies' repository that is in the interactive guide, I am using that as a test. My question is can I getting an error that ...
1
vote
2
answers
339
views
RDF: when a property is used the thing in the object position is a literal of datatype X
In quite a few ontologies we have triples like this:
gist:containedText
a owl:DatatypeProperty ;
rdfs:range xsd:string ;
What they intend to express is that if you use that property (gist:...
3
votes
0
answers
110
views
How to select only direct subClassOf element in a GraphDB custom ruleset?
In a GraphDB custom ruleset, I need to access only the explicitly declared superclass of an element, but I can't find any predicate (like sesame:directSubClassOf), nor use the implicit/explicit ...
1
vote
1
answer
62
views
How to structure an OWL property that be "Nobody"?
I am attempting to create an OWL ontology that includes a claimedBy property that could be a person, organization, or similar "agent" (foaf:Agent essentially), or could be unowned (owl:Thing ...
1
vote
1
answer
101
views
Jena Riot infers invalid RDF (with literals as subjects)
I'm feeding RDF inferred by the Jena riot CLI tool into the shacl cli tool.
My schema definition contains something like this:
lob:account_number
rdfs:domain lob:Account;
rdfs:range xsd:string ...
2
votes
0
answers
82
views
changing cism: Stereotype rdf:resource when exporting RDFS File
I'm using schema composer Tool of EA with which I generate RDFS-Augmented files?
The person that uses these Files needs following:
cims:stereotype rdf:resource="http://iec.ch/TC57/NonStandard/UML#...
5
votes
1
answer
1k
views
When to use rdf:Type vs rdfs:subClassOf
I am fairly familiar with ontologies and OWL and use them all the time. But one idea has always eluded me and when I try to find a good answer there are always contradictions. That is, when to use rdf:...
0
votes
1
answer
372
views
Validating an JSON-LD JSON object against RDF
I have a JSON object that should be JSON-LD. I would like to programatically validate that is the case. The JSON-LD Spec has a @context and a @type that point a description document. In my particular ...