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

SPARQL query to find all sub classes and a super class of a given class

I need to write a SPARQL query to find a superclass/subclasses of a given class. For example, given http://139.91.183.30:9090/RDF/VRP/Examples/Phenomenon.rdf RDFS vocabulary file, I want to find the superclass of 'AcousticWave' (which is…
Ajinkya Kulkarni
  • 984
  • 2
  • 11
  • 19
7
votes
1 answer

Multiple domain and range in objectProperty?

I want to create an ontology with Protege that contains two classes, Animal and FatherAnimal, and the object property hasFather, with domain Animal and range FatherAnimal. Also, I create two other classes: Son and Father which are linked with the…
7
votes
1 answer

Why a class is written as rdfs:Class and a property is written as rdf:Property

There are numerous examples of this. Among the many, we can consider this one. The above one says, rdfs:Class declares a resource as a class for other resources. rdf:Property – the class of properties. Now, my question is, why is a class…
Masroor
  • 886
  • 1
  • 8
  • 23
7
votes
1 answer

How to exclude resources with a specific rdf:type from SPARQL results?

I have this query SPARQL that I ran on it.dbpedia.org/sparql: select ?resource where { ?resource rdfs:label "Piemonte"@it } I get this result: http://it.dbpedia.org/resource/Categoria:Piemonte http://it.dbpedia.org/resource/Piemonte I would like…
Musich87
  • 562
  • 1
  • 12
  • 31
6
votes
2 answers

RDFS vs SKOS, when to use what?

As I'm learning semantic-web & sparql, sensing that RDFS & SKOS seem to offer very similar semantic relations modeling capabilities. For example, RDFS - rdfs:subClassOf, rdfs:superClassOf can be used to model the hierarchy SKOS - skos:narrower,…
Sahas
  • 3,046
  • 6
  • 32
  • 53
6
votes
1 answer

How can generalized RDF triples easier show "the completeness of the RDFS entailment rules", and what does that even mean?

The W3C Recommendation RDF 1.1 Concepts and Abstract Syntax defines what a generalized RDF triple is (i.e., a non-standard triple where each of subject/predicate/object can be a IRI/bnode/literal). About its possible use, it gives this example: It…
unor
  • 92,415
  • 26
  • 211
  • 360
6
votes
2 answers

Proper use of rdfs:subPropertyOf

I would like to represent the following relationships using rdf and rdfs: "Assessment Technique" (AT) has a property of "Assessment Characteristics" (AC). In a database, this would be represented by there being two tables, one for AT and the other…
Paul Courtney
  • 119
  • 2
  • 9
5
votes
2 answers

What's the preferred RDF toolset for Ruby?

What's the best Ruby library for working with RDF and SPARQL? I saw some other related questions but they were over two years old.
Edwin
  • 69
  • 3
5
votes
3 answers

N3 notation to RDF/XML

I have to sample N3 and I need to convert it to the corresponds RDF/XML format please , any help ? crop:AttributeValue a rdfs:Class . crop:SomeValue a rdfs:Class; rdfs:subClassOf crops:AttributeValue . crop:SomeValue/7 a crops:SomeValue . …
M.M
  • 1,343
  • 7
  • 20
  • 49
5
votes
1 answer

What is the difference between rdf:resource and rdfs:Resource?

In RDF 1.1 XML Syntax documentation rdf:resource is used as a shortened form when defining Empty Property Elements: When a predicate arc in an RDF graph points to an object node which has no further predicate arcs, which appears in RDF/XML as an…
giulio
  • 53
  • 4
5
votes
2 answers

Inference on Complex Classes in Protege

I want to make inferences such as the property represented by the grey-dotted line in this diagram: I have asserted a general axiom: (hasTaste some Bitter) SubClassOf: goesWellWith some (hasTaste some Sweet) where 'bitter' is of type Bitter and…
Wassadamo
  • 1,176
  • 12
  • 32
5
votes
2 answers

OWL how can I know if something should be class or instance?

I am trying to build an Ontology to represents properties (assets), the property should have a type such as villa or apartment ... My question is that I don't know if villa and apartment should be classes or instances. how can I know ? I am thinking…
Marco Dinatsoli
  • 10,322
  • 37
  • 139
  • 253
5
votes
1 answer

Ordering of entities in an ontology

I have a system that models some domain data in an ontology, the usual sort of triplestore. I've been looking around for a way to express plurality and ordering but haven't found anything via the googles. My main use case is something like one…
a p
  • 3,098
  • 2
  • 24
  • 46
5
votes
3 answers

Difference between rdf:seeAlso and rdfs:seeAlso

What is the difference between rdf:seeAlso and rdfs:seeAlso? When I can use rdf:seeAlso and when I can use rdfs:seeAlso? Can you do any examples?
user3582433
  • 85
  • 2
  • 8
5
votes
1 answer

RDFS vs. OWL Reasoners — Design considerations

I've read a number of RDF related questions here on StackOverflow that have an RDFS solution but also an OWL solution. (Notably, my own question) I understand the concept of a reasoner and that an OWL one is more thorough in inferring complex…
parliament
  • 21,544
  • 38
  • 148
  • 238
1
2
3
32 33