commit 478c17c0ba78e3db0f501e5d1f09bb61cc915ec5
parent 81605d002d7bbc85bfe7c116da50a3cea45aac1f
Author: Lynn Foster <foster.j.lynn@gmail.com>
Date: Sat, 2 Nov 2019 07:21:59 -0500
First cut agent role enhancements. (#594)
* First cut agent role enhancements.
* removed AgentRoleBehavior and individuals
Diffstat:
2 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/examples/agent.yaml b/examples/agent.yaml
@@ -15,14 +15,14 @@
- '@id': https://alice.example/
'@type': foaf:Person
- name: 'Alice'
+ name: Alice
image: https://alice.example/avatar.png
primaryLocation: https://somelocation.example
skos:note: Alice is a mechanical engineer who likes to work in the fablab.
- '@id': https://bob.example/
'@type': foaf:Person
- name: 'Bob'
+ name: Bob
- '@id': https://fablab.example/
'@type': org:Organization
@@ -36,22 +36,19 @@
- '@id': fablab:52f0e212-3c4f-4d27-b345-5e964c135824
'@type': AgentRelationshipRole
- name: member
- rdfs:label: is member of
- inverseLabel: has member
+ roleLabel: is member of
+ inverseRoleLabel: has member
skos:note: Both persons and organizations can be members of this fablab.
- '@id': fablab:02b39a30-3e04-4305-9656-7f261aa63c84
'@type': AgentRelationshipRole
- name: trading partner
- rdfs:label: is supplier of
- inverseLabel: is customer of
+ roleLabel: is supplier of
+ inverseRoleLabel: is customer of
- '@id': fablab:a25500e0-0106-43cd-8cbb-e74779488835
'@type': AgentRelationshipRole
- name: mentor
- rdfs:label: mentors
- inverseLabel: has mentor
+ roleLabel: mentors
+ inverseRoleLabel: has mentor
# Relationships
diff --git a/release-doc-in-process/all_vf.TTL b/release-doc-in-process/all_vf.TTL
@@ -28,7 +28,6 @@ vf:Action a owl:Class ;
vf:AgentRelationshipRole a owl:Class ;
rdfs:label "vf:AgentRelationshipRole" ;
- rdfs:subClassOf rdf:Property ;
vs:term_status "unstable" ;
rdfs:comment "A relationship role defining the kind of association one agent can have with another." .
@@ -671,12 +670,19 @@ vf:mappableAddress a owl:ObjectProperty ;
vs:term_status "unstable" ;
rdfs:comment "A textual address that can be mapped using mapping software." .
-vf:inverseLabel a owl:DatatypeProperty ;
- rdfs:label "inverse label" ;
+vf:roleLabel a owl:DatatypeProperty ;
+ rdfs:label "role label" ;
+ rdfs:domain vf:AgentRelationshipRole ;
+ rdfs:range xsd:string ;
+ vs:term_status "unstable" ;
+ rdfs:comment "The human readable name of the role, inverse from the object to the subject. For example, 'is member of'." .
+
+vf:inverseRoleLabel a owl:DatatypeProperty ;
+ rdfs:label "inverse role label" ;
rdfs:domain vf:AgentRelationshipRole ;
- rdfs:range rdfs:label ;
+ rdfs:range xsd:string ;
vs:term_status "unstable" ;
- rdfs:comment "The human readable name of the role, inverse from the object to the subject." .
+ rdfs:comment "The human readable name of the role, inverse from the object to the subject. For example, 'has member'." .
# ################################ action verbs