Active
Project:
Taxonomy import/export via XML
Version:
6.x-1.3
Component:
RDF/XML format
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2010 at 18:34 UTC
Updated:
25 Apr 2010 at 17:25 UTC
Jump to comment: Most recent file
Comments
Comment #1
dman commentedIt supports a bunch of different formats, based on several publicly available resources and freely available downloads from useful sources.
I've not seen any examples of 'protoge'. Does it create RDF or its own proprietary file format?
The idea is that any good taxonomy management tool should be able to export something that other tools can import. And that this module should be able to import a few widely-supported open standards.
What have you found in the way of documentation for this output so far?
Comment #2
marcoka commentedthey use some custom stuff like:
i think thats why it does not work. ysome knows any tools that output a "standard" markup?
Comment #3
marcoka commentedBut:
Paste this
INTO:http://www.w3.org/RDF/Validator/
it says valid.
Comment #4
dman commentedThat's valid enough. And indeed works like I'd have expected to, Running that file through taxonomy_xml rdf input gives me 8 terms, one as a subset.
If you look at the help docs provided with the module there is a large writeup on the many formats I've evaluated so far, and the ones I've been able to support.
The code you paste above is good - it looks like it conforms with the same reference I used :
(from the module documentation)
We don't mind if the protoge tool extends the data with other things - it is correctly namespaced by the looks of things
http://protege.stanford.edu/kb#so it's all tidy.So any data that is specific to only that protoge tool might not have a way to be stored within Drupal.
The structure - what we work with - is the rdf & rdfs element names.
So that part should all just work.
If you can supply any pointers to the dataset you are having trouble with, I may be able to test some simple fixes . But the example you pasted above works great for me!
Did you follow the install instructions for ARC in install.txt? Note that that refers to ARC1, ARC2 is now out, but that won't be upgraded to until the Drupal 7 rewrite.
Comment #5
marcoka commentedit works with the sample files.
when i copy the above text and paste it into a test.rdf and import it it says:
* Loaded file IMA.rdf. Now processing it.
* Created vocabulary 56 IMA.rdf to put these terms into. You probably want to go edit it now.
* Parsing RDF
* 10 data triples (atomic statements) found in the source RDF doc
* Found 2 different kinds of resources in the input : http://www.w3.org/2002/07/owl#Ontology, http://www.w3.org/2002/07/owl#Class
* Found 0 resources to be imported as terms into vocabulary 56
Failed to import any new terms. This may be due to syntax or formattings errors in the import file.
The attached file works for you?
thanks