[
https://issues.apache.org/jira/browse/JENA-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne updated JENA-757:
-------------------------------
Description:
from irc:freenode.net/#jena on 2014-08-04 (GMT+1)
{noformat}
(09:14:35) jmvanel: <jmvanel> This does not work :
(09:14:36) jmvanel: <jmvanel> tdb.tdbloader --loc=TDB
--graph=http://xmlns.com/foaf/0.1/ http://xmlns.com/foaf/0.1/
(09:14:36) jmvanel: <jmvanel> Can only load triples into a named model:
http://xmlns.com/foaf/0.1/
(09:15:39) jmvanel: It would be convenient to load directly from an URL into a
NG of the TDB
{noformat}
In the case of FOAF, the MIME type, and triples vs quads, isn't known until
conneg is done. If loading into a named graph, then the checking throws an
error.
tdb.tdbloader --loc=TDB --graph=http://xmlns.com/foaf/0.1/
http://xmlns.com/foaf/0.1/
Workaround: down load the file and load locally. This can be advisable anyway
to ensure a complete file is loaded (no network problems) and allows files to
be checked for syntax errors and warnings.
was:
In the case of FOAF, the MIME type, and triples vs quads, isn't known until
conneg is done. If loading into a named graph, then the checking throws an
error.
tdb.tdbloader --loc=TDB --graph=http://xmlns.com/foaf/0.1/
http://xmlns.com/foaf/0.1/
Workaround: down load the file and load locally. This can be advisable anyway
to ensure a complete file is loaded (no network problems) and allows files to
be checked for syntax errors and warnings.
> tdbloader loading to a named graph hecks for triples/quads based on command
> line args.
> --------------------------------------------------------------------------------------
>
> Key: JENA-757
> URL: https://issues.apache.org/jira/browse/JENA-757
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB
> Affects Versions: Jena 2.12.0
> Reporter: Andy Seaborne
> Priority: Minor
>
> from irc:freenode.net/#jena on 2014-08-04 (GMT+1)
> {noformat}
> (09:14:35) jmvanel: <jmvanel> This does not work :
> (09:14:36) jmvanel: <jmvanel> tdb.tdbloader --loc=TDB
> --graph=http://xmlns.com/foaf/0.1/ http://xmlns.com/foaf/0.1/
> (09:14:36) jmvanel: <jmvanel> Can only load triples into a named model:
> http://xmlns.com/foaf/0.1/
> (09:15:39) jmvanel: It would be convenient to load directly from an URL into
> a NG of the TDB
> {noformat}
> In the case of FOAF, the MIME type, and triples vs quads, isn't known until
> conneg is done. If loading into a named graph, then the checking throws an
> error.
> tdb.tdbloader --loc=TDB --graph=http://xmlns.com/foaf/0.1/
> http://xmlns.com/foaf/0.1/
> Workaround: down load the file and load locally. This can be advisable
> anyway to ensure a complete file is loaded (no network problems) and allows
> files to be checked for syntax errors and warnings.
--
This message was sent by Atlassian JIRA
(v6.2#6252)