Thank you very much, Andy. This works.
2013/9/13 Andy Seaborne <[email protected]> > On 12/09/13 14:52, Alexei Golovko wrote: > >> Is it possible to enable skolemization in Fuseki? I've found in mail >> archive<http://mail-archives.**apache.org/mod_mbox/jena-dev/** >> 201202.mbox/%**3CCAPTxtVMBy8JpJkkuYH0-**n2AwTiS-reN7Eur0w_01paRiu+A_** >> [email protected]%3E<http://mail-archives.apache.org/mod_mbox/jena-dev/201202.mbox/%3ccaptxtvmby8jpjkkuyh0-n2awtis-ren7eur0w_01pariu+a...@mail.gmail.com%3E> >> >that >> >> «Bnodes can be handled by enabling bNode label output, and using >> <_:...> on input.» >> >> However, I couldn't find how to enable this blank node label output, or >> use >> it with default settings: >> if I run >> INSERT { >> [<http://www.w3.org/1999/02/**22-rdf-syntax-ns#type<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>> >> < >> http://example.org/class>] . } WHERE {} >> then SELECT-queries return inserted blank nodes as _:b0 or _:b2 (if query >> result include or does not include other two blank nodes). >> >> I have seen an open issue https://issues.apache.org/** >> jira/browse/JENA-193 <https://issues.apache.org/jira/browse/JENA-193>, >> but status of each item is not clear for me. >> >> > Alexei, > > Good question - by trail-and-error, and looking at the code, if you start > the server with > > --set "arq:outputGraphBNodeLabels=**true" > > or have > > [] rdf:type fuseki:Server ; > ja:context > [ ja:cxtName "arq:outputGraphBNodeLabels" ; > ja:cxtValue "true" ] ; > ... > > it seems to partially works. The bnode labels returned (XML, JSON, TSV > formats) are the internal ids but they are not in <_:...> form and so code > needs to text mangle them. So there isn't consistent handling. > > It's server-wide, not per request. > > Seems like this needs cleaning up. > > Andy > > I updated JENA-193 in passing. > >
