Bug in EXAMPLE-9 - PROV-XML

Dear PROV Sages

 

Thank you for an incredible piece of thought leadership with PROV.

 

I am busy doing my PhD on the topic of Nano Version Control and how it can be used for preservation of manual changes. I came across a bug in EXAMPLE 9.

 

The official example has the following strange character:

<prov:time≶2011-11-16T16:00:00</prov:time>

 

 

The correction to the xml example is highlighted in yellow below. It’s a simple correction to make it a valid element tag.

 

<!-- https://www.w3.org/TR/2013/NOTE-prov-xml-20130430/#term-Usage -->
<prov:document
        xmlns:prov=http://www.w3.org/ns/prov#
        xmlns:ex=http://example.com/ns/ex#>

    <prov:activity prov:id="ex:a1"/>

    <prov:entity prov:id="ex:e1"/>

    <prov:entity prov:id="ex:e2"/>

    <prov:used>
        <prov:activity prov:ref="ex:a1"/>
        <prov:entity prov:ref="ex:e1"/>
        <prov:time>2011-11-16T16:00:00</prov:time>
        <ex:parameter>p1</ex:parameter>
    </prov:used>

    <prov:used>
        <prov:activity prov:ref="ex:a1"/>
        <prov:entity prov:ref="ex:e2"/>
        <prov:time>2011-11-16T16:00:01</prov:time>
        <ex:parameter>p2</ex:parameter>
    </prov:used>

</prov:document>

 

Kind regards

Lukasz Machowski

 

Received on Monday, 27 September 2021 08:34:20 UTC