Created
December 16, 2010 23:29
-
-
Save samuell/744215 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Bioclipse Script (BSL) to import contents of an RDF/XML file into a Semantic MediaWiki | |
// Create an empty RDF Store | |
rdfStore = rdf.createInMemoryStore(); | |
// Yeah, obviously, fill the RDF Store with some triples from an RDF/XML file | |
rdf.importFile(rdfStore, "2nd-degreeproject/nmrshiftdata.1.rdf.xml", "RDF/XML") | |
// Write the RDF to a Semantic MediaWiki (with the RDFIO extension installed) | |
result = smw.putRDF(rdfStore, "http://drugmet.rilspace.org/wiki") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment