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
0
votes
0 answers

Representing a class that is a property of another class in RDF Schema using N3

I have the folowing RDF Schema @prefix rdf: . @prefix rdfs: . @prefix mynamespace: . example:Car a rdfs:Class . example:Wheel a…
regmoraes
  • 5,329
  • 3
  • 24
  • 33
0
votes
2 answers

RDFS: can this statement be inferred?

If there exists an RDFS triple: shop:Zara rdfs:subClassOf shop:Clothes Can the statement: shop:Zara rdf:type shop:Clothes be inferred?
Tai
  • 101
  • 1
  • 1
  • 10
0
votes
1 answer

Extract RDF from LinkedIn profiles if it is using RDF

Does LinkedIn using RDF for profiles and if yes, how it can be extracted? Normal extractors respond empty pages which means there is no RDF on that page.
Hamed MP
  • 5,443
  • 3
  • 39
  • 37
0
votes
1 answer

Printing Superclasses of Pizza ontology using OWL-API and Hermit

I try to print the Superclasses of standard Pizza ontology downloaded from here . I am using OWL API 3.4.3 and Hermit 1.3.8.1 (reasoner). The following code snippet is used to print the required Superclasses of class "Food". OWLOntologyManager…
R_Bro
  • 21
  • 1
0
votes
0 answers

How to simulate or change the GROUP BY in an SPARQL Query?

I have executed successfully this query in D2RQ, but, since performance problems I'm using now Ontop which performs faster but it does not support aggregated functions like GROUP BY, which in the case of this query is key to get the desired results.…
Caleb
  • 179
  • 2
  • 17
0
votes
1 answer

How to express "all members of containers of class C must be of class M" in rdfs?

I have these triples (expressed in turtle): :C rdf:subClassOf rdfs:Container. :M a rdfs:Class. How do i specify that only instances of :M can be members of :C? I looked through this, but couldn't find the answer.
0
votes
0 answers

How to display rdfs:comment of DBpedia resource

I have Questions and Answers classes in my owl file. This is a sort of quiz game and if user chooses wrong answer, I want to display the rdfs:comment about that resource from DBpedia. Like, What is capital of Spain? here I include rdfs:comment of…
s.shah
  • 21
  • 6
0
votes
1 answer

Correct subproperty relation of OWL data properties

I'm building an ontology and I need to create the same semantic relation (the name of the relation is the same as well as the meaning in the domain) between different classes of elements. For example: o:ClassA o:hasSemanticRelation xsd:string …
Caleb
  • 179
  • 2
  • 17
0
votes
1 answer

Property without class in RDF

I have a class Person. It has two properties hasAge and hasZipCode. :Person :hasAge :hasZipCode I would like to say that hasAge and hasZipCode are sub-properties of hasColumn property. Hence I mentioned it like…
Beautiful Mind
  • 5,828
  • 4
  • 23
  • 42
0
votes
1 answer

How to get values for time intervals of hours in one day in SPARQL

I have a simple RDF Graph with the following form v:order1 v:time "2016-01-18T04:00:01.536"^^xsd:dateTime . v:order1 v:value "3118915.75"^^xsd:string . ... v:orderN v:time …
Caleb
  • 179
  • 2
  • 17
0
votes
1 answer

Property and Attribute meaning difference in RDF/OWL

In RDF/OWL, the meaning of property and attribute are same, or is it different?
Beautiful Mind
  • 5,828
  • 4
  • 23
  • 42
0
votes
1 answer

SPARQL HTML result displaying in next line

I'm executing SPARQL query on virtuoso SPARQL editor. The result of query in HTML format is displaying in next line for each corresponding record as shown on below image: Kindly advise how to resolve this display issue. Here is the SPARQL…
Viki
  • 107
  • 1
  • 8
0
votes
0 answers

Check class of a resource in Jena

To check if a resource is a class etc I can do like this: OntModel onto = onto.getOntology(); if (onto.getOntResource(s).isClass()) OntClass c = onto.getOntResource(s).asClass(); if (onto.getOntResource(s).isProperty()) { …
ruben
  • 1,745
  • 5
  • 25
  • 47
0
votes
1 answer

The role of RDFS axioms and entailment rules in semantic modelling

I have some trouble in understanding the differences between axioms and entailment rules in RDFS. Are axioms basically the structure of the model and the entailment rules the values added to it?
Michael
  • 1,030
  • 14
  • 29
0
votes
1 answer

Protege how to set RDF:Property as the range of a property

I have a property that its range must be just instances (or call them classes if you want) of RDF:Property On protege I couldn't write the range as RDF:Property, how can I solve it please? What I am thinking on is making the range as…
Ania David
  • 1,168
  • 1
  • 15
  • 36