buda-base / lds-pdi

http://purl.bdrc.io BDRC Linked Data Server
Apache License 2.0
2 stars 0 forks source link

strange absence of results in /lib/Taxtree #140

Closed eroux closed 5 years ago

eroux commented 5 years ago

http://purl.bdrc.io/lib/Taxtree?R_RES=bdr:O9TAXTBRC201605 yelds no results while if I try the taxtree request directly in Fuseki:

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bdr: <http://purl.bdrc.io/resource/>
PREFIX : <http://purl.bdrc.io/ontology/core/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX adm: <http://purl.bdrc.io/ontology/admin/>
PREFIX bdo: <http://purl.bdrc.io/ontology/core/>
prefix bdg:   <http://purl.bdrc.io/graph/>

construct {
  ?super bdo:taxHasSubClass ?sub .
  ?sub skos:prefLabel ?subl .
}
where{
  {
    bdr:O9TAXTBRC201605 bdo:taxHasSubClass+ ?sub .
    ?super bdo:taxHasSubClass ?sub .
    ?sub skos:prefLabel ?subl .
  }
  union
  {
    bdr:O9TAXTBRC201605 skos:prefLabel ?subl .
    BIND(bdr:O9TAXTBRC201605 as ?sub)
  }
}

there's a quite large graph of results

MarcAgate commented 5 years ago

Taxtree.arq should be under lds-queries/public in which case it is served at http://purl.bdrc.io/query/graph/Taxtree?R_RES=bdr:O9TAXTBRC201605