jena-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject Oh, no, it's a RIOT?
Date Sat, 25 Dec 2010 01:38:49 GMT
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.

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.


@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" .

Mime
View raw message