Skip to content

Commit

Permalink
Change annotations data to turtle. RDFLib bug workaround.
Browse files Browse the repository at this point in the history
  • Loading branch information
recalcitrantsupplant committed Oct 18, 2024
1 parent c9ba0f7 commit d40d223
Show file tree
Hide file tree
Showing 8 changed files with 729 additions and 369 deletions.
21 changes: 0 additions & 21 deletions prez/reference_data/annotations/prez-ontology.nq

This file was deleted.

43 changes: 43 additions & 0 deletions prez/reference_data/annotations/prez-ontology.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

<http://example.com/shacl-extension#allPredicateValues> rdfs:label "All Predicate Values" .

<http://example.com/shacl-extension#bnode-depth> rdfs:comment "blank node depth" .

<http://example.com/shacl-extension#limit> rdfs:comment "limit" .

<http://example.com/shacl-extension#offset> rdfs:comment "offset" .

<http://example.com/shacl-extension#orderBy> rdfs:comment "order by" .

<http://www.w3.org/ns/dx/connegp/altr-ext#constrainsClass> rdfs:label "Constrains Class" .

<http://www.w3.org/ns/dx/connegp/altr-ext#hasDefaultProfile> rdfs:label "Has Default Profile" .

<http://www.w3.org/ns/dx/connegp/altr-ext#hasDefaultResourceFormat> rdfs:label "Default Resource Format" .

<http://www.w3.org/ns/dx/connegp/altr-ext#hasNodeShape> rdfs:label "Has Node Shape" .

<http://www.w3.org/ns/dx/connegp/altr-ext#hasResourceFormat> rdfs:label "Has Resource Format" .

<https://prez.dev/count> rdfs:label "count" .

<https://prez.dev/link> rdfs:label "link" .

<https://prez.dev/members> rdfs:label "members" .

<https://prez.dev/ont/deliversClasses> rdfs:label "delivers classes" .

<https://prez.dev/ont/endpointTemplate> rdfs:label "endpoint template" .

<https://prez.dev/ont/focusToParentRelation> rdfs:label "focus to parent relation" .

<https://prez.dev/ont/parentEndpoint> rdfs:label "parent endpoint" .

<https://prez.dev/ont/parentToFocusRelation> rdfs:label "parent to focus relation" .

<https://prez.dev/searchResultMatch> rdfs:label "Matched Term" .

<https://prez.dev/searchResultPredicate> rdfs:label "Matched Predicate" .

<https://prez.dev/searchResultWeight> rdfs:label "Search Result Weight" .
63 changes: 0 additions & 63 deletions prez/reference_data/annotations/vann-vocab-20100607.rdf

This file was deleted.

67 changes: 67 additions & 0 deletions prez/reference_data/annotations/vann-vocab-20100607.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
@prefix cc: <http://web.resource.org/cc/> .
@prefix dcmitype: <http://purl.org/dc/dcmitype/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann: <http://purl.org/vocab/vann/> .

<file:///home/david/PycharmProjects/prez/prez/reference_data/annotations/vann-vocab-20100607.rdf> a cc:Work ;
dcterms:type dcmitype:Text ;
cc:license <http://creativecommons.org/licenses/by/1.0/> .

vann:changes a owl:AnnotationProperty ;
rdfs:label "Changes"@en ;
rdfs:comment "A reference to a resource that describes changes between this version of a vocabulary and the previous."@en ;
rdfs:isDefinedBy vann: ;
rdfs:subPropertyOf rdfs:seeAlso .

vann:example a owl:AnnotationProperty ;
rdfs:label "Example"@en ;
rdfs:comment "A reference to a resource that provides an example of how this resource can be used."@en ;
rdfs:isDefinedBy vann: ;
rdfs:subPropertyOf rdfs:seeAlso .

vann:preferredNamespacePrefix a owl:AnnotationProperty ;
rdfs:label "Preferred Namespace Prefix"@en ;
rdfs:comment "The preferred namespace prefix to use when using terms from this vocabulary in an XML document."@en ;
rdfs:isDefinedBy vann: .

vann:preferredNamespaceUri a owl:AnnotationProperty ;
rdfs:label "Preferred Namespace Uri"@en ;
rdfs:comment "The preferred namespace URI to use when using terms from this vocabulary in an XML document."@en ;
rdfs:isDefinedBy vann: .

vann:termGroup a owl:AnnotationProperty ;
rdfs:label "Term Group"@en ;
rdfs:comment "A group of related terms in a vocabulary."@en ;
rdfs:isDefinedBy vann: .

vann:usageNote a owl:AnnotationProperty ;
rdfs:label "Usage Note"@en ;
rdfs:comment "A reference to a resource that provides information on how this resource is to be used."@en ;
rdfs:isDefinedBy vann: ;
rdfs:subPropertyOf rdfs:seeAlso .

<http://creativecommons.org/licenses/by/1.0/> a cc:License ;
cc:permits cc:DerivativeWorks,
cc:Distribution,
cc:Reproduction ;
cc:requires cc:Attribution,
cc:Notice .

<http://iandavis.com/id/me> a foaf:Person ;
foaf:name "Ian Davis" .

vann: a owl:Ontology ;
dcterms:creator <http://iandavis.com/id/me> ;
dcterms:date "2010-06-07" ;
dcterms:description "This document describes a vocabulary for annotating descriptions of vocabularies with examples and usage notes."@en ;
dcterms:identifier "http://purl.org/vocab/vann/vann-vocab-20050401" ;
dcterms:isVersionOf vann: ;
dcterms:replaces vann:vann-vocab-20040305 ;
dcterms:rights "Copyright © 2005 Ian Davis" ;
dcterms:title "VANN: A vocabulary for annotating vocabulary descriptions"@en ;
vann:preferredNamespacePrefix "vann" ;
vann:preferredNamespaceUri "http://purl.org/vocab/vann/" .

Loading

0 comments on commit d40d223

Please sign in to comment.