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
2
votes
1 answer

RDF : Is it possible to set the range of a property to a literal in Turtle

I m very new to RDF. I want to know if it is ok to write something like this ? a rdf:Property rdfs:domain ; rdfs:range xsd:String ;
2
votes
0 answers

SPARQL paths where the subject and object are not of the same class

For some data in this sample schema, I want to find all possible "trip lineages". For example: trips 2-4 form a lineage when the passenger of the previous trip is the driver of the next trip. In this oversimplified example you could obviously add a…
mkk
  • 879
  • 6
  • 19
2
votes
2 answers

C# - Converting a RDF file to specific XML file

We have a requirement in which we need to convert a given rdf file into a specific xml file. So we have three inputs RDFS file, RDF file and XSD file. With these we need to create XML file (which should conform to the XSD) having the data of the RDF…
Jayanta Dey
  • 307
  • 1
  • 9
2
votes
1 answer

OWL 2 QL vs. RDFS

In the W3C explanation of OWL 2 QL it is mentioned that In particular, this profile (i.e OWL 2 QL) contains the intersection of RDFS and OWL 2 DL. This sentence is confusing me and I was wondering if somebody can clarify it. Does this mean that…
Bahar
  • 770
  • 5
  • 18
2
votes
1 answer

Why is rdfs:XMLLiteral a class and an instance?

I am new in the field and I am a bit confused about the definition of the RDFS vocabulary. Specifically, the vocabulary defines that rdfs:XMLLiteral, which is a class, is the subclass of rdfs:Literal (rdfs:XMLLiteral and rdfs:Literal are connected…
Chengke Wu
  • 21
  • 1
2
votes
1 answer

OWL rdfs:langString maxCardinality per language

Is it possible in OWL to have a maximum cardinality restriction on a language property, which would limit the cardinality per language. For example, I only want at most one dct:title per language. So, :demo dct:title "Demo"@en, "Demo"@nl. would be…
Natan Cox
  • 1,495
  • 2
  • 15
  • 28
2
votes
1 answer

SHACL Validation Error for External Resources

I have a SHACL schema that is written to validate research variables. { "@id": "m:VariableShape", "@type": "sh:NodeShape", "targetClass": "pplan:Variable", "property": [ { "path": "m:dataType", "class" : "rdfs:Datatype", …
Ehsan
  • 561
  • 1
  • 6
  • 21
2
votes
0 answers

How to choose the profile for an ontology in OWL 2

I know that OWL 2 has three main profiles: EL, QL and RL. My question is, how to choose the profile when I'm starting to build my ontology. Is there any easy way to shoose this when we use Protege for building the ontology?
Zaratruta
  • 2,097
  • 2
  • 20
  • 26
2
votes
1 answer

SPARQL: how to transfer owl:equivalentClass to rdfs:subClassOf (owl:Restriction) properties?

My question is about using SPARQL to query some owl ontology where owl:Restrictions are heavily used (in my case this is the "Cell Ontology"). Here is an example of some typical entry (in Turtle format, extracted from the above mentioned…
gpotdevin
  • 33
  • 7
2
votes
1 answer

How to Sparql INSERT in TopBraid Composer?

I'm trying to insert new classes by using Sparql in TopBraid Composer (ME 5.5.2). My simple ontology looks like this: Then I wrote a Sparql query to insert Berry as a subclass of Fruit: PREFIX ft:…
vw511
  • 171
  • 10
2
votes
1 answer

Modelling RDF item features as subclasses or as references to other individuals

I'm wondering what are the implications (i.e., benefits and drawbacks) of modelling RDF item features as: classes (i.e., individuals belonging to a subclass) individuals referring to another abstract individual representing a feature. I don't want…
floatingpurr
  • 7,749
  • 9
  • 46
  • 106
2
votes
1 answer

Model theoretic semantics of statement identifiers in RDF 1.1 Semantics

I want to formailze the semantics of adding statement identifiers to RDF. The purpose of these identifiers is to denote statements and be used to reify those statement so that one can make assertions about them, add attributes to them etc. (1). They…
tom lurge
  • 105
  • 2
  • 10
2
votes
2 answers

Where to define AllDisjointClasses in Protege

i m learning owl and i see example in https://www.w3.org/TR/owl2-primer/ [] rdf:type owl:AllDisjointClasses ; owl:members ( :Woman :Man ) . wonder where to define AllDisjointClasses on protege class view? there's a Disjoint With on each…
crapthings
  • 2,485
  • 3
  • 20
  • 33
2
votes
0 answers

How to define a List property in RDFS/OWL?

To define a property that is a string we can use: ex:name rdf:type owl:DatatypeProperty ; rdfs:domain ex:Person ; rdfs:range xsd:string . To define a property that is a list we can use: ex:colors rdf:type owl:DatatypeProperty ; rdfs:domain…
2
votes
1 answer

OWL rdfs:langString and restricting its allowed languages

Is it possible in OWL to restrict a Property with a range like demo:property rdfs:range rdf:langString so that we only allow "en" and "de" as languages? So demo:object demo:property "hello"@en would be allowed, but demo:object demo:property…
Natan Cox
  • 1,495
  • 2
  • 15
  • 28