123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240(*********************************************************************************)(* OCaml-RDF *)(* *)(* Copyright (C) 2012-2021 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 *)(* *)(*********************************************************************************)letoa_str="http://www.w3.org/ns/oa#";;letoa=Iri.of_stringoa_str;;letoa_s=Iri.of_string(oa_str^s);;letc_Annotation=oa_"Annotation";;letc_Choice=oa_"Choice";;letc_CssSelector=oa_"CssSelector";;letc_CssStyle=oa_"CssStyle";;letc_DataPositionSelector=oa_"DataPositionSelector";;letc_Direction=oa_"Direction";;letc_FragmentSelector=oa_"FragmentSelector";;letc_HttpRequestState=oa_"HttpRequestState";;letc_Motivation=oa_"Motivation";;letc_RangeSelector=oa_"RangeSelector";;letc_ResourceSelection=oa_"ResourceSelection";;letc_Selector=oa_"Selector";;letc_SpecificResource=oa_"SpecificResource";;letc_State=oa_"State";;letc_Style=oa_"Style";;letc_SvgSelector=oa_"SvgSelector";;letc_TextPositionSelector=oa_"TextPositionSelector";;letc_TextQuoteSelector=oa_"TextQuoteSelector";;letc_TextualBody=oa_"TextualBody";;letc_TimeState=oa_"TimeState";;letc_XPathSelector=oa_"XPathSelector";;letannotationService=oa_"annotationService";;letbodyValue=oa_"bodyValue";;letcachedSource=oa_"cachedSource";;letcanonical=oa_"canonical";;letend_=oa_"end";;letexact=oa_"exact";;lethasBody=oa_"hasBody";;lethasEndSelector=oa_"hasEndSelector";;lethasPurpose=oa_"hasPurpose";;lethasScope=oa_"hasScope";;lethasSelector=oa_"hasSelector";;lethasSource=oa_"hasSource";;lethasStartSelector=oa_"hasStartSelector";;lethasState=oa_"hasState";;lethasTarget=oa_"hasTarget";;letmotivatedBy=oa_"motivatedBy";;letprefix=oa_"prefix";;letprocessingLanguage=oa_"processingLanguage";;letrefinedBy=oa_"refinedBy";;letrenderedVia=oa_"renderedVia";;letsourceDate=oa_"sourceDate";;letsourceDateEnd=oa_"sourceDateEnd";;letsourceDateStart=oa_"sourceDateStart";;letstart=oa_"start";;letstyleClass=oa_"styleClass";;letstyledBy=oa_"styledBy";;letsuffix=oa_"suffix";;lettextDirection=oa_"textDirection";;letvia=oa_"via";;moduleOpen=structletoa_c_Annotation=c_Annotationletoa_c_Choice=c_Choiceletoa_c_CssSelector=c_CssSelectorletoa_c_CssStyle=c_CssStyleletoa_c_DataPositionSelector=c_DataPositionSelectorletoa_c_Direction=c_Directionletoa_c_FragmentSelector=c_FragmentSelectorletoa_c_HttpRequestState=c_HttpRequestStateletoa_c_Motivation=c_Motivationletoa_c_RangeSelector=c_RangeSelectorletoa_c_ResourceSelection=c_ResourceSelectionletoa_c_Selector=c_Selectorletoa_c_SpecificResource=c_SpecificResourceletoa_c_State=c_Stateletoa_c_Style=c_Styleletoa_c_SvgSelector=c_SvgSelectorletoa_c_TextPositionSelector=c_TextPositionSelectorletoa_c_TextQuoteSelector=c_TextQuoteSelectorletoa_c_TextualBody=c_TextualBodyletoa_c_TimeState=c_TimeStateletoa_c_XPathSelector=c_XPathSelectorletoa_annotationService=annotationServiceletoa_bodyValue=bodyValueletoa_cachedSource=cachedSourceletoa_canonical=canonicalletoa_end=end_letoa_exact=exactletoa_hasBody=hasBodyletoa_hasEndSelector=hasEndSelectorletoa_hasPurpose=hasPurposeletoa_hasScope=hasScopeletoa_hasSelector=hasSelectorletoa_hasSource=hasSourceletoa_hasStartSelector=hasStartSelectorletoa_hasState=hasStateletoa_hasTarget=hasTargetletoa_motivatedBy=motivatedByletoa_prefix=prefixletoa_processingLanguage=processingLanguageletoa_refinedBy=refinedByletoa_renderedVia=renderedVialetoa_sourceDate=sourceDateletoa_sourceDateEnd=sourceDateEndletoa_sourceDateStart=sourceDateStartletoa_start=startletoa_styleClass=styleClassletoa_styledBy=styledByletoa_suffix=suffixletoa_textDirection=textDirectionletoa_via=viaendclassfrom?subg=letsub=matchsubwithNone->Term.Iri(g.Graph.name())|Somet->tinobject(self)methodannotationService=g.Graph.objects_of~sub~pred:annotationServicemethodannotationService_opt=matchself#annotationServicewith[]->None|x::_->SomexmethodannotationService_iris=Graph.only_iris(self#annotationService)methodannotationService_opt_iri=matchself#annotationService_iriswith[]->None|x::_->SomexmethodbodyValue=Graph.literal_objects_ofg~sub~pred:bodyValuemethodbodyValue_opt=matchself#bodyValuewith[]->None|x::_->SomexmethodcachedSource=g.Graph.objects_of~sub~pred:cachedSourcemethodcachedSource_opt=matchself#cachedSourcewith[]->None|x::_->SomexmethodcachedSource_iris=Graph.only_iris(self#cachedSource)methodcachedSource_opt_iri=matchself#cachedSource_iriswith[]->None|x::_->Somexmethodcanonical=g.Graph.objects_of~sub~pred:canonicalmethodcanonical_opt=matchself#canonicalwith[]->None|x::_->Somexmethodcanonical_iris=Graph.only_iris(self#canonical)methodcanonical_opt_iri=matchself#canonical_iriswith[]->None|x::_->Somexmethodend_=g.Graph.objects_of~sub~pred:end_methodend__opt=matchself#end_with[]->None|x::_->Somexmethodend__iris=Graph.only_iris(self#end_)methodend__opt_iri=matchself#end__iriswith[]->None|x::_->Somexmethodexact=Graph.literal_objects_ofg~sub~pred:exactmethodexact_opt=matchself#exactwith[]->None|x::_->SomexmethodhasBody=g.Graph.objects_of~sub~pred:hasBodymethodhasBody_opt=matchself#hasBodywith[]->None|x::_->SomexmethodhasBody_iris=Graph.only_iris(self#hasBody)methodhasBody_opt_iri=matchself#hasBody_iriswith[]->None|x::_->SomexmethodhasEndSelector=g.Graph.objects_of~sub~pred:hasEndSelectormethodhasEndSelector_opt=matchself#hasEndSelectorwith[]->None|x::_->SomexmethodhasEndSelector_iris=Graph.only_iris(self#hasEndSelector)methodhasEndSelector_opt_iri=matchself#hasEndSelector_iriswith[]->None|x::_->SomexmethodhasPurpose=g.Graph.objects_of~sub~pred:hasPurposemethodhasPurpose_opt=matchself#hasPurposewith[]->None|x::_->SomexmethodhasPurpose_iris=Graph.only_iris(self#hasPurpose)methodhasPurpose_opt_iri=matchself#hasPurpose_iriswith[]->None|x::_->SomexmethodhasScope=g.Graph.objects_of~sub~pred:hasScopemethodhasScope_opt=matchself#hasScopewith[]->None|x::_->SomexmethodhasScope_iris=Graph.only_iris(self#hasScope)methodhasScope_opt_iri=matchself#hasScope_iriswith[]->None|x::_->SomexmethodhasSelector=g.Graph.objects_of~sub~pred:hasSelectormethodhasSelector_opt=matchself#hasSelectorwith[]->None|x::_->SomexmethodhasSelector_iris=Graph.only_iris(self#hasSelector)methodhasSelector_opt_iri=matchself#hasSelector_iriswith[]->None|x::_->SomexmethodhasSource=g.Graph.objects_of~sub~pred:hasSourcemethodhasSource_opt=matchself#hasSourcewith[]->None|x::_->SomexmethodhasSource_iris=Graph.only_iris(self#hasSource)methodhasSource_opt_iri=matchself#hasSource_iriswith[]->None|x::_->SomexmethodhasStartSelector=g.Graph.objects_of~sub~pred:hasStartSelectormethodhasStartSelector_opt=matchself#hasStartSelectorwith[]->None|x::_->SomexmethodhasStartSelector_iris=Graph.only_iris(self#hasStartSelector)methodhasStartSelector_opt_iri=matchself#hasStartSelector_iriswith[]->None|x::_->SomexmethodhasState=g.Graph.objects_of~sub~pred:hasStatemethodhasState_opt=matchself#hasStatewith[]->None|x::_->SomexmethodhasState_iris=Graph.only_iris(self#hasState)methodhasState_opt_iri=matchself#hasState_iriswith[]->None|x::_->SomexmethodhasTarget=g.Graph.objects_of~sub~pred:hasTargetmethodhasTarget_opt=matchself#hasTargetwith[]->None|x::_->SomexmethodhasTarget_iris=Graph.only_iris(self#hasTarget)methodhasTarget_opt_iri=matchself#hasTarget_iriswith[]->None|x::_->SomexmethodmotivatedBy=g.Graph.objects_of~sub~pred:motivatedBymethodmotivatedBy_opt=matchself#motivatedBywith[]->None|x::_->SomexmethodmotivatedBy_iris=Graph.only_iris(self#motivatedBy)methodmotivatedBy_opt_iri=matchself#motivatedBy_iriswith[]->None|x::_->Somexmethodprefix=Graph.literal_objects_ofg~sub~pred:prefixmethodprefix_opt=matchself#prefixwith[]->None|x::_->SomexmethodprocessingLanguage=Graph.literal_objects_ofg~sub~pred:processingLanguagemethodprocessingLanguage_opt=matchself#processingLanguagewith[]->None|x::_->SomexmethodrefinedBy=g.Graph.objects_of~sub~pred:refinedBymethodrefinedBy_opt=matchself#refinedBywith[]->None|x::_->SomexmethodrefinedBy_iris=Graph.only_iris(self#refinedBy)methodrefinedBy_opt_iri=matchself#refinedBy_iriswith[]->None|x::_->SomexmethodrenderedVia=g.Graph.objects_of~sub~pred:renderedViamethodrenderedVia_opt=matchself#renderedViawith[]->None|x::_->SomexmethodrenderedVia_iris=Graph.only_iris(self#renderedVia)methodrenderedVia_opt_iri=matchself#renderedVia_iriswith[]->None|x::_->SomexmethodsourceDate=g.Graph.objects_of~sub~pred:sourceDatemethodsourceDate_opt=matchself#sourceDatewith[]->None|x::_->SomexmethodsourceDate_iris=Graph.only_iris(self#sourceDate)methodsourceDate_opt_iri=matchself#sourceDate_iriswith[]->None|x::_->SomexmethodsourceDateEnd=g.Graph.objects_of~sub~pred:sourceDateEndmethodsourceDateEnd_opt=matchself#sourceDateEndwith[]->None|x::_->SomexmethodsourceDateEnd_iris=Graph.only_iris(self#sourceDateEnd)methodsourceDateEnd_opt_iri=matchself#sourceDateEnd_iriswith[]->None|x::_->SomexmethodsourceDateStart=g.Graph.objects_of~sub~pred:sourceDateStartmethodsourceDateStart_opt=matchself#sourceDateStartwith[]->None|x::_->SomexmethodsourceDateStart_iris=Graph.only_iris(self#sourceDateStart)methodsourceDateStart_opt_iri=matchself#sourceDateStart_iriswith[]->None|x::_->Somexmethodstart=g.Graph.objects_of~sub~pred:startmethodstart_opt=matchself#startwith[]->None|x::_->Somexmethodstart_iris=Graph.only_iris(self#start)methodstart_opt_iri=matchself#start_iriswith[]->None|x::_->SomexmethodstyleClass=Graph.literal_objects_ofg~sub~pred:styleClassmethodstyleClass_opt=matchself#styleClasswith[]->None|x::_->SomexmethodstyledBy=g.Graph.objects_of~sub~pred:styledBymethodstyledBy_opt=matchself#styledBywith[]->None|x::_->SomexmethodstyledBy_iris=Graph.only_iris(self#styledBy)methodstyledBy_opt_iri=matchself#styledBy_iriswith[]->None|x::_->Somexmethodsuffix=Graph.literal_objects_ofg~sub~pred:suffixmethodsuffix_opt=matchself#suffixwith[]->None|x::_->SomexmethodtextDirection=g.Graph.objects_of~sub~pred:textDirectionmethodtextDirection_opt=matchself#textDirectionwith[]->None|x::_->SomexmethodtextDirection_iris=Graph.only_iris(self#textDirection)methodtextDirection_opt_iri=matchself#textDirection_iriswith[]->None|x::_->Somexmethodvia=g.Graph.objects_of~sub~pred:viamethodvia_opt=matchself#viawith[]->None|x::_->Somexmethodvia_iris=Graph.only_iris(self#via)methodvia_opt_iri=matchself#via_iriswith[]->None|x::_->Somexend