On 25/12/10 01:38, Benson Margulies wrote:
Note the spelling at the end ...

org.openjena.riot.RiotException:
<urn:ced318ff2aad94cd90e753feb96d7d43>  Code:
61/SCHEME_PATTERN_MATCH_FAILED in PATH: The scheme specific syntax
rules are violared.

Not my error message :-)

Looking at the source code, it's been fixed - except in a comment.


More seriously, I don't know what's wrong.

I switched from RDF/XML-ABBREV to N3 to save space, and now reading it ...

Caused by: org.openjena.riot.RiotException:
<urn:ced318ff2aad94cd90e753feb96d7d43>  Code:
61/SCHEME_PATTERN_MATCH_FAILED in PATH: The scheme specific syntax
rules are violared.
        at org.openjena.riot.IRIResolver.exceptions(IRIResolver.java:239)
        at org.openjena.riot.IRIResolver.access$100(IRIResolver.java:23)
        at 
org.openjena.riot.IRIResolver$IRIResolverNormal.resolveToString(IRIResolver.java:363)
        at 
org.openjena.riot.IRIResolver.resolveGlobalToString(IRIResolver.java:78)
        at org.openjena.riot.JenaReaderRIOT.readImpl(JenaReaderRIOT.java:121)
        at org.openjena.riot.JenaReaderRIOT.read(JenaReaderRIOT.java:79)
        at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:226)
        at 
com.hp.hpl.jena.ontology.impl.OntModelImpl.read(OntModelImpl.java:2148)
        at com.basistech.jug.rdfdb.jena.JenaStore.addGraph(JenaStore.java:55)
        at 
com.basistech.jug.rdfdb.task.RdfdbTaskEndpoint.assignTask(RdfdbTaskEndpoint.java:48)


The start of one of the N3 blobs looks like the following. I used "N3"
as the write format and as the read format.

This parses OK for me - both with RIOT and the existing Jena parser.

Which version?  And was there a line number?

@prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#>  .
@prefix rex:<http://www.basistech.com/ontologies/2010/6/rex.owl#>  .
@prefix xsd:<http://www.w3.org/2001/XMLSchema#>  .
@prefix owl:<http://www.w3.org/2002/07/owl#>  .
@prefix rdf:<http://www.w3.org/1999/02/22-rdf-syntax-ns#>  .

<uri:001f469cc17412da1ce53fa1f9b67481#18>
       a       rex:Location ;
       rex:hasEntityDetectionSource
               "statistical" ;
       rex:hasNormalizedText
               "Asia" ;
       rex:hasOriginalText "Asia" .

        Andy

Reply via email to