Hi all,
I've had a couple of problems parsing our Turtle files. Most importantly,
@base doesn't seem to work:
SQL> ttlp (file_to_string_output
('/home/kkj/dev/sublima/blocks/sublima-app/src/main/resources/rdf-data/information-model.ttl'),
'', 'http://sublima.computas.com/',
0);
*** Error 37000: [Virtuoso Driver][Virtuoso Server]SP029: TURTLE RDF loader,
line 10: syntax error
at line 2 of Top-Level:
The line it doesn't like is this:
@base <http://xmlns.computas.com/sublima-information-model> .
I would prefer setting that to setting the base parameter in the loader, even
though the latter is also useful. Am I missing something obvious?
Then it doesn't like things like
topic:topic0001611
rdf:type skos:Concept ;
skos:inScheme topic: ;
skos:broader topic:topic00090 .
(somewhat modified from the actual code for brevity). It is
skos:inScheme topic: ;
that it claims is a syntax error. I can see why it might, and I see a
workaround, but Redland and Jena doesn't complain. I'm not a seasoned BNF
reader, but the latest spec says
qname ::= prefixName? ':' name?
so it looks like both are optional.
Likewise
dct:language : ;
which is quite nonsensical, but it passes the other parsers, and
: rdf:type owl:Ontology ;
Well, you get the idea? Perhaps this is something that entered the spec with
the Team Submission?
Kind regards
Kjetil Kjernsmo
--
Senior Knowledge Engineer
Mobile: +47 986 48 234
Email: [email protected]
Web: http://www.computas.com/
| SHARE YOUR KNOWLEDGE |
Computas AS PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783
1001