You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, I am trying to change the code such that it can be run on KGs other that Wikidata.
I am testing this with an ArCo KG release (see the NTriples dump)
I generated two kgtk files, with and without namespaces, with the following commands:
kgtk --debug --timing import-ntriples --verbose -i arco.nt -o OUTPUT_FILE --reject-file REJECT_FILE --namespace-file NAMESPACE_FILE --updated-namespace-file NAMESPACE_FILE --build-id True --build-datatype-column True (see below for a snapshot)
kgtk --debug --timing import-ntriples --verbose -i arco.nt -o OUTPUT_FILE --reject-file REJECT_FILE --build-id True --build-datatype-column True —build-new-namespaces=False (see below for a snapshot)
I tried in multiple ways, but I'm not able to do basic queries, like:
kgtk --debug query -i arco_output.tsv.gz --match '()-[n4:label]->()' --limit 10 does not return anything on the first kgtk file
kgtk --debug query -i arco_output.tsv.gz --match '()-[:label]->()' --limit 10 does not return anything on the first kgtk file
kgtk --debug query -i arco_output_nonamespaces.tsv.gz --match '()-[p]->()' --where 'p IN ["http://www.w3.org/2000/01/rdf-schema#label"]' --limit 10 does not return anything
But I really tried in many more different ways...
I am using an old version of KGTK (1.4.2) and python 3.9.13
What am I missing? :)
Thanks a lot for your support
Hi, I successfully reused your tool for Wikidata (see wikidata empirical patterns project)
Now, I am trying to change the code such that it can be run on KGs other that Wikidata.
I am testing this with an ArCo KG release (see the NTriples dump)
I generated two kgtk files, with and without namespaces, with the following commands:
kgtk --debug --timing import-ntriples --verbose -i arco.nt -o OUTPUT_FILE --reject-file REJECT_FILE --namespace-file NAMESPACE_FILE --updated-namespace-file NAMESPACE_FILE --build-id True --build-datatype-column True
(see below for a snapshot)kgtk --debug --timing import-ntriples --verbose -i arco.nt -o OUTPUT_FILE --reject-file REJECT_FILE --build-id True --build-datatype-column True —build-new-namespaces=False
(see below for a snapshot)I tried in multiple ways, but I'm not able to do basic queries, like:
kgtk --debug query -i arco_output.tsv.gz --match '()-[n4:label]->()' --limit 10
does not return anything on the first kgtk filekgtk --debug query -i arco_output.tsv.gz --match '()-[:label]->()' --limit 10
does not return anything on the first kgtk filekgtk --debug query -i arco_output_nonamespaces.tsv.gz --match '()-[p]->()' --where 'p IN ["http://www.w3.org/2000/01/rdf-schema#label"]' --limit 10
does not return anythingBut I really tried in many more different ways...
I am using an old version of KGTK (1.4.2) and python 3.9.13
What am I missing? :)
Thanks a lot for your support
1
2
The text was updated successfully, but these errors were encountered: