-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial port of cadastre survey data model vocabulary content
- Loading branch information
1 parent
856759d
commit 45e4f90
Showing
243 changed files
with
154,913 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Uplift all vocabulary files | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
uplift-all: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Setup Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install git+https://github.com/opengeospatial/ogc-na-tools.git | ||
- name: Process files | ||
run: | | ||
#find . -name '*.csv' | while read CSV_FILE; do python -m ogc.na.ingest_json \ | ||
# --skip-on-missing-context --json-ld --context csv2python.yml "${CSV_FILE}" > "${CSV_FILE}.json" | ||
# done | ||
python -m ogc.na.ingest_json --batch --all --skip-on-missing-context \ | ||
--json-ld --ttl --work-dir . --domain-config .ogc/catalog.ttl | ||
- name: Add and commit | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: "Semantic uplift of all vocabulary source files" | ||
default_author: github_actions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Semantic uplift on push | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
changed-files: | ||
description: Changed files for processing | ||
type: string | ||
# push: | ||
# branches: | ||
# - main | ||
|
||
jobs: | ||
uplift: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Get changed files | ||
id: changed-files | ||
uses: tj-actions/changed-files@v35 | ||
with: | ||
since_last_remote_commit: true | ||
separator: ',' | ||
- name: Setup Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install git+https://github.com/opengeospatial/ogc-na-tools.git | ||
- name: Process files | ||
run: | | ||
MOD_FILES=${{ steps.changed-files.outputs.all_changed_files }},${{ inputs.changed-files }} | ||
echo Changed files: ${MOD_FILES} | ||
python -m ogc.na.ingest_json --batch --skip-on-missing-context \ | ||
--json-ld --ttl --work-dir . --domain-config .ogc/catalog.ttl ${MOD_FILES} | ||
- name: Add and commit | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: "Semantic uplift on push" | ||
default_author: github_actions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
@prefix dcfg: <http://www.example.org/ogc/domain-cfg#> . | ||
@prefix dcat: <http://www.w3.org/ns/dcat#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix profiles: <http://www.opengis.net/def/metamodel/profiles/> . | ||
|
||
|
||
_:vocabs-uplift a dcat:Dataset, dcfg:UpliftConfiguration ; | ||
dct:description "Cadastre Profile vocabularies uplift" ; | ||
dcfg:glob "cadastre/**/*.csv" ; | ||
dcfg:hasUpliftDefinition [ | ||
dcfg:order 1 ; | ||
dcfg:file "cadastre/vocabs-uplift.yml" ; | ||
] ; | ||
. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@prefix prof: <http://www.w3.org/ns/dx/prof/> . | ||
@prefix profiles: <http://www.opengis.net/def/metamodel/profiles/> . | ||
@prefix role: <http://www.w3.org/ns/dx/prof/role/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix shacl: <http://www.w3.org/ns/shacl#> . | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
|
||
profiles:vocprez_ogc a prof:Profile ; | ||
prof:hasToken "vocprez_ogc"^^xsd:token ; | ||
dct:description "OGC VocPrez SKOS profile" ; | ||
rdfs:label "VocPrez OGC" ; | ||
prof:isProfileOf profiles:skos_conceptscheme_ogc ; | ||
prof:hasResource [ | ||
a prof:ResourceDescriptor ; | ||
rdfs:label "SHACL Entailment" ; | ||
dct:conformsTo shacl: ; | ||
dct:format "text/turtle" ; | ||
prof:hasArtifact <http://defs-dev.opengis.net/ogc-na/scripts/skos_vocprez.shapes.ttl> ; | ||
prof:hasRole role:entailment | ||
], [ | ||
a prof:ResourceDescriptor ; | ||
rdfs:label "SHACL Validation" ; | ||
dct:conformsTo shacl: ; | ||
dct:format "text/turtle" ; | ||
prof:hasArtifact <http://defs-dev.opengis.net/ogc-na/scripts/vocprez.shapes.ttl> ; | ||
prof:hasRole role:validation | ||
] ; | ||
. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
preflabel,definition,notation,altlabel,related | ||
Land District,A Land District is a NZ administrative area that all titles and surveys were registered against prior to Landonline.,landDistrict,, | ||
Territorial Authority,"A NZ territorial authority is defined under the Local Government Act 2002, NZ, as a city or a district council",territorialAuthority,Municipality, | ||
County,A Victorian cadastral division for cadastral or land administration purposes,county,, | ||
Parish,A subdivision of a Victorian County,parish,, | ||
Local Government Area,"Local government is the third level of government in Australia, administered with limited autonomy under the states and territories, and in turn beneath the federal government",localGovernmentArea,Local Government,Municipality | ||
Locality,A subdivision of a Western Australian Local Government Area,locality,, |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"@context": [ | ||
{ | ||
"@base": "https://linked.data.gov.au/def/csdm/icsm-admin-unit-type/" | ||
}, | ||
{ | ||
"skos": "http://www.w3.org/2004/02/skos/core#", | ||
"dct": "http://purl.org/dc/terms/", | ||
"policy": "http://www.opengis.net/def/metamodel/ogc-na/", | ||
"surv": "https://linked.data.gov.au/def/csdm/surveyfeatures/", | ||
"sosa": "http://www.w3.org/ns/sosa/", | ||
"container": "https://linked.data.gov.au/def/csdm/container/", | ||
"parcel": "https://linked.data.gov.au/def/csdm/parcels/", | ||
"termtype": "https://linked.data.gov.au/def/csdm/termtypes/", | ||
"preflabel": "skos:prefLabel", | ||
"type": "@type", | ||
"altlabel": "skos:altLabel", | ||
"class": "skos:scopeNote", | ||
"definition": "skos:definition", | ||
"notation": "skos:notation", | ||
"concepts": { | ||
"@reverse": "skos:inScheme" | ||
} | ||
} | ||
], | ||
"@id": "https://linked.data.gov.au/def/csdm/icsm-admin-unit-type", | ||
"@type": "skos:ConceptScheme", | ||
"skos:prefLabel": "ICSM Administrative Unit Types", | ||
"class": "termtype:AdminUnitType", | ||
"concepts": [ | ||
{ | ||
"preflabel": "Land District", | ||
"definition": "A Land District is a NZ administrative area that all titles and surveys were registered against prior to Landonline.", | ||
"notation": "landDistrict", | ||
"altlabel": null, | ||
"related": null, | ||
"@id": "landDistrict", | ||
"type": "termtype:AdminUnitType", | ||
"@type": "skos:Concept" | ||
}, | ||
{ | ||
"preflabel": "Territorial Authority", | ||
"definition": "A NZ territorial authority is defined under the Local Government Act 2002, NZ, as a city or a district council", | ||
"notation": "territorialAuthority", | ||
"altlabel": "Municipality", | ||
"related": null, | ||
"@id": "territorialAuthority", | ||
"type": "termtype:AdminUnitType", | ||
"@type": "skos:Concept" | ||
}, | ||
{ | ||
"preflabel": "County", | ||
"definition": "A Victorian cadastral division for cadastral or land administration purposes", | ||
"notation": "county", | ||
"altlabel": null, | ||
"related": null, | ||
"@id": "county", | ||
"type": "termtype:AdminUnitType", | ||
"@type": "skos:Concept" | ||
}, | ||
{ | ||
"preflabel": "Parish", | ||
"definition": "A subdivision of a Victorian County", | ||
"notation": "parish", | ||
"altlabel": null, | ||
"related": null, | ||
"@id": "parish", | ||
"type": "termtype:AdminUnitType", | ||
"@type": "skos:Concept" | ||
}, | ||
{ | ||
"preflabel": "Local Government Area", | ||
"definition": "Local government is the third level of government in Australia, administered with limited autonomy under the states and territories, and in turn beneath the federal government", | ||
"notation": "localGovernmentArea", | ||
"altlabel": "Local Government", | ||
"related": "Municipality", | ||
"@id": "localGovernmentArea", | ||
"type": "termtype:AdminUnitType", | ||
"@type": "skos:Concept" | ||
}, | ||
{ | ||
"preflabel": "Locality", | ||
"definition": "A subdivision of a Western Australian Local Government Area", | ||
"notation": "locality", | ||
"altlabel": null, | ||
"related": null, | ||
"@id": "locality", | ||
"type": "termtype:AdminUnitType", | ||
"@type": "skos:Concept" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix prov: <http://www.w3.org/ns/prov#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix schema: <https://schema.org/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix termtype: <https://linked.data.gov.au/def/csdm/termtypes/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
<https://linked.data.gov.au/def/csdm/icsm-admin-unit-type/county> a skos:Concept, | ||
termtype:AdminUnitType ; | ||
skos:definition "A Victorian cadastral division for cadastral or land administration purposes" ; | ||
skos:inScheme <https://linked.data.gov.au/def/csdm/icsm-admin-unit-type> ; | ||
skos:notation "county" ; | ||
skos:prefLabel "County" . | ||
|
||
<https://linked.data.gov.au/def/csdm/icsm-admin-unit-type/landDistrict> a skos:Concept, | ||
termtype:AdminUnitType ; | ||
skos:definition "A Land District is a NZ administrative area that all titles and surveys were registered against prior to Landonline." ; | ||
skos:inScheme <https://linked.data.gov.au/def/csdm/icsm-admin-unit-type> ; | ||
skos:notation "landDistrict" ; | ||
skos:prefLabel "Land District" . | ||
|
||
<https://linked.data.gov.au/def/csdm/icsm-admin-unit-type/localGovernmentArea> a skos:Concept, | ||
termtype:AdminUnitType ; | ||
skos:altLabel "Local Government" ; | ||
skos:definition "Local government is the third level of government in Australia, administered with limited autonomy under the states and territories, and in turn beneath the federal government" ; | ||
skos:inScheme <https://linked.data.gov.au/def/csdm/icsm-admin-unit-type> ; | ||
skos:notation "localGovernmentArea" ; | ||
skos:prefLabel "Local Government Area" . | ||
|
||
<https://linked.data.gov.au/def/csdm/icsm-admin-unit-type/locality> a skos:Concept, | ||
termtype:AdminUnitType ; | ||
skos:definition "A subdivision of a Western Australian Local Government Area" ; | ||
skos:inScheme <https://linked.data.gov.au/def/csdm/icsm-admin-unit-type> ; | ||
skos:notation "locality" ; | ||
skos:prefLabel "Locality" . | ||
|
||
<https://linked.data.gov.au/def/csdm/icsm-admin-unit-type/parish> a skos:Concept, | ||
termtype:AdminUnitType ; | ||
skos:definition "A subdivision of a Victorian County" ; | ||
skos:inScheme <https://linked.data.gov.au/def/csdm/icsm-admin-unit-type> ; | ||
skos:notation "parish" ; | ||
skos:prefLabel "Parish" . | ||
|
||
<https://linked.data.gov.au/def/csdm/icsm-admin-unit-type/territorialAuthority> a skos:Concept, | ||
termtype:AdminUnitType ; | ||
skos:altLabel "Municipality" ; | ||
skos:definition "A NZ territorial authority is defined under the Local Government Act 2002, NZ, as a city or a district council" ; | ||
skos:inScheme <https://linked.data.gov.au/def/csdm/icsm-admin-unit-type> ; | ||
skos:notation "territorialAuthority" ; | ||
skos:prefLabel "Territorial Authority" . | ||
|
||
<https://linked.data.gov.au/def/csdm/icsm-admin-unit-type> a skos:ConceptScheme ; | ||
skos:prefLabel "ICSM Administrative Unit Types" ; | ||
skos:scopeNote "termtype:AdminUnitType" . | ||
|
||
[] a prov:Activity ; | ||
prov:endedAtTime "2024-02-04T06:23:50.809167"^^xsd:dateTime ; | ||
prov:startedAtTime "2024-02-04T06:23:50.722302"^^xsd:dateTime ; | ||
prov:used [ a prov:Entity ; | ||
dct:format "application/json" ; | ||
dct:hasVersion "git:0f32332d11a6cc8231abe9ed2a14e854258b41a0" ; | ||
rdfs:seeAlso <file:///home/runner/work/3d-csdm-profiles/3d-csdm-profiles/vocabularies/CSD-Header/icsm-admin-unit-type.csv> ] ; | ||
prov:wasAssociatedWith [ a prov:Agent, | ||
schema:SoftwareApplication ; | ||
rdfs:label "OGC-NA tools" ; | ||
dct:hasVersion "0.3.35" ; | ||
rdfs:seeAlso <https://github.com/opengeospatial/ogc-na-tools> ] ; | ||
prov:wasInformedBy [ dct:identifier "d6d0e2d7-4f80-4e92-8329-efda53896ae2" ] . | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
preflabel,definition,notation,altlabel,related | ||
Certification,,certification,, |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"@context": [ | ||
{ | ||
"@base": "https://linked.data.gov.au/def/csdm/nz-annotation/" | ||
}, | ||
{ | ||
"skos": "http://www.w3.org/2004/02/skos/core#", | ||
"dct": "http://purl.org/dc/terms/", | ||
"policy": "http://www.opengis.net/def/metamodel/ogc-na/", | ||
"surv": "https://linked.data.gov.au/def/csdm/surveyfeatures/", | ||
"sosa": "http://www.w3.org/ns/sosa/", | ||
"container": "https://linked.data.gov.au/def/csdm/container/", | ||
"parcel": "https://linked.data.gov.au/def/csdm/parcels/", | ||
"termtype": "https://linked.data.gov.au/def/csdm/termtypes/", | ||
"preflabel": "skos:prefLabel", | ||
"type": "@type", | ||
"altlabel": "skos:altLabel", | ||
"class": "skos:scopeNote", | ||
"definition": "skos:definition", | ||
"notation": "skos:notation", | ||
"concepts": { | ||
"@reverse": "skos:inScheme" | ||
} | ||
} | ||
], | ||
"@id": "https://linked.data.gov.au/def/csdm/nz-annotation", | ||
"@type": "skos:ConceptScheme", | ||
"skos:prefLabel": "NZ CSD Annotation", | ||
"class": "termtype:Annotation", | ||
"concepts": [ | ||
{ | ||
"preflabel": "Certification", | ||
"definition": null, | ||
"notation": "certification", | ||
"altlabel": null, | ||
"related": null, | ||
"@id": "certification", | ||
"type": "termtype:Annotation", | ||
"@type": "skos:Concept" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
@prefix dct: <http://purl.org/dc/terms/> . | ||
@prefix prov: <http://www.w3.org/ns/prov#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix schema: <https://schema.org/> . | ||
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | ||
@prefix termtype: <https://linked.data.gov.au/def/csdm/termtypes/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
|
||
<https://linked.data.gov.au/def/csdm/nz-annotation/certification> a skos:Concept, | ||
termtype:Annotation ; | ||
skos:inScheme <https://linked.data.gov.au/def/csdm/nz-annotation> ; | ||
skos:notation "certification" ; | ||
skos:prefLabel "Certification" . | ||
|
||
<https://linked.data.gov.au/def/csdm/nz-annotation> a skos:ConceptScheme ; | ||
skos:prefLabel "NZ CSD Annotation" ; | ||
skos:scopeNote "termtype:Annotation" . | ||
|
||
[] a prov:Activity ; | ||
prov:endedAtTime "2024-02-04T06:23:44.241731"^^xsd:dateTime ; | ||
prov:startedAtTime "2024-02-04T06:23:44.159791"^^xsd:dateTime ; | ||
prov:used [ a prov:Entity ; | ||
dct:format "application/json" ; | ||
dct:hasVersion "git:0f32332d11a6cc8231abe9ed2a14e854258b41a0" ; | ||
rdfs:seeAlso <file:///home/runner/work/3d-csdm-profiles/3d-csdm-profiles/vocabularies/CSD-Header/nz-annotation.csv> ] ; | ||
prov:wasAssociatedWith [ a prov:Agent, | ||
schema:SoftwareApplication ; | ||
rdfs:label "OGC-NA tools" ; | ||
dct:hasVersion "0.3.35" ; | ||
rdfs:seeAlso <https://github.com/opengeospatial/ogc-na-tools> ] ; | ||
prov:wasInformedBy [ dct:identifier "d6d0e2d7-4f80-4e92-8329-efda53896ae2" ] . | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
preflabel,definition,notation,altlabel,related | ||
NZGD2000 + NZVD2016 height,,9528,, |
Oops, something went wrong.