Like a lot of people, I use rdf:Statement
s to reify triples so that I can make statements about statements, like
:S1 a rdf:Statement .
:S1 :citation :tabloid_celebrity1 .
:S1 rdf:subject :Earth .
:S1 rdf:predicate :has_shape .
:S1 rdf:object :flat_surface .
One of my favorite websites, https://www.infowebml.ws/rdf-owl/, says that the rdfs:range
of rdf:object
is rdfs:Resource
.
Are literals considered rdfs:Resource
s? If not, does that mean that property rdf:object
shouldn't take a literal as its object? I.e., is this illegal?
:S2 a rdf:Statement .
:S2 :citation <https://en.wikipedia.org/wiki/Age_of_the_Earth> .
:S2 rdf:subject :Earth .
:S2 rdf:predicate :has_age_years .
:S2 rdf:object "4.54E9"^^xsd:double .