blazegraph / database

Blazegraph High Performance Graph Database
GNU General Public License v2.0
891 stars 172 forks source link

com.bigdata.rdf.store.DataLoader does not import data types #163

Open spookyfox opened 4 years ago

spookyfox commented 4 years ago

I try to import some triple into the Blazegraph data base, whereas all triple w/o data type get loaded.

But triples having e.g. ^^xsd:date format get not loaded?!

Does anyone know how to deal with that issue?

Examples not being loaded: <http://localhost:9999/blazegraph/namespace/kb/oPbZa6d9xntUXB><http://localhost:9999/blazegraph/namespace/kb/CREATION_DATE>"2015-08-24"^^xsd:date . <http://localhost:9999/blazegraph/namespace/kb/oPbZa6d9xntUXB><http://localhost:9999/blazegraph/namespace/kb/S4_PROP_CLASS>"02"^^xsd:int . Examples being loaded (see line two, the language tag works also properly): <http://localhost:9999/blazegraph/namespace/kb/oPbZa6d9xntUXB><http://localhost:9999/blazegraph/namespace/kb/IMPORT_ID>"20000" . <http://localhost:9999/blazegraph/namespace/kb/oPbZa6d9xntUXB><http://localhost:9999/blazegraph/namespace/kb/OBJECT_TYPE>"S4_DFTRevision"@en-US . <http://localhost:9999/blazegraph/namespace/kb/oPbZa6d9xntUXB><http://localhost:9999/blazegraph/namespace/kb/ITEM_ID>"DPDFT-60000395" .

The file is loaded by:

java -cp blazegraph.jar com.bigdata.rdf.store.DataLoader -defaultGraph http://example.org -namespace kb fastload.properti es ./couchexport.nt Why cannot the date format be attached as it is possible by blazegraph user interface: http://localhost:9999/blazegraph/#update

spookyfox commented 4 years ago

I tried with the turtle format (.ttl) again and it worked. I guess the format .nl needs another format in this matter?!