12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788(*********************************************************************************)(* 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 *)(* *)(*********************************************************************************)letpim_str="http://www.w3.org/ns/pim/space#";;letpim=Iri.of_stringpim_str;;letpim_s=Iri.of_string(pim_str^s);;letc_ConfigurationFile=pim_"ConfigurationFile";;letc_ControlledStorage=pim_"ControlledStorage";;letc_MasterWorkspace=pim_"MasterWorkspace";;letc_PersonalStorage=pim_"PersonalStorage";;letc_PreferencesWorkspace=pim_"PreferencesWorkspace";;letc_PrivateWorkspace=pim_"PrivateWorkspace";;letc_PublicStorage=pim_"PublicStorage";;letc_PublicWorkspace=pim_"PublicWorkspace";;letc_SharedWorkspace=pim_"SharedWorkspace";;letc_Storage=pim_"Storage";;letc_Workspace=pim_"Workspace";;letmasterWorkspace=pim_"masterWorkspace";;letpreferencesFile=pim_"preferencesFile";;letstorage=pim_"storage";;leturiPrefix=pim_"uriPrefix";;letworkspace=pim_"workspace";;moduleOpen=structletpim_c_ConfigurationFile=c_ConfigurationFileletpim_c_ControlledStorage=c_ControlledStorageletpim_c_MasterWorkspace=c_MasterWorkspaceletpim_c_PersonalStorage=c_PersonalStorageletpim_c_PreferencesWorkspace=c_PreferencesWorkspaceletpim_c_PrivateWorkspace=c_PrivateWorkspaceletpim_c_PublicStorage=c_PublicStorageletpim_c_PublicWorkspace=c_PublicWorkspaceletpim_c_SharedWorkspace=c_SharedWorkspaceletpim_c_Storage=c_Storageletpim_c_Workspace=c_Workspaceletpim_masterWorkspace=masterWorkspaceletpim_preferencesFile=preferencesFileletpim_storage=storageletpim_uriPrefix=uriPrefixletpim_workspace=workspaceendclassfrom?subg=letsub=matchsubwithNone->Term.Iri(g.Graph.name())|Somet->tinobject(self)methodmasterWorkspace=g.Graph.objects_of~sub~pred:masterWorkspacemethodmasterWorkspace_opt=matchself#masterWorkspacewith[]->None|x::_->SomexmethodmasterWorkspace_iris=Graph.only_iris(self#masterWorkspace)methodmasterWorkspace_opt_iri=matchself#masterWorkspace_iriswith[]->None|x::_->SomexmethodpreferencesFile=g.Graph.objects_of~sub~pred:preferencesFilemethodpreferencesFile_opt=matchself#preferencesFilewith[]->None|x::_->SomexmethodpreferencesFile_iris=Graph.only_iris(self#preferencesFile)methodpreferencesFile_opt_iri=matchself#preferencesFile_iriswith[]->None|x::_->Somexmethodstorage=g.Graph.objects_of~sub~pred:storagemethodstorage_opt=matchself#storagewith[]->None|x::_->Somexmethodstorage_iris=Graph.only_iris(self#storage)methodstorage_opt_iri=matchself#storage_iriswith[]->None|x::_->SomexmethoduriPrefix=g.Graph.objects_of~sub~pred:uriPrefixmethoduriPrefix_opt=matchself#uriPrefixwith[]->None|x::_->SomexmethoduriPrefix_iris=Graph.only_iris(self#uriPrefix)methoduriPrefix_opt_iri=matchself#uriPrefix_iriswith[]->None|x::_->Somexmethodworkspace=g.Graph.objects_of~sub~pred:workspacemethodworkspace_opt=matchself#workspacewith[]->None|x::_->Somexmethodworkspace_iris=Graph.only_iris(self#workspace)methodworkspace_opt_iri=matchself#workspace_iriswith[]->None|x::_->Somexend