|
From: Jeremy J C. <jj...@sy...> - 2016-02-01 14:52:48
|
.I read https://wiki.blazegraph.com/wiki/index.php/SPARQL_Update#INSERT_INTO_with_ORDER_BY <https://wiki.blazegraph.com/wiki/index.php/SPARQL_Update#INSERT_INTO_with_ORDER_BY> and I am trying to follow. (I actually don’t care about the order, only the splicing) However, I find that to finish (my variant of) the example I need to do something like the following (where %codes is the solution set I created) select * WHERE { { select ?s { INCLUDE %codes } LIMIT 100 OFFSET 5000 } graph </graph/abox> { ?s sci:rxnormCd ?drug } graph </graph/vocabulary/nlm/rxnorm#> { ?drug </vocabulary/nlm/rxnorm#asGeneric> ?generic } graph </graph/vocabulary/nlm/rxnorm_generic#> { ?generic skos:prefLabel ?genericTerm } } where I use a subselect to do the splicing. This then does not work, I think because of BLZG-856 Am I missing the intent of the example on the wiki? or does BLZG-856 actually block it being useful. (I was attracted since almost all items in SPARQL are unordered, in particular intermediate solution sets, so paging through partial solutions is hard) Jeremy |