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

RDF Schema - how to create instances?

I want to have instances of classes in my RDFS file, but I don't know how to do it. My class: My property:
mystery-user
  • 105
  • 1
  • 2
  • 11
3
votes
2 answers

Remove time from datetime in spaqrl

I am writing a query in SPARQL and I want to compare the date value without the time. Currently, I am getting a datetime value such as 2014-08-14T13:00:00Z. However, I want to do a filter on the date such as FILTER (?date =…
user4432964
3
votes
2 answers

How can I put fit 4 items into a RDF triple?

I have this table, representing the refugee population for each country in each year. | Country | 2000 | 2001 | 2002 | 2003 | |---------|-------|-------|-------|-------| | USA | 56213 | 67216 | 67233 | 12367 | | Chile | 26137 | 12345 |…
ZHICHU ZHENG
  • 301
  • 2
  • 3
  • 8
3
votes
1 answer

SPARQL CONCAT() and STR() with CONSTRUCT

I am creating an RDF graph by using SPARQL CONSTRUCT statement. Following is my query: prefix map: <#> prefix db: <> prefix vocab: prefix rdf: prefix rdfs:…
Beautiful Mind
  • 5,828
  • 4
  • 23
  • 42
3
votes
1 answer

Reasoning doesn't give same results with *

I am enabling Forward chaining like this: static final String inputData = "http://cgi.di.uoa.gr/~pms509/past_projects/2014-2015/hw1/kallikratis.n3"; MemoryStore store = new MemoryStore(); Repository repo = new SailRepository(new…
gsamaras
  • 71,951
  • 46
  • 188
  • 305
3
votes
1 answer

How to define an rdfs:range target in a list of possibilities?

I'm trying to declare a property phs:hasTheValue to add a boolean or an integer to an object. Currently, I've wrote this code to define the property. phs:hasTheValue a rdf:Property; rdfs:range [ a owl:DataRange; …
Thibaut Guirimand
  • 851
  • 10
  • 33
3
votes
1 answer

What is the difference between XMLSchema and RDFSchema?

I read a few articles about it but i'm not so sure if i got it right! Reading this article i think that the main difference is that RDF describes a data model (and rdfs the meaning of the vocabulary) in difference to xml which just structures…
Bergrebell
  • 4,263
  • 4
  • 40
  • 53
3
votes
1 answer

Where do I get the actual codes of FOAF vocabularies?

The page http://xmlns.com/foaf/spec/ discusses the FOAF vocabularies. Details of the terms are discussed in the same page (e.g. http://xmlns.com/foaf/spec/#term_Person). But if I am looking for the actual rdfs code of a class or property, where do I…
Masroor
  • 886
  • 1
  • 8
  • 23
3
votes
1 answer

How can one extract rdf:about or rdf:ID properties from triples using SPARQL?

It seemed a trivial matter at the beginning but so far I have not managed to get the unique identifier for a given resource using SPARQL. What I mean is given, e.g., rdf:Description rdf:about="http://..." and then some properties identifying this…
Piotr Murach
  • 547
  • 6
  • 10
3
votes
2 answers

Why must rdf:dataType subclass rdf:Class in RDF?

From RDF Schema 1.1 2.4 rdfs:Datatype rdfs:Datatype is the class of datatypes. All instances of rdfs:Datatype correspond to the RDF model of a datatype described in the RDF Concepts specification [RDF11-CONCEPTS]. rdfs:Datatype is both an…
Francis M. Bacon
  • 665
  • 7
  • 20
3
votes
1 answer

MongoDB and RDF

I have to use our production database MongoDB to store RDF triples and one related RDFs Schema. 1) MongoDB is only key-valued, so how I can create one collection which fit with one RDF Schema? 2) How I can represent triples in JSON ? 3) Is there any…
user3676228
  • 49
  • 1
  • 4
3
votes
1 answer

RDFS - declaring properties

I am very new to working with semantic data and have a quick question that i cant find an answer to. When creating an rdf schema are you essentially creating a class as per OOP i.e. declaring all properties etc that are valid. If this is the case…
David
  • 33
  • 2
3
votes
1 answer

Jena multiple rdfs:label

I'm new to Jena and Owl I was given an ontology. I can open it with Protege 4.2 without any problems but when I try to open it with Jena I get: Exception in thread "main" org.apache.jena.riot.RiotException: {E201} Multiple children of property…
charly
  • 956
  • 13
  • 23
3
votes
2 answers

How do I state in OWL that a Property must have a set of ordered values?

How do I state in OWL that a Property must have a set of ordered values? For example: a Programme must have an rdf:Seq of Series, and a Series must have an rdf:Seq of Episodes? The http://purl.org/ontology/po/ ontology uses the property…
Thomas Grainger
  • 2,271
  • 27
  • 34
3
votes
1 answer

How validate a CIM RDF

I'm work with the Common Information Model and we are using RDF Files to represent eletrical substations. But I have found some problems to validate a file RDF with your RDF Schema. I need help in this problem. Somebody knows how to do that using…
awgustavo
  • 101
  • 1
  • 6