Always got TDB model size = 0

2013-08-26 Thread Charles Li
Hi, Jena experts: Jena v2.10.1 on Windows 7. (1) Run TDB loader: loadRDF.cmd myDir myRdfXML.xml. (2) Create a TDB sitting on "myDir": model = TDBFactory.createDataset("myDir").getDefaultModel(); However, model.size() will always give 0! And any query won't return anything! If I start Fuse

Re: TDB Problems reading local file

2013-08-26 Thread Deyan Chen
Hi Andy, I found the same problem as Emilio. It seems that document manager policy file(etc/ont-policy.rdf) is invalid. My test code is as follows: Dataset ds = TDBFactory.createDataset("tdb/mydb"); Model base = ds.getDefaultModel(); OntModel model = ModelFactory.createOntologyModel( spec, base

Can't get no (Transformer)

2013-08-26 Thread Diogo FC Patrao
Hi all, I'm having trouble figuring out how Transformer class is working. See my classes below: public class GrumpyOptimizer extends TransformCopy { @Override public Op transform(OpUnion opUnion, Op left, Op right) { if ( !( left instanceof OpService && right instanceof OpService)) return op

Re: RIOT language selection logic

2013-08-26 Thread Holger Knublauch
I was too quick: with the latest SVN snapshot, the following test now fails: Model owlrl = ModelFactory.createDefaultModel(); owlrl.read("http://topbraid.org/spin/owlrl";); I believe it should work, because that file is stored in RDF/XML, plus Model.read(url) should use RDF/XML

Re: Parsing a freebase RDF dump.

2013-08-26 Thread Yuhan Zhang
thanks for the suggestion, Andy. I'll convert the turtle file and retry it. Yuhan Zhang Senior Software Engineer OneScreen Inc. www.onescreen.com (949) 525-4825 Ext: 177 yzh...@onescreen.com On Mon, Aug 26, 2013 at 1:29 PM, Andy Seaborne wrote: > On 26/08/13 18:41, Yuhan Zhang wrote: > >> Hi

Re: Accessing Fuseki server outside local network.

2013-08-26 Thread Lewis John Mcgibbney
Hi Rob, Thank you so much for this. Great. Best Lewis On Mon, Aug 26, 2013 at 3:30 PM, Rob Vesse wrote: > Lewis > > It will depend heavily on the configuration of the system that you run the > Fuseki instance on around both its host name and its firewall > > Firstly Fuseki by default binds to t

Re: RIOT language selection logic

2013-08-26 Thread Holger Knublauch
On 8/27/2013 1:08, Andy Seaborne wrote: On 26/08/13 11:51, Holger Knublauch wrote: On 8/26/2013 18:52, Claude Warren wrote: Is there a test case for this problem? Attached (with dummy content and from a string, but just pretend it came from a local file which is our use case). And yes, we man

Re: Accessing Fuseki server outside local network.

2013-08-26 Thread Rob Vesse
Lewis It will depend heavily on the configuration of the system that you run the Fuseki instance on around both its host name and its firewall Firstly Fuseki by default binds to the given port (default 3030) on all hosts, so from your local machine both localhost:3030 and hostname:3030 should wor

Accessing Fuseki server outside local network.

2013-08-26 Thread Lewis John Mcgibbney
Hi All, Ideally, I would like to run Fuseki inside Tomcat (I am therefore monitoring JENA-201 and also offering to put time into getting HTML pages supported in there) so that I can access my web app outside of local network. However this made me think that it would be strange if this were not alre

Re: Parsing a freebase RDF dump.

2013-08-26 Thread Andy Seaborne
On 26/08/13 18:41, Yuhan Zhang wrote: Hi Andy, the line 4643044 looks like this: ns:m.04ln83j key:user.robert.world$0027s_tallest.building "preceded_by" Raw $ is not allowed in a prefixed name. But I guess $0027 is intended (which is ') so use %27. - - - - - - You can use \$ (in which case

Re: Parsing a freebase RDF dump.

2013-08-26 Thread Yuhan Zhang
Hi Andy, the line 4643044 looks like this: ns:m.04ln83j key:user.robert.world$0027s_tallest.building "preceded_by" Yuhan Zhang Senior Software Engineer OneScreen Inc. www.onescreen.com (949) 525-4825 Ext: 177 yzh...@onescreen.com On Sat, Aug 24, 2013 at 2:50 AM, Andy Seaborne wrote: > On 2

Re: RIOT language selection logic

2013-08-26 Thread Andy Seaborne
On 26/08/13 11:51, Holger Knublauch wrote: On 8/26/2013 18:52, Claude Warren wrote: Is there a test case for this problem? Attached (with dummy content and from a string, but just pretend it came from a local file which is our use case). And yes, we manage and resolve owl:imports ourselves - a

Re: RIOT language selection logic

2013-08-26 Thread Holger Knublauch
On 8/26/2013 18:52, Claude Warren wrote: Is there a test case for this problem? Attached (with dummy content and from a string, but just pretend it came from a local file which is our use case). And yes, we manage and resolve owl:imports ourselves - almost all Models are loaded from local fil

Re: RIOT language selection logic

2013-08-26 Thread Claude Warren
Is there a test case for this problem? On Mon, Aug 26, 2013 at 9:48 AM, Andy Seaborne wrote: > On 26/08/13 02:56, Holger Knublauch wrote: > >> On 8/25/2013 3:49, Andy Seaborne wrote: >> >>> On 23/08/13 00:10, Holger Knublauch wrote: >>> On 8/23/2013 2:06, Andy Seaborne wrote: > Ba

Re: Has anyone loaded freebase dump to TDB successfully?

2013-08-26 Thread Andy Seaborne
On 26/08/13 02:41, Tao (陶信东) wrote: Thanks, Andy. I'm running you scripts and the following errors prompt. Does it mean the error was fixed? ERROR meabs a syntax error - parsing stops. 9 data/xaa (Mon Aug 26 09:30:02 CST 2013) 10 ERROR [line: 4692554, col: 35] Unknown char: \(92)

Re: RIOT language selection logic

2013-08-26 Thread Andy Seaborne
On 26/08/13 02:56, Holger Knublauch wrote: On 8/25/2013 3:49, Andy Seaborne wrote: On 23/08/13 00:10, Holger Knublauch wrote: 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