On 13/12/11 17:54, David Patterson wrote:
Andy,
I'm running tdb 0.8.10 on a mac.
Here is a small subset of the file:
#-- start of file ---
@prefix :<http://www.xyz.com/art/data#> .
@prefix as:<http://www.xyz.com/art/structure#> .
@prefix dc:<http://purl.org/dc/elements/1.1/#> .
@prefix rdfs:<http://www.w3.org/2000/01/rdf-schema#> .
:place_00001 a as:Place ;
rdfs:label "Aartsbisschoppelijke Musea, Utrecht" .
:place_00005 a as:Place ;
rdfs:label "Abbey Church of Notre-Dame, Saint-Chef (Is\u00e8re)" .
:place_00037 a as:Place ;
rdfs:label "Ackland Art Museum, University of North Carolina, Chapel
Hill, North Carolina, USA" ;
rdfs:label "Ackland Art Museum, University of North Carolina, Chapel
Hill" ;
rdfs:label "Ackland Art Museum, Chapel Hill" .
#-- end of file ---
One thing I just realized. I have not yet included the structure
folder and file. So, the as:Place does not refer to anything known by
tcb. Is that likely to be the cause?
No. TDB loads the URI, it does not deference it or see if it's
elsewhere in the file.
Tonight I'll (a) make a structure file that defines Place, and if the
problem still occurs, I'll download the latest code.
I tried your example code with this data on the development version
(actually, I tried with TDB 0.9.0-SNAPSHOT + the Apache release
bytes-to-hopefully-be for ARQ, Jena and IRI) and it worked for me.
I also used the bulk loader and that worked as well.
Andy