prov label strings and qualified names #104

Closed
heatherpacker opened this Issue Feb 5, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@heatherpacker

Using the provtoolbox to convert the following into provn:

document
prefix cas http://smartsociety-project.github.io/cas/#
prefix var http://openprovenance.org/var#

entity(var:view, [prov:type='cas:View', prov:label='cas:View'])

endDocument

produces:

document
prefix cas http://smartsociety-project.github.io/cas/#
prefix xsd http://www.w3.org/2001/XMLSchema
prefix var http://openprovenance.org/var#
entity(var:view,[prov:type = 'cas:View', prov:label = "'cas:{http://smartsociety-project.github.io/cas/#}View'"])
endDocument

Prov DM says that labels only supports strings, so should this create an error. Will labels be able to support qualified names in the future?

@lucmoreau

This comment has been minimized.

Show comment
Hide comment
@lucmoreau

lucmoreau Feb 5, 2015

Owner

You need to provide a string. No plan to support qualified names.

On 05/02/2015 12:42, heatherpacker wrote:

Using the provtoolbox to convert the following into provn:

document
prefix cas http://smartsociety-project.github.io/cas/#
prefix var http://openprovenance.org/var#

|entity(var:view, [prov:type='cas:View', prov:label='cas:View'])
|

endDocument

produces:

document
prefix cas http://smartsociety-project.github.io/cas/#
prefix xsd http://www.w3.org/2001/XMLSchema
prefix var http://openprovenance.org/var#
entity(var:view,[prov:type = 'cas:View', prov:label =
"'cas:{http://smartsociety-project.github.io/cas/#}View
http://smartsociety-project.github.io/cas/#%7DView'"])
endDocument

Prov DM says that labels only supports strings, so should this create
an error. Will labels be able to support qualified names in the future?


Reply to this email directly or view it on GitHub
#104 Bug from
https://github.com/notifications/beacon/AAIrw0l8n8Z9pPNEU8jk8tis_gI1jvlNks5no1zDgaJpZM4DcKVY.gif

Professor Luc Moreau
Head of the Web and Internet Science Group
Electronics and Computer Science tel: +44 23 8059 4487
University of Southampton twitter: @lucmoreau
Southampton SO17 1BJ, UK http://www.ecs.soton.ac.uk/~lavm

Owner

lucmoreau commented Feb 5, 2015

You need to provide a string. No plan to support qualified names.

On 05/02/2015 12:42, heatherpacker wrote:

Using the provtoolbox to convert the following into provn:

document
prefix cas http://smartsociety-project.github.io/cas/#
prefix var http://openprovenance.org/var#

|entity(var:view, [prov:type='cas:View', prov:label='cas:View'])
|

endDocument

produces:

document
prefix cas http://smartsociety-project.github.io/cas/#
prefix xsd http://www.w3.org/2001/XMLSchema
prefix var http://openprovenance.org/var#
entity(var:view,[prov:type = 'cas:View', prov:label =
"'cas:{http://smartsociety-project.github.io/cas/#}View
http://smartsociety-project.github.io/cas/#%7DView'"])
endDocument

Prov DM says that labels only supports strings, so should this create
an error. Will labels be able to support qualified names in the future?


Reply to this email directly or view it on GitHub
#104 Bug from
https://github.com/notifications/beacon/AAIrw0l8n8Z9pPNEU8jk8tis_gI1jvlNks5no1zDgaJpZM4DcKVY.gif

Professor Luc Moreau
Head of the Web and Internet Science Group
Electronics and Computer Science tel: +44 23 8059 4487
University of Southampton twitter: @lucmoreau
Southampton SO17 1BJ, UK http://www.ecs.soton.ac.uk/~lavm

@lucmoreau

This comment has been minimized.

Show comment
Hide comment
@lucmoreau

lucmoreau Jul 23, 2015

Owner

There is now a warning printed by provconvert in this situation.

14:46:46,731 WARN ProvFactory:147 - label value is not a string 'cas:{http://smartsociety-project.github.io/cas/#}View'

Owner

lucmoreau commented Jul 23, 2015

There is now a warning printed by provconvert in this situation.

14:46:46,731 WARN ProvFactory:147 - label value is not a string 'cas:{http://smartsociety-project.github.io/cas/#}View'

@lucmoreau

This comment has been minimized.

Show comment
Hide comment
@lucmoreau

lucmoreau Jul 23, 2015

Owner

Created a new issue to handle strict mode.
#137

Owner

lucmoreau commented Jul 23, 2015

Created a new issue to handle strict mode.
#137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment