]> Lady’s Gitweb - Vocab/commitdiff
Add airports; contact:nearestAirport
authorLady <redacted>
Wed, 1 Jan 2025 19:58:34 +0000 (14:58 -0500)
committerLady <redacted>
Sun, 12 Jan 2025 22:59:51 +0000 (17:59 -0500)
data/datatype_properties/airports¦iata [new file with mode: 0644]
data/datatype_properties/airports¦icao [new file with mode: 0644]
data/named_individuals/_SWAP-PIM_
data/object_properties/contact¦nearestAirport [new file with mode: 0644]
data/ontologies/¦

diff --git a/data/datatype_properties/airports¦iata b/data/datatype_properties/airports¦iata
new file mode 100644 (file)
index 0000000..2ed68ca
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+SPDX-FileCopyrightText: 2025 Lady <https://www.ladys.computer/about/#lady>
+SPDX-License-Identifier: CC0-1.0
+-->
+<!DOCTYPE DatatypeProperty SYSTEM "../../DTD">
+<DatatypeProperty>
+       <label xml:lang="en">I·A·T·A station code</label>
+       <comment xml:lang="en">
+               <p>
+                       The I·A·T·A station code of this thing (presumably an airport or train station).
+               </p>
+       </comment>
+       <isDefinedBy>
+               <SpecificResource source="(SWAP-PIM)"/>
+       </isDefinedBy>
+       <range>
+               <resource name="xsd:string"/>
+       </range>
+</DatatypeProperty>
diff --git a/data/datatype_properties/airports¦icao b/data/datatype_properties/airports¦icao
new file mode 100644 (file)
index 0000000..65a8e4a
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!--
+SPDX-FileCopyrightText: 2025 Lady <https://www.ladys.computer/about/#lady>
+SPDX-License-Identifier: CC0-1.0
+-->
+<!DOCTYPE DatatypeProperty SYSTEM "../../DTD">
+<DatatypeProperty>
+       <label xml:lang="en">I·C·A·O airport code</label>
+       <comment xml:lang="en">
+               <p>
+                       The I·C·A·O airport code of this thing (presumably an airport).
+               </p>
+       </comment>
+       <isDefinedBy>
+               <SpecificResource source="(SWAP-PIM)"/>
+       </isDefinedBy>
+       <range>
+               <resource name="xsd:string"/>
+       </range>
+</DatatypeProperty>
index 67b33a084fcfe4f0608cc679c5d9ba2040950495..2c400dcf2ca32b3af2be165be7fea5aad0d1279e 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!--
-SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
+SPDX-FileCopyrightText: 2024, 2025 Lady <https://www.ladys.computer/about/#lady>
 SPDX-License-Identifier: CC0-1.0
 -->
 <!DOCTYPE NamedIndividual SYSTEM "../../DTD">
@@ -124,7 +124,8 @@ SPDX-License-Identifier: CC0-1.0
                        </item>
                </list>
                <p>
-                       In cases where a property in Swap Pim is defined as equivalent to another property in a different name·space, it is strongly recommended that you use the other property instead.
+                       Two terms in the <code>airports:</code> name·space, <ptr target="airports:iata"/> and <ptr target="airports:icao"/>, are also defined, for use with <ptr target="contact:nearestAirport"/>.
+                       In cases where a property in Swap P·I·M is defined as equivalent to another property in a different name·space, it is strongly recommended that you use the other property instead.
                </p>
        </comment>
        <type>
diff --git a/data/object_properties/contact¦nearestAirport b/data/object_properties/contact¦nearestAirport
new file mode 100644 (file)
index 0000000..f53e78a
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<!--
+SPDX-FileCopyrightText: 2025 Lady <https://www.ladys.computer/about/#lady>
+SPDX-License-Identifier: CC0-1.0
+-->
+<!DOCTYPE ObjectProperty SYSTEM "../../DTD">
+<ObjectProperty>
+       <label xml:lang="en">nearest airport</label>
+       <comment xml:lang="en">
+               <p>
+                       An airport which is “near” this <ref target="contact:SocialEntity">Social Entity</ref>.
+               </p>
+               <p>
+                       The intention of this property is to give a rough geographic location with·out being overly precise.
+                       Consequently, the value of this property may not be the literal nearest airport, but the nearest one of a given size or utility (international, passenger).
+               </p>
+               <p>
+                       It is recommended that I·A·T·A airport codes be given on the airport using <ptr target="airports:iata"/> and I·C·A·O codes using <ptr target="airports:icao"/>.
+               </p>
+       </comment>
+       <isDefinedBy>
+               <SpecificResource source="(SWAP-PIM)"/>
+       </isDefinedBy>
+</ObjectProperty>
index fd3c0f1e8b20f8182378f85ad5c98b7115ace89d..df9699864a9a8173de2280477bfca498e2af8346 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!--
-SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
+SPDX-FileCopyrightText: 2024, 2025 Lady <https://www.ladys.computer/about/#lady>
 SPDX-License-Identifier: CC0-1.0
 -->
 <!DOCTYPE Ontology SYSTEM "../../DTD">
@@ -29,6 +29,10 @@ SPDX-License-Identifier: CC0-1.0
                <prefix/>
                <namespace>https://vocab.ladys.computer/terms/</namespace>
        </declare>
+       <declare>
+               <prefix>airports</prefix>
+               <namespace>http://www.megginson.com/exp/ns/airports#</namespace>
+       </declare>
        <declare>
                <prefix>anno</prefix>
                <namespace>http://www.w3.org/ns/oa#</namespace>
This page took 0.026498 seconds and 4 git commands to generate.