123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370(*********************************************************************************)(* 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 *)(* *)(*********************************************************************************)letowl_str="http://www.w3.org/2002/07/owl#";;letowl=Iri.of_stringowl_str;;letowl_s=Iri.of_string(owl_str^s);;letc_AllDifferent=owl_"AllDifferent";;letc_AllDisjointClasses=owl_"AllDisjointClasses";;letc_AllDisjointProperties=owl_"AllDisjointProperties";;letc_Annotation=owl_"Annotation";;letc_AnnotationProperty=owl_"AnnotationProperty";;letc_AsymmetricProperty=owl_"AsymmetricProperty";;letc_Axiom=owl_"Axiom";;letc_Class=owl_"Class";;letc_DataRange=owl_"DataRange";;letc_DatatypeProperty=owl_"DatatypeProperty";;letc_DeprecatedClass=owl_"DeprecatedClass";;letc_DeprecatedProperty=owl_"DeprecatedProperty";;letc_FunctionalProperty=owl_"FunctionalProperty";;letc_InverseFunctionalProperty=owl_"InverseFunctionalProperty";;letc_IrreflexiveProperty=owl_"IrreflexiveProperty";;letc_NamedIndividual=owl_"NamedIndividual";;letc_NegativePropertyAssertion=owl_"NegativePropertyAssertion";;letc_Nothing=owl_"Nothing";;letc_ObjectProperty=owl_"ObjectProperty";;letc_Ontology=owl_"Ontology";;letc_OntologyProperty=owl_"OntologyProperty";;letc_ReflexiveProperty=owl_"ReflexiveProperty";;letc_Restriction=owl_"Restriction";;letc_SymmetricProperty=owl_"SymmetricProperty";;letc_Thing=owl_"Thing";;letc_TransitiveProperty=owl_"TransitiveProperty";;letallValuesFrom=owl_"allValuesFrom";;letannotatedProperty=owl_"annotatedProperty";;letannotatedSource=owl_"annotatedSource";;letannotatedTarget=owl_"annotatedTarget";;letassertionProperty=owl_"assertionProperty";;letbackwardCompatibleWith=owl_"backwardCompatibleWith";;letbottomDataProperty=owl_"bottomDataProperty";;letbottomObjectProperty=owl_"bottomObjectProperty";;letcardinality=owl_"cardinality";;letcomplementOf=owl_"complementOf";;letdatatypeComplementOf=owl_"datatypeComplementOf";;letdeprecated=owl_"deprecated";;letdifferentFrom=owl_"differentFrom";;letdisjointUnionOf=owl_"disjointUnionOf";;letdisjointWith=owl_"disjointWith";;letdistinctMembers=owl_"distinctMembers";;letequivalentClass=owl_"equivalentClass";;letequivalentProperty=owl_"equivalentProperty";;lethasKey=owl_"hasKey";;lethasSelf=owl_"hasSelf";;lethasValue=owl_"hasValue";;letincompatibleWith=owl_"incompatibleWith";;letintersectionOf=owl_"intersectionOf";;letinverseOf=owl_"inverseOf";;letmaxCardinality=owl_"maxCardinality";;letmaxQualifiedCardinality=owl_"maxQualifiedCardinality";;letmembers=owl_"members";;letminCardinality=owl_"minCardinality";;letminQualifiedCardinality=owl_"minQualifiedCardinality";;letonClass=owl_"onClass";;letonDataRange=owl_"onDataRange";;letonDatatype=owl_"onDatatype";;letonProperties=owl_"onProperties";;letonProperty=owl_"onProperty";;letoneOf=owl_"oneOf";;letpriorVersion=owl_"priorVersion";;letpropertyChainAxiom=owl_"propertyChainAxiom";;letpropertyDisjointWith=owl_"propertyDisjointWith";;letqualifiedCardinality=owl_"qualifiedCardinality";;letsameAs=owl_"sameAs";;letsomeValuesFrom=owl_"someValuesFrom";;letsourceIndividual=owl_"sourceIndividual";;lettargetIndividual=owl_"targetIndividual";;lettargetValue=owl_"targetValue";;lettopDataProperty=owl_"topDataProperty";;lettopObjectProperty=owl_"topObjectProperty";;letunionOf=owl_"unionOf";;letversionInfo=owl_"versionInfo";;letwithRestrictions=owl_"withRestrictions";;moduleOpen=structletowl_c_AllDifferent=c_AllDifferentletowl_c_AllDisjointClasses=c_AllDisjointClassesletowl_c_AllDisjointProperties=c_AllDisjointPropertiesletowl_c_Annotation=c_Annotationletowl_c_AnnotationProperty=c_AnnotationPropertyletowl_c_AsymmetricProperty=c_AsymmetricPropertyletowl_c_Axiom=c_Axiomletowl_c_Class=c_Classletowl_c_DataRange=c_DataRangeletowl_c_DatatypeProperty=c_DatatypePropertyletowl_c_DeprecatedClass=c_DeprecatedClassletowl_c_DeprecatedProperty=c_DeprecatedPropertyletowl_c_FunctionalProperty=c_FunctionalPropertyletowl_c_InverseFunctionalProperty=c_InverseFunctionalPropertyletowl_c_IrreflexiveProperty=c_IrreflexivePropertyletowl_c_NamedIndividual=c_NamedIndividualletowl_c_NegativePropertyAssertion=c_NegativePropertyAssertionletowl_c_Nothing=c_Nothingletowl_c_ObjectProperty=c_ObjectPropertyletowl_c_Ontology=c_Ontologyletowl_c_OntologyProperty=c_OntologyPropertyletowl_c_ReflexiveProperty=c_ReflexivePropertyletowl_c_Restriction=c_Restrictionletowl_c_SymmetricProperty=c_SymmetricPropertyletowl_c_Thing=c_Thingletowl_c_TransitiveProperty=c_TransitivePropertyletowl_allValuesFrom=allValuesFromletowl_annotatedProperty=annotatedPropertyletowl_annotatedSource=annotatedSourceletowl_annotatedTarget=annotatedTargetletowl_assertionProperty=assertionPropertyletowl_backwardCompatibleWith=backwardCompatibleWithletowl_bottomDataProperty=bottomDataPropertyletowl_bottomObjectProperty=bottomObjectPropertyletowl_cardinality=cardinalityletowl_complementOf=complementOfletowl_datatypeComplementOf=datatypeComplementOfletowl_deprecated=deprecatedletowl_differentFrom=differentFromletowl_disjointUnionOf=disjointUnionOfletowl_disjointWith=disjointWithletowl_distinctMembers=distinctMembersletowl_equivalentClass=equivalentClassletowl_equivalentProperty=equivalentPropertyletowl_hasKey=hasKeyletowl_hasSelf=hasSelfletowl_hasValue=hasValueletowl_incompatibleWith=incompatibleWithletowl_intersectionOf=intersectionOfletowl_inverseOf=inverseOfletowl_maxCardinality=maxCardinalityletowl_maxQualifiedCardinality=maxQualifiedCardinalityletowl_members=membersletowl_minCardinality=minCardinalityletowl_minQualifiedCardinality=minQualifiedCardinalityletowl_onClass=onClassletowl_onDataRange=onDataRangeletowl_onDatatype=onDatatypeletowl_onProperties=onPropertiesletowl_onProperty=onPropertyletowl_oneOf=oneOfletowl_priorVersion=priorVersionletowl_propertyChainAxiom=propertyChainAxiomletowl_propertyDisjointWith=propertyDisjointWithletowl_qualifiedCardinality=qualifiedCardinalityletowl_sameAs=sameAsletowl_someValuesFrom=someValuesFromletowl_sourceIndividual=sourceIndividualletowl_targetIndividual=targetIndividualletowl_targetValue=targetValueletowl_topDataProperty=topDataPropertyletowl_topObjectProperty=topObjectPropertyletowl_unionOf=unionOfletowl_versionInfo=versionInfoletowl_withRestrictions=withRestrictionsendclassfrom?subg=letsub=matchsubwithNone->Term.Iri(g.Graph.name())|Somet->tinobject(self)methodallValuesFrom=g.Graph.objects_of~sub~pred:allValuesFrommethodallValuesFrom_opt=matchself#allValuesFromwith[]->None|x::_->SomexmethodallValuesFrom_iris=Graph.only_iris(self#allValuesFrom)methodallValuesFrom_opt_iri=matchself#allValuesFrom_iriswith[]->None|x::_->SomexmethodannotatedProperty=g.Graph.objects_of~sub~pred:annotatedPropertymethodannotatedProperty_opt=matchself#annotatedPropertywith[]->None|x::_->SomexmethodannotatedProperty_iris=Graph.only_iris(self#annotatedProperty)methodannotatedProperty_opt_iri=matchself#annotatedProperty_iriswith[]->None|x::_->SomexmethodannotatedSource=g.Graph.objects_of~sub~pred:annotatedSourcemethodannotatedSource_opt=matchself#annotatedSourcewith[]->None|x::_->SomexmethodannotatedSource_iris=Graph.only_iris(self#annotatedSource)methodannotatedSource_opt_iri=matchself#annotatedSource_iriswith[]->None|x::_->SomexmethodannotatedTarget=g.Graph.objects_of~sub~pred:annotatedTargetmethodannotatedTarget_opt=matchself#annotatedTargetwith[]->None|x::_->SomexmethodannotatedTarget_iris=Graph.only_iris(self#annotatedTarget)methodannotatedTarget_opt_iri=matchself#annotatedTarget_iriswith[]->None|x::_->SomexmethodassertionProperty=g.Graph.objects_of~sub~pred:assertionPropertymethodassertionProperty_opt=matchself#assertionPropertywith[]->None|x::_->SomexmethodassertionProperty_iris=Graph.only_iris(self#assertionProperty)methodassertionProperty_opt_iri=matchself#assertionProperty_iriswith[]->None|x::_->SomexmethodbackwardCompatibleWith=g.Graph.objects_of~sub~pred:backwardCompatibleWithmethodbackwardCompatibleWith_opt=matchself#backwardCompatibleWithwith[]->None|x::_->SomexmethodbackwardCompatibleWith_iris=Graph.only_iris(self#backwardCompatibleWith)methodbackwardCompatibleWith_opt_iri=matchself#backwardCompatibleWith_iriswith[]->None|x::_->SomexmethodbottomDataProperty=Graph.literal_objects_ofg~sub~pred:bottomDataPropertymethodbottomDataProperty_opt=matchself#bottomDataPropertywith[]->None|x::_->SomexmethodbottomObjectProperty=g.Graph.objects_of~sub~pred:bottomObjectPropertymethodbottomObjectProperty_opt=matchself#bottomObjectPropertywith[]->None|x::_->SomexmethodbottomObjectProperty_iris=Graph.only_iris(self#bottomObjectProperty)methodbottomObjectProperty_opt_iri=matchself#bottomObjectProperty_iriswith[]->None|x::_->Somexmethodcardinality=g.Graph.objects_of~sub~pred:cardinalitymethodcardinality_opt=matchself#cardinalitywith[]->None|x::_->Somexmethodcardinality_iris=Graph.only_iris(self#cardinality)methodcardinality_opt_iri=matchself#cardinality_iriswith[]->None|x::_->SomexmethodcomplementOf=g.Graph.objects_of~sub~pred:complementOfmethodcomplementOf_opt=matchself#complementOfwith[]->None|x::_->SomexmethodcomplementOf_iris=Graph.only_iris(self#complementOf)methodcomplementOf_opt_iri=matchself#complementOf_iriswith[]->None|x::_->SomexmethoddatatypeComplementOf=Graph.literal_objects_ofg~sub~pred:datatypeComplementOfmethoddatatypeComplementOf_opt=matchself#datatypeComplementOfwith[]->None|x::_->Somexmethoddeprecated=g.Graph.objects_of~sub~pred:deprecatedmethoddeprecated_opt=matchself#deprecatedwith[]->None|x::_->Somexmethoddeprecated_iris=Graph.only_iris(self#deprecated)methoddeprecated_opt_iri=matchself#deprecated_iriswith[]->None|x::_->SomexmethoddifferentFrom=g.Graph.objects_of~sub~pred:differentFrommethoddifferentFrom_opt=matchself#differentFromwith[]->None|x::_->SomexmethoddifferentFrom_iris=Graph.only_iris(self#differentFrom)methoddifferentFrom_opt_iri=matchself#differentFrom_iriswith[]->None|x::_->SomexmethoddisjointUnionOf=g.Graph.objects_of~sub~pred:disjointUnionOfmethoddisjointUnionOf_opt=matchself#disjointUnionOfwith[]->None|x::_->SomexmethoddisjointUnionOf_iris=Graph.only_iris(self#disjointUnionOf)methoddisjointUnionOf_opt_iri=matchself#disjointUnionOf_iriswith[]->None|x::_->SomexmethoddisjointWith=g.Graph.objects_of~sub~pred:disjointWithmethoddisjointWith_opt=matchself#disjointWithwith[]->None|x::_->SomexmethoddisjointWith_iris=Graph.only_iris(self#disjointWith)methoddisjointWith_opt_iri=matchself#disjointWith_iriswith[]->None|x::_->SomexmethoddistinctMembers=g.Graph.objects_of~sub~pred:distinctMembersmethoddistinctMembers_opt=matchself#distinctMemberswith[]->None|x::_->SomexmethoddistinctMembers_iris=Graph.only_iris(self#distinctMembers)methoddistinctMembers_opt_iri=matchself#distinctMembers_iriswith[]->None|x::_->SomexmethodequivalentClass=g.Graph.objects_of~sub~pred:equivalentClassmethodequivalentClass_opt=matchself#equivalentClasswith[]->None|x::_->SomexmethodequivalentClass_iris=Graph.only_iris(self#equivalentClass)methodequivalentClass_opt_iri=matchself#equivalentClass_iriswith[]->None|x::_->SomexmethodequivalentProperty=g.Graph.objects_of~sub~pred:equivalentPropertymethodequivalentProperty_opt=matchself#equivalentPropertywith[]->None|x::_->SomexmethodequivalentProperty_iris=Graph.only_iris(self#equivalentProperty)methodequivalentProperty_opt_iri=matchself#equivalentProperty_iriswith[]->None|x::_->SomexmethodhasKey=g.Graph.objects_of~sub~pred:hasKeymethodhasKey_opt=matchself#hasKeywith[]->None|x::_->SomexmethodhasKey_iris=Graph.only_iris(self#hasKey)methodhasKey_opt_iri=matchself#hasKey_iriswith[]->None|x::_->SomexmethodhasSelf=g.Graph.objects_of~sub~pred:hasSelfmethodhasSelf_opt=matchself#hasSelfwith[]->None|x::_->SomexmethodhasSelf_iris=Graph.only_iris(self#hasSelf)methodhasSelf_opt_iri=matchself#hasSelf_iriswith[]->None|x::_->SomexmethodhasValue=g.Graph.objects_of~sub~pred:hasValuemethodhasValue_opt=matchself#hasValuewith[]->None|x::_->SomexmethodhasValue_iris=Graph.only_iris(self#hasValue)methodhasValue_opt_iri=matchself#hasValue_iriswith[]->None|x::_->SomexmethodincompatibleWith=g.Graph.objects_of~sub~pred:incompatibleWithmethodincompatibleWith_opt=matchself#incompatibleWithwith[]->None|x::_->SomexmethodincompatibleWith_iris=Graph.only_iris(self#incompatibleWith)methodincompatibleWith_opt_iri=matchself#incompatibleWith_iriswith[]->None|x::_->SomexmethodintersectionOf=g.Graph.objects_of~sub~pred:intersectionOfmethodintersectionOf_opt=matchself#intersectionOfwith[]->None|x::_->SomexmethodintersectionOf_iris=Graph.only_iris(self#intersectionOf)methodintersectionOf_opt_iri=matchself#intersectionOf_iriswith[]->None|x::_->SomexmethodinverseOf=g.Graph.objects_of~sub~pred:inverseOfmethodinverseOf_opt=matchself#inverseOfwith[]->None|x::_->SomexmethodinverseOf_iris=Graph.only_iris(self#inverseOf)methodinverseOf_opt_iri=matchself#inverseOf_iriswith[]->None|x::_->SomexmethodmaxCardinality=g.Graph.objects_of~sub~pred:maxCardinalitymethodmaxCardinality_opt=matchself#maxCardinalitywith[]->None|x::_->SomexmethodmaxCardinality_iris=Graph.only_iris(self#maxCardinality)methodmaxCardinality_opt_iri=matchself#maxCardinality_iriswith[]->None|x::_->SomexmethodmaxQualifiedCardinality=g.Graph.objects_of~sub~pred:maxQualifiedCardinalitymethodmaxQualifiedCardinality_opt=matchself#maxQualifiedCardinalitywith[]->None|x::_->SomexmethodmaxQualifiedCardinality_iris=Graph.only_iris(self#maxQualifiedCardinality)methodmaxQualifiedCardinality_opt_iri=matchself#maxQualifiedCardinality_iriswith[]->None|x::_->Somexmethodmembers=g.Graph.objects_of~sub~pred:membersmethodmembers_opt=matchself#memberswith[]->None|x::_->Somexmethodmembers_iris=Graph.only_iris(self#members)methodmembers_opt_iri=matchself#members_iriswith[]->None|x::_->SomexmethodminCardinality=g.Graph.objects_of~sub~pred:minCardinalitymethodminCardinality_opt=matchself#minCardinalitywith[]->None|x::_->SomexmethodminCardinality_iris=Graph.only_iris(self#minCardinality)methodminCardinality_opt_iri=matchself#minCardinality_iriswith[]->None|x::_->SomexmethodminQualifiedCardinality=g.Graph.objects_of~sub~pred:minQualifiedCardinalitymethodminQualifiedCardinality_opt=matchself#minQualifiedCardinalitywith[]->None|x::_->SomexmethodminQualifiedCardinality_iris=Graph.only_iris(self#minQualifiedCardinality)methodminQualifiedCardinality_opt_iri=matchself#minQualifiedCardinality_iriswith[]->None|x::_->SomexmethodonClass=g.Graph.objects_of~sub~pred:onClassmethodonClass_opt=matchself#onClasswith[]->None|x::_->SomexmethodonClass_iris=Graph.only_iris(self#onClass)methodonClass_opt_iri=matchself#onClass_iriswith[]->None|x::_->SomexmethodonDataRange=Graph.literal_objects_ofg~sub~pred:onDataRangemethodonDataRange_opt=matchself#onDataRangewith[]->None|x::_->SomexmethodonDatatype=Graph.literal_objects_ofg~sub~pred:onDatatypemethodonDatatype_opt=matchself#onDatatypewith[]->None|x::_->SomexmethodonProperties=g.Graph.objects_of~sub~pred:onPropertiesmethodonProperties_opt=matchself#onPropertieswith[]->None|x::_->SomexmethodonProperties_iris=Graph.only_iris(self#onProperties)methodonProperties_opt_iri=matchself#onProperties_iriswith[]->None|x::_->SomexmethodonProperty=g.Graph.objects_of~sub~pred:onPropertymethodonProperty_opt=matchself#onPropertywith[]->None|x::_->SomexmethodonProperty_iris=Graph.only_iris(self#onProperty)methodonProperty_opt_iri=matchself#onProperty_iriswith[]->None|x::_->SomexmethodoneOf=g.Graph.objects_of~sub~pred:oneOfmethodoneOf_opt=matchself#oneOfwith[]->None|x::_->SomexmethodoneOf_iris=Graph.only_iris(self#oneOf)methodoneOf_opt_iri=matchself#oneOf_iriswith[]->None|x::_->SomexmethodpriorVersion=g.Graph.objects_of~sub~pred:priorVersionmethodpriorVersion_opt=matchself#priorVersionwith[]->None|x::_->SomexmethodpriorVersion_iris=Graph.only_iris(self#priorVersion)methodpriorVersion_opt_iri=matchself#priorVersion_iriswith[]->None|x::_->SomexmethodpropertyChainAxiom=g.Graph.objects_of~sub~pred:propertyChainAxiommethodpropertyChainAxiom_opt=matchself#propertyChainAxiomwith[]->None|x::_->SomexmethodpropertyChainAxiom_iris=Graph.only_iris(self#propertyChainAxiom)methodpropertyChainAxiom_opt_iri=matchself#propertyChainAxiom_iriswith[]->None|x::_->SomexmethodpropertyDisjointWith=g.Graph.objects_of~sub~pred:propertyDisjointWithmethodpropertyDisjointWith_opt=matchself#propertyDisjointWithwith[]->None|x::_->SomexmethodpropertyDisjointWith_iris=Graph.only_iris(self#propertyDisjointWith)methodpropertyDisjointWith_opt_iri=matchself#propertyDisjointWith_iriswith[]->None|x::_->SomexmethodqualifiedCardinality=g.Graph.objects_of~sub~pred:qualifiedCardinalitymethodqualifiedCardinality_opt=matchself#qualifiedCardinalitywith[]->None|x::_->SomexmethodqualifiedCardinality_iris=Graph.only_iris(self#qualifiedCardinality)methodqualifiedCardinality_opt_iri=matchself#qualifiedCardinality_iriswith[]->None|x::_->SomexmethodsameAs=g.Graph.objects_of~sub~pred:sameAsmethodsameAs_opt=matchself#sameAswith[]->None|x::_->SomexmethodsameAs_iris=Graph.only_iris(self#sameAs)methodsameAs_opt_iri=matchself#sameAs_iriswith[]->None|x::_->SomexmethodsomeValuesFrom=g.Graph.objects_of~sub~pred:someValuesFrommethodsomeValuesFrom_opt=matchself#someValuesFromwith[]->None|x::_->SomexmethodsomeValuesFrom_iris=Graph.only_iris(self#someValuesFrom)methodsomeValuesFrom_opt_iri=matchself#someValuesFrom_iriswith[]->None|x::_->SomexmethodsourceIndividual=g.Graph.objects_of~sub~pred:sourceIndividualmethodsourceIndividual_opt=matchself#sourceIndividualwith[]->None|x::_->SomexmethodsourceIndividual_iris=Graph.only_iris(self#sourceIndividual)methodsourceIndividual_opt_iri=matchself#sourceIndividual_iriswith[]->None|x::_->SomexmethodtargetIndividual=g.Graph.objects_of~sub~pred:targetIndividualmethodtargetIndividual_opt=matchself#targetIndividualwith[]->None|x::_->SomexmethodtargetIndividual_iris=Graph.only_iris(self#targetIndividual)methodtargetIndividual_opt_iri=matchself#targetIndividual_iriswith[]->None|x::_->SomexmethodtargetValue=Graph.literal_objects_ofg~sub~pred:targetValuemethodtargetValue_opt=matchself#targetValuewith[]->None|x::_->SomexmethodtopDataProperty=Graph.literal_objects_ofg~sub~pred:topDataPropertymethodtopDataProperty_opt=matchself#topDataPropertywith[]->None|x::_->SomexmethodtopObjectProperty=g.Graph.objects_of~sub~pred:topObjectPropertymethodtopObjectProperty_opt=matchself#topObjectPropertywith[]->None|x::_->SomexmethodtopObjectProperty_iris=Graph.only_iris(self#topObjectProperty)methodtopObjectProperty_opt_iri=matchself#topObjectProperty_iriswith[]->None|x::_->SomexmethodunionOf=g.Graph.objects_of~sub~pred:unionOfmethodunionOf_opt=matchself#unionOfwith[]->None|x::_->SomexmethodunionOf_iris=Graph.only_iris(self#unionOf)methodunionOf_opt_iri=matchself#unionOf_iriswith[]->None|x::_->SomexmethodversionInfo=g.Graph.objects_of~sub~pred:versionInfomethodversionInfo_opt=matchself#versionInfowith[]->None|x::_->SomexmethodversionInfo_iris=Graph.only_iris(self#versionInfo)methodversionInfo_opt_iri=matchself#versionInfo_iriswith[]->None|x::_->SomexmethodwithRestrictions=g.Graph.objects_of~sub~pred:withRestrictionsmethodwithRestrictions_opt=matchself#withRestrictionswith[]->None|x::_->SomexmethodwithRestrictions_iris=Graph.only_iris(self#withRestrictions)methodwithRestrictions_opt_iri=matchself#withRestrictions_iriswith[]->None|x::_->Somexend