Questions tagged [rdfs]

RDF Schema is a set of classes using the RDF extensible knowledge representation language, providing basic elements for the description of ontologies, otherwise called RDF vocabularies, intended to structure RDF resources.

RDF Schema (variously abbreviated as RDFS, RDF(S), RDF-S or RDF/S) is a set of classes with certain properties using the RDF extensible knowledge representation language, providing basic elements for the description of ontologies, otherwise called RDF vocabularies, intended to structure RDF resources. These resources can be saved in a triplestore to reach them with the query language SPARQL.

Resources

491 questions
3
votes
3 answers

How to encode a RDF/XML of simple interest

I am a beginner in writing a RDF schema and was wondering how should I make a good use of URI concept and create a RDFs doc of simple interest. I am trying to create a RDF of following statement- Jeffy is a Graduate student Jeffy likes yoga Jeffy is…
AKIWEB
  • 19,008
  • 67
  • 180
  • 294
3
votes
1 answer

How to convert XSD Simple Type to rdfs:Datatype using Jena

Suppose I have an XSD file having below lines of code; What I am trying to do is to convert this xsd…
atakan
  • 133
  • 1
  • 1
  • 8
2
votes
2 answers

How to define the domain of a property in OWL?

I want to build an ontology to deal with persons infected or not infected by diseases:
Fopa Léon Constantin
  • 11,863
  • 8
  • 48
  • 82
2
votes
1 answer

to parse .rdfs file

below is my .rdfs file. i need to get YYYY if my input is XXXX. How do i do it. my code: StmtIterator iter =…
Raj
  • 440
  • 2
  • 6
  • 22
2
votes
0 answers

Verify rdf:Container(rdf:Seq) using shacl constraints

I am currently trying to build a constraint validation shape for an incoming object of the type rdf:Seq. The shacl shapes I have used, use the path to identify triple and then add additional constraint validations on datatype, length and count. But,…
Shri
  • 51
  • 4
2
votes
1 answer

Retrieve objects from RDF triples

With the following snippet from the pizza ontology:
gedman
  • 63
  • 5
2
votes
1 answer

Class propagation via inference using OWL ontology

I'm trying to write an ontology that will propagate certain classes between connected nodes. Such connection can be done by any property. The propagation should be in the direction of the domains of such properties. For example: Node A -(any…
2
votes
3 answers

RDF/XML using Jena

How can I generate the following RDF/XML using Jena?
M.M
  • 1,343
  • 7
  • 20
  • 49
2
votes
0 answers

owlready2 rdfs:subClassOf inference doesn't work

I created an rdflib graph and serialised it into an owl file formatted as XML. I explicitly write A RDF.type RDFS.Class and B RDFS.subClassOf A. After I do this. onto =…
lamename
  • 31
  • 2
2
votes
1 answer

Inconsistency in RDFS entailment regime

The document for SPARQL 1.1 Entailment Regimes asserts that it is possible to produce an inconsistent graph, moreover there is a single source of the inconsistency: rdf:XMLLiteral: ex:a ex:b "<"^^rdf:XMLLiteral . ex:b rdfs:range rdf:XMLLiteral…
IS4
  • 11,945
  • 2
  • 47
  • 86
2
votes
1 answer

SPARQL query to get all the "leaf" classes / lowest level classes

I feel like I'm missing something rather obvious. I would like to query my graph so that I get all the "leafs", so any class that does not have a subclass. Basically, I need the inverse of rdfs:hasSubClass (I tried rdfs:superClassOf but it doesn't…
Robin
  • 135
  • 10
2
votes
1 answer

How can owl:equivalentClass be defined in terms of owl:symmetricProperty, rdfs:subPropertyOf, and rdfs:subClassOf?

In reading the book Semantic Web for the Working Ontologist I have come across an example that I cannot wrap my head around. owl:equivalenceClass can be defined in terms of these two triples: owl:equivalentClass rdf:type…
Nicholas Hubbard
  • 527
  • 2
  • 15
2
votes
1 answer

What does rdfs:domain and rdfs:range mean?

I simply do not understand what either rdfs:domain and rdfs:range mean. I have read what is says here, but it isn't clear enough. If someone could explain it with an example, that would be great.
Jake Jackson
  • 1,055
  • 1
  • 12
  • 34
2
votes
1 answer

RDF OWL - Can a statement be used as object of another statement?

I'm learning about semantic web, and I'm trying to have a clear understanding of the possibilities and limitations of such a technology, and so far it looks very interesting !! I was wondering about a use case, but not sure if it is possible to…
Erick Hupin
  • 162
  • 7
2
votes
1 answer

Turtle: Difference between "rdf:type" and "a"

I tried to figure out the difference between: <#blabla> rdf:type owl:Class and: <#blabla> a owl:Class Is a just a shortcut for rdf:type?