alangrafu/lodspeakr — Issue #79: prov-lodspeakr: template not filling
Author: timrdf
Created: 2012-03-03 21:07:05+00:00
State: open
Labels: User submission

```
{% for row in models.local.modifications %}

{{row.source.value}}
{{row.modified.value}}
{{row.retrieved.value}}

{% endfor %}
```

at aquarius:/var/www/prov-wg-dynamic/prov-lodspeakr/components/services/provrdf-owl-coverage/html.template

is not populating `modified` column at

http://aquarius.tw.rpi.edu/prov-wg-dynamic/provrdf-owl-coverage

query from debug = true:

```
modifications.query (against http://logd.tw.rpi.edu:8891/sparql)
-------------------------------------------------
prefix rdf:

prefix dcterms:
prefix pmlp:
prefix void:
prefix prov:
prefix example:

select distinct ?source ?modified ?retrieved
where {
# e.g. http://logd.tw.rpi.edu/source/w3-org/dataset/2011-prov-rdf-mappings/version/2012-Mar-03/meta
graph {

[] a pmlp:SourceUsage;
pmlp:hasSource ?source;
pmlp:hasUsageDateTime ?retrieved
.

optional {
?source
a pmlp:Source;
pmlp:hasModificationDateTime ?modified
.
}
}
} order by ?modified desc(?retrieved)
```

is giving results and lodspk var is showing them:

```
["modifications"]=>
array(3) {
[0]=>
array(2) {
["source"]=>
array(4) {
["value"]=>
string(76) "https://dvcs.w3.org/hg/prov/raw-file/default/ontology/ProvenanceOntology.owl"
["curie"]=>
string(76) "https://dvcs.w3.org/hg/prov/raw-file/default/ontology/ProvenanceOntology.owl"
["uri"]=>
int(1)
["mirroredUri"]=>
string(76) "https://dvcs.w3.org/hg/prov/raw-file/default/ontology/ProvenanceOntology.owl"
}
["retrieved"]=>
array(1) {
["value"]=>
string(25) "2012-03-03T15:56:31-05:00"
}
}
[1]=>
array(3) {
["source"]=>
array(4) {
["value"]=>
string(46) "http://www.w3.org/TR/2012/WD-prov-dm-20120202/"
["curie"]=>
string(46) "http://www.w3.org/TR/2012/WD-prov-dm-20120202/"
["uri"]=>
int(1)
["mirroredUri"]=>
string(46) "http://www.w3.org/TR/2012/WD-prov-dm-20120202/"
}
["modified"]=>
array(1) {
["value"]=>
string(25) "2012-01-31T22:28:04-05:00"
}
["retrieved"]=>
array(1) {
["value"]=>
string(25) "2012-03-03T15:56:23-05:00"
}
}
[2]=>
array(3) {
["source"]=>
array(4) {
["value"]=>
string(40) "http://www.w3.org/2011/prov/wiki/ProvRDF"
["curie"]=>
string(40) "http://www.w3.org/2011/prov/wiki/ProvRDF"
["uri"]=>
int(1)
["mirroredUri"]=>
string(40) "http://www.w3.org/2011/prov/wiki/ProvRDF"
}
["modified"]=>
array(1) {
["value"]=>
string(25) "2012-03-02T04:08:22-05:00"
}
["retrieved"]=>
array(1) {
["value"]=>
string(25) "2012-03-03T15:56:27-05:00"
}
}
}
```

but not appearing in source html:

```

https://dvcs.w3.org/hg/prov/raw-file/default/ontology/ProvenanceOntology.owl

2012-03-03T15:56:31-05:00

http://www.w3.org/TR/2012/WD-prov-dm-20120202/

2012-03-03T15:56:23-05:00

http://www.w3.org/2011/prov/wiki/ProvRDF

2012-03-03T15:56:27-05:00

```