来自SPARQL1.1的STRAFTER可以在Virtuoso (版本6.04,2012年6月构建)中工作吗?
正在尝试
PREFIX qb: <http://purl.org/linked-data/cube#>
PREFIX iodp: <http://data.oceandrilling.org/core/1/>
PREFIX sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#>
SELECT ?p (strafter(str(?p), "http://data.oceandrilling.org/janus/") AS ?pshort)
FROM <http://data.oceandrilling.org/janus/>
WHERE {
<http://data.oceandrilling.org/janus/ngr_section201_1226> qb:observation ?observation .
?observation ?p ?o .
FILTER (regex(?p, "janus")) .
FILTER (!regex(?p, "leg")) .
FILTER (!regex(?p, "site")) .
FILTER (datatype(?o) = <http://www.w3.org/2001/XMLSchema#decimal>) .
}在http://data.oceandrilling.org/sparql抛出SPARQL编译错误。
发布于 2013-03-13 16:32:33
不,它不支持straft,您将需要构建6.1.5 see the release notes。
https://stackoverflow.com/questions/15374556
复制相似问题