Details
Description
Using the following:
Dataset
—
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix vp: <http://visumpoint.com/cars> .
vp:carmake rdf:type rdfs:Class .
vp:carmodel rdf:type rdfs:Class .
vp:manufactor rdf:tpye rdfs:Class .
vp:corvette rdf:type vp:carmodel .
vp:model_s rdf:type vp:carmodel .
vp:carmodel rdfs:subClassOf vp:carmake .
vp:carmake rdfs:subClassOf vp:manufactor .
–
Then doing the below query does not return any results, even though it should.
—
PREFIX vp: <http://visumpoint.com/cars>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?x
WHERE {
?x rdf:type vp:carmake .
}