【问题标题】:STRAFTER SPARQL 1.1 function in VirtuosoVirtuoso 中的 STRAFTER SPARQL 1.1 函数
【发布时间】:2013-03-12 23:57:12
【问题描述】:

SPARQL 1.1 中的STRAFTER 是否可以在 Virtuoso(2012 年 6 月 6.04 版)中工作?

尝试

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 编译错误。

【问题讨论】:

    标签: rdf sparql virtuoso


    【解决方案1】:

    不,它不支持 straft,您需要构建 6.1.5 see the release notes

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多