Skip to content

Instantly share code, notes, and snippets.

@robbl
Created November 1, 2011 23:21
Show Gist options
  • Save robbl/1332258 to your computer and use it in GitHub Desktop.
Save robbl/1332258 to your computer and use it in GitHub Desktop.
output of node.js dbpedia spotlight wrapper
<?xml version='1.0' encoding='UTF-8' ?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:ld="http://www.w3.org/DesignIssues/LinkedData.html#" xmlns:scms="http://ns.aksw.org/scms/" xmlns:str="http://nlp2rdf.lod2.eu/nif/schema/string/" xmlns:dbpedia="http://dbpedia.org/resource/">
<rdf:Description rdf:about="ld:offset_0_35_fun+with+nodejs%2C+jso">
<rdf:type rdf:resource="str:Document"/>
<rdf:type rdf:resource="str:OffsetBasedString"/>
<str:subString rdf:resource="ld:offset_9_15_nodejs"/>
<str:subString rdf:resource="ld:offset_17_21_json"/>
<str:subString rdf:resource="ld:offset_23_26_rdf"/>
<str:subString rdf:resource="ld:offset_31_34_nif"/>
</rdf:Description>
<rdf:Description rdf:about="ld:offset_9_15_nodejs">
<rdf:type rdf:resource="str:OffsetBasedString"/>
<scms:means rdf:resource="dbpedia:Node.js"/>
<str:beginIndex>9</str:beginIndex>
<str:endIndex>15</str:endIndex>
</rdf:Description>
<rdf:Description rdf:about="ld:offset_17_21_json">
<rdf:type rdf:resource="str:OffsetBasedString"/>
<scms:means rdf:resource="dbpedia:JSON"/>
<str:beginIndex>17</str:beginIndex>
<str:endIndex>21</str:endIndex>
</rdf:Description>
<rdf:Description rdf:about="ld:offset_23_26_rdf">
<rdf:type rdf:resource="str:OffsetBasedString"/>
<scms:means rdf:resource="dbpedia:Resource_Description_Framework"/>
<str:beginIndex>23</str:beginIndex>
<str:endIndex>26</str:endIndex>
</rdf:Description>
<rdf:Description rdf:about="ld:offset_31_34_nif">
<rdf:type rdf:resource="str:OffsetBasedString"/>
<scms:means rdf:resource="dbpedia:Neuroscience_Information_Framework"/>
<str:beginIndex>31</str:beginIndex>
<str:endIndex>34</str:endIndex>
</rdf:Description>
</rdf:RDF>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment