UKPLab / coling2018-graph-neural-networks-question-answering

Accompanying code for our COLING 2018 paper "Modeling Semantics with Gated Graph Neural Networks for Knowledge Base Question Answering"
Apache License 2.0
173 stars 29 forks source link

Import the RDF dump into the Virtuoso #11

Open TaylorWPY opened 5 years ago

TaylorWPY commented 5 years ago

There is no *.graph files from my configs/wikidata-rdf/ path, how can I get this?

daniilsorokin commented 4 years ago

The last version of the https://public.ukp.informatik.tu-darmstadt.de/wikidata-dump/wikidata-rdf-snap-2017.zip should have the .graph files as well (17GB download). The graph files are essentially just a text file with a single line with the name of the graph. The file should have the same name as an pdf file you want to import and it tells Virtuoso how to call the new graph in the RDF storage.

For instance: You might have an RDF dump file wikidata-statements.nt.gz that you are importing. Then creating a file wikidata-statements.nt.graph with a single line:

http://wikidata.org/statements

means the content of wikidata-statements.nt.gz should be stored under the graph http://wikidata.org/statements.