-
Notifications
You must be signed in to change notification settings - Fork 6
/
organizationForm.ttl
59 lines (45 loc) · 1.59 KB
/
organizationForm.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Form to record episodes in the life of a person
#
#
@prefix : <#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix schema: <http://schema.org/>.
@prefix solid: <http://www.w3.org/ns/solid/terms#>.
@prefix ui: <http://www.w3.org/ns/ui#>.
@prefix vcard: <http://www.w3.org/2006/vcard/ns#>.
@prefix : <#>.
vcard:Organization ui:creationForm :OrganizationCreationForm .
# Ontology data to drive the classifier
solid:InterestingOrganization owl:disjointUnionOf (
# Airline - a Corporation
# Consortium - a Corporation or a NGO
schema:Corporation
schema:EducationalOrganization
# FundingScheme - eh?
schema:GovernmentOrganization
# LibrarySystem
# LocalBusiness - Corporation
# MedicalOrganization - a Corporation or a NGO
schema:NGO
# NewsMediaOrganization - a Corporation or a NGO
schema:PerformingGroup # a band
schema:Project # like Solid
schema:SportsOrganization # a Team
) .
:OrganizationCreationForm a ui:Form; schema:name "Form for editing an Organization" ;
ui:parts ( :OrgClassifier :homePageURIField ) .
:OrgClassifier a ui:Classifier; ui:label "What sort of organization?"@en;
ui:category solid:InterestingOrganization .
:instituteNameField
a ui:SingleLineTextField ;
ui:label "Intitute Name";
ui:maxLength "200" ;
ui:property schema:name ;
ui:size "80" .
:homePageURIField a ui:NamedNodeURIField;
ui:property schema:url . # @@ ??
:initituteTypeField a ui:Classifier;
ui:label "What sort of organization";
ui:category solid:InterestingOrganization .
# ends