On 02/07/2011 04:30 PM, Benedikt Kaempgen wrote:
> - [[imported from::foaf:knows]] which uses the external URI for the RDF
> export, which works on properties only, and which needs to set up the
> namespace in "MediaWiki:Smw_import_foaf"
>
> Would it not make sense to extend the functionality of [[imported
> from::foaf:knows]] to work on individuals, also? For instance, if I want to
> use individuals from an ontology.

Interesting question (since I had the same thoughts some year ago :) ) 
Anyway, those thoughts is what became the main motivation for the RDFIO 
extension [1], namely to allow import of "individuals" and exporting 
again using the same URI:s/vocabulary. RDFIO only supports general RDF 
triples at the moment though, but should be extendable to extend to 
support OWL too for the one who has the time ... :-o

RDFIO uses an own "Original URI" property (mostly in order not to clash 
with existing import functionality), which can be used in the SPARQL 
endpoint to convert from SMW:s internal URI:s to the "original URI:s" 
again, in the query results, by checking a checkbox (can be tested live 
here: [2]). The (ARC2 powered [3]) SPARQL endpoint supports the 
CONSTRUCT keyword, and so can be used to make RDF exports.

I'm sure far from everything is perfectly thought out in RDFIO, but 
maybe it can be a useful starting point work for similar things like this.

Cheers
// Samuel

[1] http://www.mediawiki.org/wiki/Extension:RDFIO
[2] http://drugmet.rilspace.org/wiki/Special:SPARQLEndpoint
[3] http://arc.semsol.org/


-- 
Samuel Lampa
---------------------------------------
  Bioinformatician @ Uppsala University
    Blog: http://saml.rilspace.org
---------------------------------------

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to