Discussion:
full URI of rdfs sub class
kumar rohit
2017-03-07 13:58:20 UTC
Permalink
I have a rule like if x is type of Student and student rdfs:subclass of
Human, then x is type of Human

What is the full URI of rdfs subclassOf to write in rules like we write
http://www.w3.org/1999/02/22-rdf-syntax-ns#type for rdf:type?
Simon Schäfer
2017-03-07 15:57:29 UTC
Permalink
You can search for rdfs here: http://prefix.cc/

This leads to a document where rdfs:subClassOf is defined.
Post by kumar rohit
I have a rule like if x is type of Student and student rdfs:subclass of
Human, then x is type of Human
What is the full URI of rdfs subclassOf to write in rules like we write
http://www.w3.org/1999/02/22-rdf-syntax-ns#type for rdf:type?
kumar rohit
2017-03-07 16:11:04 UTC
Permalink
Thank you Simon,
Post by Simon Schäfer
You can search for rdfs here: http://prefix.cc/
This leads to a document where rdfs:subClassOf is defined.
Post by kumar rohit
I have a rule like if x is type of Student and student rdfs:subclass of
Human, then x is type of Human
What is the full URI of rdfs subclassOf to write in rules like we write
http://www.w3.org/1999/02/22-rdf-syntax-ns#type for rdf:type?
Dave Reynolds
2017-03-08 09:06:02 UTC
Permalink
It's also not necessary to write the URIs out in full, you can use
prefixes in rules. I believe rdf and rdfs are built in.

Dave
Post by kumar rohit
Thank you Simon,
Post by Simon Schäfer
You can search for rdfs here: http://prefix.cc/
This leads to a document where rdfs:subClassOf is defined.
Post by kumar rohit
I have a rule like if x is type of Student and student rdfs:subclass of
Human, then x is type of Human
What is the full URI of rdfs subclassOf to write in rules like we write
http://www.w3.org/1999/02/22-rdf-syntax-ns#type for rdf:type?
Loading...