]> Lady’s Gitweb - Vocab/blob - data/datatype_properties/foaf¦phone
Initial commit; initial set of vocabs
[Vocab] / data / datatype_properties / foaf¦phone
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: CC0-1.0
5 -->
6 <!DOCTYPE DatatypeProperty SYSTEM "../../DTD">
7 <DatatypeProperty>
8 <label xml:lang="en">phone</label>
9 <comment xml:lang="en">
10 <p>
11 A phone (number) for this thing.
12 </p>
13 <p>
14 Existing practice is (probably) to use this property as an object property linking to a resource with a <code>tel:</code> U·R·I, but it¦s unclear what such resources would represent.
15 This vocabulary instead defines it as a data property which takes <code>tel:</code> U·R·I¦s as <resource name="xsd:anyURI"/> values.
16 Use <ptr target="contact:phone"/> instead if you want to point to a <ref target="contact:Phone">Phone</ref> object.
17 </p>
18 </comment>
19 <isDefinedBy>
20 <SpecificResource source="(FOAF)" fragment="term_phone"/>
21 </isDefinedBy>
22 <range>
23 <Datatype>
24 <onDatatype>
25 <resource name="xsd:anyURI"/>
26 </onDatatype>
27 <withRestrictions>
28 <pattern>tel:.*</pattern>
29 </withRestrictions>
30 </Datatype>
31 </range>
32 </DatatypeProperty>
This page took 0.110717 seconds and 5 git commands to generate.