我想获得一个作为资源的对象(参见下面的“hasAgentWithRole”谓词)。
该文件(简化以说明我的问题):
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ns0="http://purl.org/dc/terms/"
xmlns:ns1="http://tw.rpi.edu/schema/">
<rdf:Description rdf:about="http://abstractsearch.agu.org/meetings/2014/FM/S54A-06">
<ns0:identifier>ID</ns0:identifier>
<ns1:hasAgentWithRole rdf:resource="http://abstractsearch.agu.org/meetings/2014/FM/S54A-06/author1"/>
</rdf:Description>
</rdf:RDF>
查询:
PREFIX ns1: <http://tw.rpi.edu/schema/>
SELECT ?author_uri
WHERE
{ <http://abstractsearch.agu.org/meetings/2014/FM/S54A-06> ns1:hasAgentWithRole ?author_uri}
我想获取包含在 hasAgentWithRole 谓词中的资源值:http: //abstractsearch.agu.org/meetings/2014/FM/S54A-06/author1
但是,我当前使用 arq 的查询会引发 IRIImplException: