123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108(*********************************************************************************)(* OCaml-RDF *)(* *)(* Copyright (C) 2012-2024 Institut National de Recherche en Informatique *)(* et en Automatique. All rights reserved. *)(* *)(* This program is free software; you can redistribute it and/or modify *)(* it under the terms of the GNU Lesser General Public License version *)(* 3 as published by the Free Software Foundation. *)(* *)(* This program is distributed in the hope that it will be useful, *)(* but WITHOUT ANY WARRANTY; without even the implied warranty of *)(* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *)(* GNU General Public License for more details. *)(* *)(* You should have received a copy of the GNU General Public License *)(* along with this program; if not, write to the Free Software *)(* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA *)(* 02111-1307 USA *)(* *)(* Contact: Maxence.Guesdon@inria.fr *)(* *)(*********************************************************************************)letacl_str="http://www.w3.org/ns/auth/acl#";;letacl=Iri.of_stringacl_str;;letacl_s=Iri.of_string(acl_str^s);;letc_Access=acl_"Access";;letc_Append=acl_"Append";;letc_Authorization=acl_"Authorization";;letc_Control=acl_"Control";;letc_Read=acl_"Read";;letc_Write=acl_"Write";;letaccessControl=acl_"accessControl";;letaccessTo=acl_"accessTo";;letaccessToClass=acl_"accessToClass";;letagent=acl_"agent";;letagentClass=acl_"agentClass";;letagentGroup=acl_"agentGroup";;letdefaultForNew=acl_"defaultForNew";;letdelegates=acl_"delegates";;letmode=acl_"mode";;letowner=acl_"owner";;moduleOpen=structletacl_c_Access=c_Accessletacl_c_Append=c_Appendletacl_c_Authorization=c_Authorizationletacl_c_Control=c_Controlletacl_c_Read=c_Readletacl_c_Write=c_Writeletacl_accessControl=accessControlletacl_accessTo=accessToletacl_accessToClass=accessToClassletacl_agent=agentletacl_agentClass=agentClassletacl_agentGroup=agentGroupletacl_defaultForNew=defaultForNewletacl_delegates=delegatesletacl_mode=modeletacl_owner=ownerendclassfrom?subg=letsub=matchsubwithNone->Term.Iri(g.Graph.name())|Somet->tinobject(self)methodaccessControl=g.Graph.objects_of~sub~pred:accessControlmethodaccessControl_opt=matchself#accessControlwith[]->None|x::_->SomexmethodaccessControl_iris=Graph.only_iris(self#accessControl)methodaccessControl_opt_iri=matchself#accessControl_iriswith[]->None|x::_->SomexmethodaccessTo=g.Graph.objects_of~sub~pred:accessTomethodaccessTo_opt=matchself#accessTowith[]->None|x::_->SomexmethodaccessTo_iris=Graph.only_iris(self#accessTo)methodaccessTo_opt_iri=matchself#accessTo_iriswith[]->None|x::_->SomexmethodaccessToClass=g.Graph.objects_of~sub~pred:accessToClassmethodaccessToClass_opt=matchself#accessToClasswith[]->None|x::_->SomexmethodaccessToClass_iris=Graph.only_iris(self#accessToClass)methodaccessToClass_opt_iri=matchself#accessToClass_iriswith[]->None|x::_->Somexmethodagent=g.Graph.objects_of~sub~pred:agentmethodagent_opt=matchself#agentwith[]->None|x::_->Somexmethodagent_iris=Graph.only_iris(self#agent)methodagent_opt_iri=matchself#agent_iriswith[]->None|x::_->SomexmethodagentClass=g.Graph.objects_of~sub~pred:agentClassmethodagentClass_opt=matchself#agentClasswith[]->None|x::_->SomexmethodagentClass_iris=Graph.only_iris(self#agentClass)methodagentClass_opt_iri=matchself#agentClass_iriswith[]->None|x::_->SomexmethodagentGroup=g.Graph.objects_of~sub~pred:agentGroupmethodagentGroup_opt=matchself#agentGroupwith[]->None|x::_->SomexmethodagentGroup_iris=Graph.only_iris(self#agentGroup)methodagentGroup_opt_iri=matchself#agentGroup_iriswith[]->None|x::_->SomexmethoddefaultForNew=g.Graph.objects_of~sub~pred:defaultForNewmethoddefaultForNew_opt=matchself#defaultForNewwith[]->None|x::_->SomexmethoddefaultForNew_iris=Graph.only_iris(self#defaultForNew)methoddefaultForNew_opt_iri=matchself#defaultForNew_iriswith[]->None|x::_->Somexmethoddelegates=g.Graph.objects_of~sub~pred:delegatesmethoddelegates_opt=matchself#delegateswith[]->None|x::_->Somexmethoddelegates_iris=Graph.only_iris(self#delegates)methoddelegates_opt_iri=matchself#delegates_iriswith[]->None|x::_->Somexmethodmode=g.Graph.objects_of~sub~pred:modemethodmode_opt=matchself#modewith[]->None|x::_->Somexmethodmode_iris=Graph.only_iris(self#mode)methodmode_opt_iri=matchself#mode_iriswith[]->None|x::_->Somexmethodowner=g.Graph.objects_of~sub~pred:ownermethodowner_opt=matchself#ownerwith[]->None|x::_->Somexmethodowner_iris=Graph.only_iris(self#owner)methodowner_opt_iri=matchself#owner_iriswith[]->None|x::_->Somexend