123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132(*********************************************************************************)(* 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 *)(* *)(*********************************************************************************)letldp_str="http://www.w3.org/ns/ldp#";;letldp=Iri.of_stringldp_str;;letldp_s=Iri.of_string(ldp_str^s);;letc_BasicContainer=ldp_"BasicContainer";;letc_Container=ldp_"Container";;letc_DirectContainer=ldp_"DirectContainer";;letc_IndirectContainer=ldp_"IndirectContainer";;letc_NonRDFSource=ldp_"NonRDFSource";;letc_Page=ldp_"Page";;letc_PageSortCriterion=ldp_"PageSortCriterion";;letc_RDFSource=ldp_"RDFSource";;letc_Resource=ldp_"Resource";;letconstrainedBy=ldp_"constrainedBy";;letcontains=ldp_"contains";;lethasMemberRelation=ldp_"hasMemberRelation";;letinbox=ldp_"inbox";;letinsertedContentRelation=ldp_"insertedContentRelation";;letisMemberOfRelation=ldp_"isMemberOfRelation";;letmember=ldp_"member";;letmembershipResource=ldp_"membershipResource";;letpageSequence=ldp_"pageSequence";;letpageSortCollation=ldp_"pageSortCollation";;letpageSortCriteria=ldp_"pageSortCriteria";;letpageSortOrder=ldp_"pageSortOrder";;letpageSortPredicate=ldp_"pageSortPredicate";;moduleOpen=structletldp_c_BasicContainer=c_BasicContainerletldp_c_Container=c_Containerletldp_c_DirectContainer=c_DirectContainerletldp_c_IndirectContainer=c_IndirectContainerletldp_c_NonRDFSource=c_NonRDFSourceletldp_c_Page=c_Pageletldp_c_PageSortCriterion=c_PageSortCriterionletldp_c_RDFSource=c_RDFSourceletldp_c_Resource=c_Resourceletldp_constrainedBy=constrainedByletldp_contains=containsletldp_hasMemberRelation=hasMemberRelationletldp_inbox=inboxletldp_insertedContentRelation=insertedContentRelationletldp_isMemberOfRelation=isMemberOfRelationletldp_member=memberletldp_membershipResource=membershipResourceletldp_pageSequence=pageSequenceletldp_pageSortCollation=pageSortCollationletldp_pageSortCriteria=pageSortCriterialetldp_pageSortOrder=pageSortOrderletldp_pageSortPredicate=pageSortPredicateendclassfrom?subg=letsub=matchsubwithNone->Term.Iri(g.Graph.name())|Somet->tinobject(self)methodconstrainedBy=g.Graph.objects_of~sub~pred:constrainedBymethodconstrainedBy_opt=matchself#constrainedBywith[]->None|x::_->SomexmethodconstrainedBy_iris=Graph.only_iris(self#constrainedBy)methodconstrainedBy_opt_iri=matchself#constrainedBy_iriswith[]->None|x::_->Somexmethodcontains=g.Graph.objects_of~sub~pred:containsmethodcontains_opt=matchself#containswith[]->None|x::_->Somexmethodcontains_iris=Graph.only_iris(self#contains)methodcontains_opt_iri=matchself#contains_iriswith[]->None|x::_->SomexmethodhasMemberRelation=g.Graph.objects_of~sub~pred:hasMemberRelationmethodhasMemberRelation_opt=matchself#hasMemberRelationwith[]->None|x::_->SomexmethodhasMemberRelation_iris=Graph.only_iris(self#hasMemberRelation)methodhasMemberRelation_opt_iri=matchself#hasMemberRelation_iriswith[]->None|x::_->Somexmethodinbox=g.Graph.objects_of~sub~pred:inboxmethodinbox_opt=matchself#inboxwith[]->None|x::_->Somexmethodinbox_iris=Graph.only_iris(self#inbox)methodinbox_opt_iri=matchself#inbox_iriswith[]->None|x::_->SomexmethodinsertedContentRelation=g.Graph.objects_of~sub~pred:insertedContentRelationmethodinsertedContentRelation_opt=matchself#insertedContentRelationwith[]->None|x::_->SomexmethodinsertedContentRelation_iris=Graph.only_iris(self#insertedContentRelation)methodinsertedContentRelation_opt_iri=matchself#insertedContentRelation_iriswith[]->None|x::_->SomexmethodisMemberOfRelation=g.Graph.objects_of~sub~pred:isMemberOfRelationmethodisMemberOfRelation_opt=matchself#isMemberOfRelationwith[]->None|x::_->SomexmethodisMemberOfRelation_iris=Graph.only_iris(self#isMemberOfRelation)methodisMemberOfRelation_opt_iri=matchself#isMemberOfRelation_iriswith[]->None|x::_->Somexmethodmember=g.Graph.objects_of~sub~pred:membermethodmember_opt=matchself#memberwith[]->None|x::_->Somexmethodmember_iris=Graph.only_iris(self#member)methodmember_opt_iri=matchself#member_iriswith[]->None|x::_->SomexmethodmembershipResource=g.Graph.objects_of~sub~pred:membershipResourcemethodmembershipResource_opt=matchself#membershipResourcewith[]->None|x::_->SomexmethodmembershipResource_iris=Graph.only_iris(self#membershipResource)methodmembershipResource_opt_iri=matchself#membershipResource_iriswith[]->None|x::_->SomexmethodpageSequence=g.Graph.objects_of~sub~pred:pageSequencemethodpageSequence_opt=matchself#pageSequencewith[]->None|x::_->SomexmethodpageSequence_iris=Graph.only_iris(self#pageSequence)methodpageSequence_opt_iri=matchself#pageSequence_iriswith[]->None|x::_->SomexmethodpageSortCollation=g.Graph.objects_of~sub~pred:pageSortCollationmethodpageSortCollation_opt=matchself#pageSortCollationwith[]->None|x::_->SomexmethodpageSortCollation_iris=Graph.only_iris(self#pageSortCollation)methodpageSortCollation_opt_iri=matchself#pageSortCollation_iriswith[]->None|x::_->SomexmethodpageSortCriteria=g.Graph.objects_of~sub~pred:pageSortCriteriamethodpageSortCriteria_opt=matchself#pageSortCriteriawith[]->None|x::_->SomexmethodpageSortCriteria_iris=Graph.only_iris(self#pageSortCriteria)methodpageSortCriteria_opt_iri=matchself#pageSortCriteria_iriswith[]->None|x::_->SomexmethodpageSortOrder=g.Graph.objects_of~sub~pred:pageSortOrdermethodpageSortOrder_opt=matchself#pageSortOrderwith[]->None|x::_->SomexmethodpageSortOrder_iris=Graph.only_iris(self#pageSortOrder)methodpageSortOrder_opt_iri=matchself#pageSortOrder_iriswith[]->None|x::_->SomexmethodpageSortPredicate=g.Graph.objects_of~sub~pred:pageSortPredicatemethodpageSortPredicate_opt=matchself#pageSortPredicatewith[]->None|x::_->SomexmethodpageSortPredicate_iris=Graph.only_iris(self#pageSortPredicate)methodpageSortPredicate_opt_iri=matchself#pageSortPredicate_iriswith[]->None|x::_->Somexend