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

Add RDFa using own RDF Schema

I want to create an RDFS ontology describing some specific classes and properties. Then I want to add RDFa into HTML with the vocabulary I defined in RDFS. I know that we need to provide a URL to the vocabulary in RDFa, but I am not sure where to…
Echan
  • 1,395
  • 14
  • 15
0
votes
1 answer

When to use the subclass in RDFS?

I want to create a RDFS schema about venue info which contains for example: only photo and address info. I find another schema about it: https://schema.org/Place. It contains more properties than I need. So, should I make my schema venue as a…
AlexWei
  • 1,093
  • 2
  • 8
  • 32
0
votes
1 answer

verify an example about how the rdf and rdfs related?

There are similar questions and answers. However, none of previous gave examples. Here is rdfs code.
AlexWei
  • 1,093
  • 2
  • 8
  • 32
0
votes
1 answer

SPARQL query for Dublin Core

I'm new in the field of ontology. I'm using the Dublin Core as an additional ontology to the ontology that I'm creating which is a curriculum ontology. But, I'm having trouble on how I can retrieve certain information. For example, I have a class…
Rocky
  • 429
  • 1
  • 9
  • 26
0
votes
1 answer

Got a Fatal Error when validating a rdf

I Put the code that is shown below in a rdf vaildator http://www.w3.org/RDF/Validator/ and got an (FatalError: The entity "xsd" was referenced, but not declared) i am not sure why i got this.
0
votes
1 answer

How to filter a SPARQL query by a property's class

Is it possible to query a filter a SPARQL query by the class of one of its properties? I have an ontology which describes films, and I wish to display all films which were filmed in Europe. The current SPARQL query is as below: PREFIX rdf:…
Alex King
  • 180
  • 6
  • 17
0
votes
1 answer

RDF XML dog properties

I am trying to create an ontology for animals in RDF(S) XML.In my graph I have currently classes, subclasses and instances. For example I have a class "dog". How can I define for the class dog that dogs have: four legs, and that they have…
user3810730
0
votes
1 answer

Store data in virtuoso triple store using Jena API

WHAT: I have an ontology and a dataset in CSV format. I want to store this data (in triple format) in virtuoso triple store, so that I can use it in my application. It might be the case that I need to reason over the stored data. APPROACH: Read…
Haroon Lone
  • 2,837
  • 5
  • 29
  • 65
0
votes
1 answer

Protege SWRL rules

I've been trying to define rules in my ontology to infer that if a person has friends who are friends amongst each other then all are friends, but if 1 or more are not friends to each other then my ontology will infer that they all, are not…
0
votes
1 answer

OWL, define class by data property

for learning purposes for my uni I'm learning about OWL. I'm trying to automaticly classify individuals based on subclass necessary & sufficient conditions. Now, I have a class smartphone, which has the individual "x" which has a data property…
vincent kleine
  • 724
  • 1
  • 6
  • 22
0
votes
1 answer

Creating an OWL sub-class based on the equality of two object properties

Consider that I have classes A and B in OWL. There are two different object properties P1 and P2 whose ranges are class C and domains A and B respectively. I want to create a class D which represents any A that contains an object property P1 whose…
user1364591
  • 83
  • 1
  • 6
0
votes
1 answer

How to access parent properties of a child class in rdf with sparql?

I'm trying to access to the property inherited of a parent class in RDF. I define an instance of my child class using the rdfs property subClassOf. With a turtle syntax : ex:myClass1 a owl:class; rdfs:range xsd:integer. ex:myClass2…
Thibaut Guirimand
  • 851
  • 10
  • 33
0
votes
1 answer

Jena RDFS reasoning not returning expected results

I have the following two triples: . . And the…
Valentino
  • 162
  • 1
  • 6
0
votes
0 answers

Is GoodRelations yet actual or there are other newer alternatives?

I found GoodRelations and thinking about its implementation on some projects. But i have seen that the last update is on 2011. So, my question is: is GoodRelations yet actual or in the meantime are emerged other more valuable and used…
Aerendir
  • 6,152
  • 9
  • 55
  • 108
0
votes
2 answers

How can I distinguish an axiom from an inferred statement in a Jena RDFS-INF model?

When I create a RDFS_MEM_RDFS_INF model in Jena and read some RDFS-File, a number of statements, that were not explicitly stated in the file are added. E.g. if we have a triple a p b and p is a rdfs:subPropertyOf q, than a q b is also in the…