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

What is the difference between rdfs:Resource and rdfs:Class?

For example I have something like this in my application: class X { public Y doY(Z z){ //... } } x = new X(); z = new Z(); Y y = x.doY(z); //not necessary How can I describe this structure with RDF and RDFs? I tried to describe…
inf3rno
  • 24,976
  • 11
  • 115
  • 197
0
votes
2 answers

Jena & RDFS: Get property from external ontology

I have an RDFS ontology with a User class as such: The class of users, subclassing the foaf:Agent class. …
cgf
  • 3,369
  • 7
  • 45
  • 65
0
votes
1 answer

RDFS: How to subclass a FOAF class

Is it possible to subclass a class found in FOAF (http://xmlns.com/foaf/spec/)? I tried something like the code below, but I am not sure if it is the proper way to do it or not.
cgf
  • 3,369
  • 7
  • 45
  • 65
0
votes
1 answer

How do I insert a language-tagged literal using a SPARQL INSERT DATA query?

I have a problem with a query in SPARQL for a Sesame triplestore. I enter this query in "SPARQL Update" option of the Sesame workbench: INSERT DATA { rdfs:label "test_label"@en } I would have this RDF result:…
user3661334
  • 95
  • 2
  • 9
0
votes
1 answer

RDF: should the ontology and the statements be separate?

I am using Jena, the Java library, in order to parse my RDFS ontology as such: model = ModelFactory.createOntologyModel(OntModelSpec.RDFS_MEM); model.read(new FileInputStream(ontologyPath), ""); I then add some statements and save like this: s =…
cgf
  • 3,369
  • 7
  • 45
  • 65
0
votes
1 answer

Get bag (container) that contains a particular RDF resource using Jena

I am have a reference to an object of type com.hp.hpl.jena.rdf.model.Resource that is contained in a Bag. I want to list all the Bags that contain this resource. Is there a function similar to listResourcesWithProperty that can be used to search for…
user592748
  • 1,194
  • 3
  • 21
  • 45
0
votes
1 answer

What's mean 'fb' and 'b' in Jena rules //OWL, RDFS

There is a Jena rules I don't know prefix b and fb. What different things each OWL and RDFS files? PS. download URL is https://jena.apache.org/download/index.cgi and click jena-2.11.1-source-release.zip (MD5, PGP) rules dir ->…
isaac Lee
  • 111
  • 5
0
votes
1 answer

Why doesn't the Jena validator give me warnings?

In the following code, the ValidityReport is always valid; there is no inconsistency detected. I expect that it should give me a warning because I am giving a family name to a FOAF document. Why isn't an inconsistency detected? Model model =…
Ariel
  • 1,222
  • 2
  • 14
  • 25
0
votes
1 answer

Duplicate results being shown after filter in SPARQL

I'm very new to SparQL and am currently really struggling to get the correct results to show, I have experimented with this for the last 3 days and at the end of an extensive Google search I felt it was time to ask for help. The issue that I'm…
Chris.H
  • 45
  • 1
  • 6
0
votes
1 answer

Issues with xpath that contained namespaces in Java (Dom parser)

I'm trying to parse an rdfs xml file in order to find all the Classes in an rdfs file. The xpath: "/rdf:RDF/rdfs:Class" is working in my XML editor. When i insert the xpath in my Java program (i have implemented a dom parser), i get 0 Classes. The…
programmer
  • 4,571
  • 13
  • 49
  • 59
0
votes
1 answer

How can i parse a Resource Description Framework Schema file?

I would like to parse a Resource Description Framework Schema file in order to output the subClasses of a class or the subProperties of it. Is there any open source tool available online? Or shall i create a DOM parser in order to parse the Resource…
programmer
  • 4,571
  • 13
  • 49
  • 59
0
votes
1 answer

SPARQL query RDFS ontology

I have an RDFS ontology where i have one class Person and another class Department The class Person has a property called has_name and a property called member_of with domain Person and range Department. The class Department has a property called…
0
votes
1 answer

SPARQL Lexical error Encountered: "%"

String queryString2 = "PREFIX service: " + " PREFIX rdf: " + " PREFIX rdfs: " + " PREFIX owl:…
user360321
  • 177
  • 1
  • 4
  • 19
0
votes
1 answer

Converting list of names into RDF Schema (RDFS)

I am quite new at Semantic Web. My question is: How can I use RDF Schema in Java program? I am NOT supposed to use Java Jena API for conversion. Is there any way for doing so? I have a list of names in Java program and would like to convert them…
Mod
  • 5,091
  • 7
  • 28
  • 47
0
votes
3 answers

Tool that would show all semantic data contained in a given web page

I'm looking for a web service, browser extension, or anything else that directly extracts any and all semantic data contained in a given web page, as long as that semantic data is following any of the myriad of modern standards used for embedding…
matanster
  • 15,072
  • 19
  • 88
  • 167
1 2 3
32
33