cwrc / ontology

CWRC ontology - primary repository
13 stars 7 forks source link

Check context format re: CWRC-Writer Annotations #475

Closed SusanBrown closed 5 years ago

SusanBrown commented 5 years ago

Check the context format: do we need to explicitly declare foaf and other namespaces in the JSON-LD

joelacummings commented 5 years ago

The answer here is yes we do, and the way to so is defined here

{
    "@context": {
        "base": "http://sparql.cwrc.ca/ontologies/cwrc#",
        "cwrc": "http://sparql.cwrc.ca/ontologies/cwrc#",
        "foaf": "http://xmlns.com/foaf/0.1/",
        "dc": "http://purl.org/dc/elements/1.1/",
        "dcterms": "http://purl.org/dc/terms/",
        "geo": "http://www.geonames.org/ontology#",
        "oa": "http://www.w3.org/ns/oa#",
        "schema": "http://schema.org/",
        "xsd": "http://www.w3.org/2001/XMLSchema#"
    }
}