Think I ws unclear: if you try to add rdf:value 12.0 via the form tab, the box stays red
When you do it in source code tab:
And then switch you get:
So fine.
Clearly, I’dd like to be able to use the forms tab in the first place…
|
|
|
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
Michel, the domain and range of rdf:value is rdf:Resource, so I would suggest using "Create and add..." or "Create blank node...".
-- Scott
On 10/2/2014, 9:42 AM, Bohms, H.M. (Michel) wrote:
Think I ws unclear: if you try to add rdf:value 12.0 via the form tab, the box stays red
<mime-attachment.png>
When you do it in source code tab:
And then switch you get:
<mime-attachment.png>
So fine.
Clearly, I’dd like to be able to use the forms tab in the first place…
Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural ReliabilityT +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E michel...@tno.nl
Thx scott/irene
thx
But can I still use it to store a value like “12.0”^^xsd:float?
|
|
|
In other words: when I give the value in code tab and get in forms-tab:
What happened? Is it now a resource after all?
|
Or yet diff. Formulated:
Isnt rdfs:Literal a subclass of rdfs:Resource and hence I should be able to fill in a literal?
Why sparql spec? Isnt this an rdf/rdfs issue?
Ie: in rdfs spec:
2.1 rdfs:Resource
All things described by RDF are called resources, and are instances of the class rdfs:Resource. This is the class of everything. All other classes are subclasses of this class.rdfs:Resource is an instance of rdfs:Class.
WHAT AM I MISSING? J
|
Michel,
You are right in that rdfs:Literal is a subclass of rdfs:Resource. When creating a form-based editing UI, we have to make some design decisions to ensure that users have a friendly interface for the majority of their editing operations.
With this, if a property range is rdfs:Resource, TBC editing UI assumes a resource as in “an instance that either has a URI or is a blank node”. If the range is rdfs:Literal, it assumes a literal. This assumption holds well with user expectations for most cases.
In my experience, rdf:value is rarely used and while the Primer circa 2004 talks about using it as a way to address the need for n-ary relationships, Primer circa 2014 does not say this nor does it mention rdf:value.
I recommend you to create your own value property and give it a literal range. If desired, you can make it a subproperty of rdf:value. If, for some reason, this doesn’t work – there is an option to use the source code tab.
Irene
Dear Irene, see after >
Michel,
You are right in that rdfs:Literal is a subclass of rdfs:Resource. When creating a form-based editing UI, we have to make some design decisions to ensure that users have a friendly interface for the majority of their editing operations.
Ø See your point practically, but formaly….
With this, if a property range is rdfs:Resource, TBC editing UI assumes a resource as in “an instance that either has a URI or is a blank node”. If the range is rdfs:Literal, it assumes a literal. This assumption holds well with user expectations for most cases.
In my experience, rdf:value is rarely used and while the Primer circa 2004 talks about using it as a way to address the need for n-ary relationships, Primer circa 2014 does not say this nor does it mention rdf:value.
Ø I defined it first myself and was then very happy to see it already defined for my pattern.
Ø The primer is just informative, in http://www.w3.org/TR/2014/REC-rdf-schema-20140225/#ch_value it is still mentioned (rdfs1.1 feb this year)
o As they say: “Despite the lack of formal specification of the meaning of this property, there is value in defining it to encourage the use of a common idiom in examples of this kind”
Ø Furthermore it is still in: http://www.w3.org/TR/rdf11-mt/
o Although indeed more like “mentioned” iso “defined”
I recommend you to create your own value property and give it a literal range. If desired, you can make it a subproperty of rdf:value. If, for some reason, this doesn’t work – there is an option to use the source code tab.
Ø I see many projects defining their own “value” property when defining “attributes” as classes to get some more power (esp. in the context of quantities/units) so I will stick to the rdf:value one and use the source tab for editing…
Thx Michel