Created
July 5, 2016 09:49
-
-
Save nishantsingh1/f0a69bf6b23007b9391b056420dabbda to your computer and use it in GitHub Desktop.
rdf-insert example
This file contains 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
xquery version "1.0-ml"; | |
import module namespace sem = "http://marklogic.com/semantics" | |
at "/MarkLogic/semantics.xqy"; | |
sem:rdf-insert( | |
sem:triple( sem:iri("http://dbpedia.org/resource/Michael_Jackson"), | |
sem:iri("http://dbpedia.org/ontology/associatedBand"), | |
sem:iri("http://dbpedia.org/resource/The_Jackson_5") | |
) | |
) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment