marvinm2 / AOPWikiRDF

This repository contains code for the AOP-Wiki XML-to-RDF conversion and guidance to deploy a Virtuoso SPARQL endpoint Docker image that is loaded with the AOP-Wiki RDF
MIT License
7 stars 1 forks source link

make table with prefixes #9

Open marvinm2 opened 3 years ago

marvinm2 commented 3 years ago

Make that table used in the code, for writing prefixes

egonw commented 5 days ago

You can also list this as part of the RDF itself using Jerven's proposal:

@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

[] sh:declare [ sh:prefix "dc" ;       sh:namespace "http://purl.org/dc/elements/1.1/"^^xsd:anyURI ] .
[] sh:declare [ sh:prefix "cas" ;      sh:namespace "https://identifiers.org/cas/"^^xsd:anyURI ] .
[] sh:declare [ sh:prefix "wprdf" ;    sh:namespace "http://rdf.wikipathways.org/"^^xsd:anyURI ] .
[] sh:declare [ sh:prefix "prov" ;     sh:namespace "http://www.w3.org/ns/prov#"^^xsd:anyURI ] .
[] sh:declare [ sh:prefix "foaf" ;     sh:namespace "http://xmlns.com/foaf/0.1/"^^xsd:anyURI ] .
[] sh:declare [ sh:prefix "hmdb" ;     sh:namespace "https://identifiers.org/hmdb/"^^xsd:anyURI ] .