On 21/08/13 21:45, Brad Moran wrote:
At this point I have a loaded TDB and text index, now I am trying to query
using java. First I tried creating a dataset directly from the TDB but
received
Dataset ds = TDBFactory.createDataset(DBDirectory); --How I created Dataset
WARN
Hi All,
I want to load an ontology file to persistent TDB store. The ontology
file imports other ontologies that are also located in the same local
directory. The code is as follows:
..
Dataset dataset = TDBFactory.assembleDataset(assemblerFile);
dataset.begin(ReadWrite.WRITE);
try {
Model
I used to try but failed (due to some format errors). Now I want to try
again?
Do I have a chance to succeed?
Thanks
Tao
Mostly through economic necessity, I finally got around to playing with the
G thing. As far as I can tell it should be possible to host instances of
Fuseki there (for free for a big starters, only $$$ if you start really
hitting the bandwidth/processing). Had to jump through a few silly hoops
I am not sure what I should be using as the second parameter for
DatasetFactory.assemble. Should I use the URI provided in the
documentation, or do I use the location of my own text dataset (my
luceneIndex?). Either way I receive an error.
If I use the URI provided, I get:
On 22/08/13 05:27, Holger Knublauch wrote:
While upgrading to the latest Jena version, I noticed that the handling
of the language parameter has changed compared to earlier versions. The
language argument of Model.read is no longer treated with priority, but
instead it will try to guess the
On 22/08/13 10:57, Tao (陶信东) wrote:
I used to try but failed (due to some format errors). Now I want to try
again?
Do I have a chance to succeed?
Yes - there's chance. But.
First, you need to make sure the data is clean - that is, it parses.
Hi Guys
I noticed the documentation states*
QuerySolutionMap initialBinding = new
QuerySolutionMap();initialBinding.add(name, personResource);qe =
QueryExecutionFactory.create(query, dataset, initialBinding);*
* *
*This is often much simpler than the string equivalent since you don't have
to
On 22/08/13 17:04, Brad Moran wrote:
I am not sure what I should be using as the second parameter for
DatasetFactory.assemble. Should I use the URI provided in the
documentation, or do I use the location of my own text dataset (my
luceneIndex?). Either way I receive an error.
If I use the URI
On 22/08/13 17:00, Danny Ayers wrote:
Mostly through economic necessity, I finally got around to playing with the
G thing. As far as I can tell it should be possible to host instances of
Fuseki there (for free for a big starters, only $$$ if you start really
hitting the bandwidth/processing).
Ok this issue seems to be resolved. I had to change the location of the tdb
in the assembler file. NetBeans only needed the tdb location from the
project folder where as from bash I needed the full file system location.
Thanks again for all your help!
On Thu, Aug 22, 2013 at 12:23 PM, Andy
Thanks Rob
Can I follow up with a couple more questions?
1. I presume ParamaterizedSparqlString is like a query and can be used in
QueryExecutionFactory.create() as the query?
On Thu, Aug 22, 2013 at 5:27 PM, Rob Vesse rve...@yarcdata.com wrote:
See ParamaterizedSparqlString -
Thanks Joshua Very helpful
I saw the the code from 3 weeks ago.
I thought that was neat.
But I'm presuming that won't work for parameterisedsparqlstring. And I need
to use this for a sparql service clause.
So I guess I willI have to just iterate over the bindings I want to happen,
rather than put
On Thu, Aug 22, 2013 at 1:36 PM, Phil Ashworth pashwor...@gmail.com wrote:
Thanks Joshua Very helpful
I saw the the code from 3 weeks ago.
I thought that was neat.
But I'm presuming that won't work for parameterisedsparqlstring. And I need
to use this for a sparql service clause.
So I guess
Hi Guys Sorry for asking one last dumb question
Is ParameterizedSparqlString the preferred way to do variable bindings in
all scenarios?
I ask because I'm not sure if there are performance gains to be had using
the query.setValuesDataBlock or QueryExecutionFactory.create(query, dataset,
On 8/23/2013 2:06, Andy Seaborne wrote:
Based on your experience, when does it make a difference?
A number of our test cases broke, and I tracked it down to the case
where the base URI of a graph ends with something like .owl yet the file
is saved in ttl. A number of our ontologies used such
I did further investigations and found the following implementation in
RDFDataMgr works for our use cases:
private static ContentType determineCT(String target, String ctStr,
Lang hintLang)
{
if ( hintLang != null )
return hintLang.getContentType() ;
17 matches
Mail list logo