Thread:Extension talk:RDFIO/Undertanding RDFIO for imports

Hey there!

This might see a bit more complex than usual questions, but i would really apreciate the help.

At the moment i have to import a lof of classes and subclasses, and i am seeing that after for example creating a category in smw (called "Categoria15"), i get this at the rdfio endpoint(?s ?p ?o):

http://ExerWiki/mediawiki-1.24.1/index.php/Especial:URIResolver/Categor-C3-ADa-3ACategoria15	http://www.w3.org/2000/01/rdf-schema#label	Categoria15

http://ExerWiki/mediawiki-1.24.1/index.php/Especial:URIResolver/Categor-C3-ADa-3ACategoria15	http://www.w3.org/2000/01/rdf-schema#isDefinedBy	http://localhost:85/mediawiki-1.24.1/index.php/Especial:ExportRDF/Categor%C3%ADa:Categoria15

http://ExerWiki/mediawiki-1.24.1/index.php/Especial:URIResolver/Categor-C3-ADa-3ACategoria15	http://www.w3.org/1999/02/22-rdf-syntax-ns#type	http://www.w3.org/2002/07/owl#Class

(Apart from the triples coming from Swivt ontology)

So i undertand, in order to create a class an import it to SMW in it´s natural format i would need at least this 3 rdfs statemets, declaring the label of the URI, which thing is defined by and saying is a class.

Aftewards i would have to do something similar to declare that the class is subclass of another.

Which would be the statements to use, to import a class with that format which was called for example..."category10"?

I do not know if it is clear what i am asking for.

Thanks.