我正在尝试验证W3C RDF上的 foaf 代码以及它导致问题的下一个块。在这里,我试图展示 Randy 和 Adil 之间的关系,请纠正我为什么我不能在这里使用“rel”标签或者为什么会导致问题?
<foaf:knows>
<foaf:Person>
<foaf:name>Randy</foaf:name>
<foaf:mbox_sha1sum>0525a7bfaf263d404e751bb12b89e4acc1ce68a7</foaf:mbox_sha1sum>
<rdfs:workplaceHomepage rdf:resource="randy.html" />
<rel:friendOf rdf:resource="adil.html"/>
</foaf:Person>
</foaf:knows>
错误:
FatalError: The prefix "rel" for element "rel:friendOf" is not bound.[Line = 39, Column = 46]