innoq / iqvoc

iQvoc - A SKOS(-XL) Vocabulary Management System for the Semantic Web
http://iqvoc.net/
Other
117 stars 44 forks source link

Import N-Triples file completes but publishing is not processed #251

Open cbaldassarre opened 11 years ago

cbaldassarre commented 11 years ago

I tried to import a N-Triple file or about 200K triples. At the end of the process I get this output message

Computing 'forward' defined triples... Basic import done (took 79 seconds). Publishing 0 new subjects... Publishing of 0 subjects done (took 0 seconds). 0 where invalid.

I can't paste the entire triple set, and a reduced version could accidentally exclude the problem. Maybe the log message is significant of something that I have to correct in my N-Triple file.

youngbrioche commented 11 years ago

Unfortunately, without a reduced test case, it's impossible for us to analyze this issue. Since this is an open source project, I'm afraid the burden of providing a reduced data set lies with you.

FND commented 11 years ago

I agree with @mrreynolds: Presumably such a reduced data set would only comprise a few (anywhere between one and ten) lines. So you can just paste that into your next comment here using a code block. If it turns out that more context is required, please use a gist or something like Pastebin.

Please also include the command you used to import the data.

cbaldassarre commented 11 years ago

Thanks for the suggestions; I have created a copy of the complete file at this address

https://gist.github.com/cbaldassarre/1b36157e4d56d3f2ff1c

I imported the file via the dashboard, no command line.

C.

youngbrioche commented 11 years ago

At first glance I stumbled upon the subjects in your ntriples - please consider that iQvoc's importer only supports HTTP-URIs.

FND commented 11 years ago

Also, regarding the need for a reduced data set, the first ~5 lines would probably suffice for a test case.

cbaldassarre commented 11 years ago

I have changed from URN to HTTP-URIs.

I can see in the dashboard the concepts from the import when URNs where used, but there is a complain about at least a prefLabel in some language. My dataset includes a prefLabel for 4 languages.

The about 5 lines of my triples file are here, but still getting the same log output

<http://virtualrepository.org/sr/public/code/ICN> <http://www.w3.org/2004/02/skos/core#prefLabel> "Ragfish"@en .
<http://virtualrepository.org/sr/public/code/ICN> <http://www.w3.org/2004/02/skos/core#prefLabel> "Icosteus aenigmaticus"@la .
<http://virtualrepository.org/sr/public/code/ICN> <http://www.w3.org/2004/02/skos/core#notation> "ICN" .
<http://virtualrepository.org/sr/public/code/ICN> <http://www.w3.org/2004/02/skos/core#inScheme> <http://virtualrepository.org/sr/public/codelist/CL_SPECIES> .
<http://virtualrepository.org/sr/public/code/ICN> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#Concept> .
<http://virtualrepository.org/sr/public/codelist/CL_SPECIES> <http://www.w3.org/2004/02/skos/core#changeNote> "2013-06-12T15:21:03.748+02:00" .
<http://virtualrepository.org/sr/public/codelist/CL_SPECIES> <http://www.w3.org/2004/02/skos/core#editorialNote> "Generated by the Semantic Repository LOD maintenance framework" .
<http://virtualrepository.org/sr/public/codelist/CL_SPECIES> <http://purl.org/dc/terms/hasVersion> "1.1" .
<http://virtualrepository.org/sr/public/codelist/CL_SPECIES> <http://purl.org/dc/terms/creator> "FAO" .
<http://virtualrepository.org/sr/public/codelist/CL_SPECIES> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2004/02/skos/core#ConceptScheme> .