--- a/model/grammar/yack/prov-n.bnf Thu May 10 14:35:17 2012 +0100
+++ b/model/grammar/yack/prov-n.bnf Thu May 10 15:02:25 2012 +0100
@@ -150,6 +150,7 @@
@terminals
QUALNAME_OLD::= (PN_PREFIX ":")? PN_LOCAL | PN_PREFIX ":"
+INTLITERAL::= '-'? DIGIT+
QUALNAME::= PN_PREFIX ":" PN_LOCAL? | PN_LOCAL
PREFX::= PN_PREFIX
@@ -166,7 +167,7 @@
[70s] IRI_REF ::= "<" ( [^<>\"{}|^`\\] - [#x00-#x20] | UCHAR )* ">"
-INTLITERAL::= '-'? DIGIT+
+
--- a/model/grammar/yack/prov_n.html Thu May 10 14:35:17 2012 +0100
+++ b/model/grammar/yack/prov_n.html Thu May 10 15:02:25 2012 +0100
@@ -602,7 +602,16 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-QUALNAME" name="term-prov_n-QUALNAME"></a>[<span class="prodNo">61</span>] </td>
+<td><a id="term-prov_n-INTLITERAL" name="term-prov_n-INTLITERAL"></a>[<span class="prodNo">61</span>] </td>
+<td><<code class="production term">INTLITERAL</code>></td>
+<td> ::= </td>
+<td><code class="content">("-")? (<span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span>)+</code></td>
+</tr>
+</tbody>
+
+<tbody class="term">
+<tr valign="baseline">
+<td><a id="term-prov_n-QUALNAME" name="term-prov_n-QUALNAME"></a>[<span class="prodNo">62</span>] </td>
<td><<code class="production term">QUALNAME</code>></td>
<td> ::= </td>
<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-prov_n-PN_PREFIX">PN_PREFIX</a></span> ":" (<span class="prod"><a class="grammarRef" href="#prod-prov_n-PN_LOCAL">PN_LOCAL</a></span>)?<br/>
@@ -612,7 +621,7 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-PREFX" name="term-prov_n-PREFX"></a>[<span class="prodNo">62</span>] </td>
+<td><a id="term-prov_n-PREFX" name="term-prov_n-PREFX"></a>[<span class="prodNo">63</span>] </td>
<td><<code class="production term">PREFX</code>></td>
<td> ::= </td>
<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-prov_n-PN_PREFIX">PN_PREFIX</a></span></code></td>
@@ -621,7 +630,7 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-DIGIT" name="term-prov_n-DIGIT"></a>[<span class="prodNo">63</span>] </td>
+<td><a id="term-prov_n-DIGIT" name="term-prov_n-DIGIT"></a>[<span class="prodNo">64</span>] </td>
<td><<code class="production term">DIGIT</code>></td>
<td> ::= </td>
<td><code class="content">[0-9]</code></td>
@@ -630,7 +639,7 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-ISODATETIME" name="term-prov_n-ISODATETIME"></a>[<span class="prodNo">64</span>] </td>
+<td><a id="term-prov_n-ISODATETIME" name="term-prov_n-ISODATETIME"></a>[<span class="prodNo">65</span>] </td>
<td><<code class="production term">ISODATETIME</code>></td>
<td> ::= </td>
<td><code class="content"><span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> "-" <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> "-" <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> "T" <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> ":" <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> ":" <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> (( "." <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> (( <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> (<span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span>)? ))? ))? (( "Z" | <span class="prod"><a class="grammarRef" href="#prod-prov_n-TIMEZONEOFFSET">TIMEZONEOFFSET</a></span> ))?</code></td>
@@ -639,7 +648,7 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-TIMEZONEOFFSET" name="term-prov_n-TIMEZONEOFFSET"></a>[<span class="prodNo">65</span>] </td>
+<td><a id="term-prov_n-TIMEZONEOFFSET" name="term-prov_n-TIMEZONEOFFSET"></a>[<span class="prodNo">66</span>] </td>
<td><<code class="production term">TIMEZONEOFFSET</code>></td>
<td> ::= </td>
<td><code class="content">( "+" | "-" ) <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> ":" <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span> <span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span></code></td>
@@ -648,7 +657,7 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-PREFIX" name="term-prov_n-PREFIX"></a>[<span class="prodNo">66</span>] </td>
+<td><a id="term-prov_n-PREFIX" name="term-prov_n-PREFIX"></a>[<span class="prodNo">67</span>] </td>
<td><<code class="production term">PREFIX</code>></td>
<td> ::= </td>
<td><code class="content">"@prefix"</code></td>
@@ -657,7 +666,7 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-IRI_REF" name="term-prov_n-IRI_REF"></a>[<span class="prodNo">67</span>] </td>
+<td><a id="term-prov_n-IRI_REF" name="term-prov_n-IRI_REF"></a>[<span class="prodNo">68</span>] </td>
<td><<code class="production term">IRI_REF</code>></td>
<td> ::= </td>
<td><code class="content">"<" (( [^<>\"{}|^`\\] - [#0000- ] | <span class="prod"><a class="grammarRef" href="#prod-prov_n-UCHAR">UCHAR</a></span> ))* ">"</code></td>
@@ -666,15 +675,6 @@
<tbody class="term">
<tr valign="baseline">
-<td><a id="term-prov_n-INTLITERAL" name="term-prov_n-INTLITERAL"></a>[<span class="prodNo">68</span>] </td>
-<td><<code class="production term">INTLITERAL</code>></td>
-<td> ::= </td>
-<td><code class="content">("-")? (<span class="prod"><a class="grammarRef" href="#prod-prov_n-DIGIT">DIGIT</a></span>)+</code></td>
-</tr>
-</tbody>
-
-<tbody class="term">
-<tr valign="baseline">
<td><a id="term-prov_n-STRING_LITERAL" name="term-prov_n-STRING_LITERAL"></a>[<span class="prodNo">69</span>] </td>
<td><<code class="production term">STRING_LITERAL</code>></td>
<td> ::= </td>
--- a/model/grammar/yack/sample2.in Thu May 10 14:35:17 2012 +0100
+++ b/model/grammar/yack/sample2.in Thu May 10 15:02:25 2012 +0100
@@ -16,4 +16,10 @@
wasGeneratedBy(-; ex:, -, 2001-10-26T21:32:52, [ex:param1="a", ex:param2="b"])
wasGeneratedBy(-; ex, -, 2001-10-26T21:32:52, [ex:param1="a", ex:param2="b"])
+
+ activity(ex:a10, [prov:type=-1])
+ activity(ex:a10, [prov:type=1])
+
+ activity(ex:10, [prov:type=1])
+ activity(10, [prov:type=1])
endBundle
\ No newline at end of file