我有一个图表,在这个图表中我有一个这样的列表:
:Michelangelo :representativeFor :Italy;
rdfs:label "Michelangelo di Ludovico Buonarroti Simoni";
:birthInfo [:date "1475-03-10"^^xsd:date; :place :Florence];
:sculptorOf [a rdf:List; rdf:first :Pieta; rdf:rest [a rdf:List; rdf:first :David; rdf:rest [a rdf:List; rdf:first :TheLastJudgement; rdf:rest rdf:nil]]];
:sculptorOf rdfs:domain :Sculptor; rdfs:range :Sculpture.
当我提出这个查询
select *
where {:David a ?z}
我希望得到资源和雕塑。我不明白为什么不工作,我该怎么办?