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

 

From: [email protected] [mailto:[email protected]] 
On Behalf Of Bohms, H.M. (Michel)
Sent: Thursday, October 02, 2014 11:38 AM
To: [email protected]
Subject: RE: [topbraid-users] support for rdf:value

 

Or yet diff. Formulated:

 

Isnt rdfs:Literal a subclass of rdfs:Resource and hence I should be able to 
fill in a literal?

 

 



 

Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E  <mailto:[email protected]> [email protected]

 <http://www.tno.nl/locaties/DTM> Location

 


 <http://www.tno.nl/> 


This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages. 

 

From: [email protected] [mailto:[email protected]] 
On Behalf Of Bohms, H.M. (Michel)
Sent: donderdag 2 oktober 2014 17:34
To: [email protected]
Subject: RE: [topbraid-users] support for rdf:value

 

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?

 



 

Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E  <mailto:[email protected]> [email protected]

 <http://www.tno.nl/locaties/DTM> Location

 


 <http://www.tno.nl/> 


This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages. 

 

From: [email protected] [mailto:[email protected]] 
On Behalf Of Bohms, H.M. (Michel)
Sent: donderdag 2 oktober 2014 17:30
To: [email protected]
Subject: RE: [topbraid-users] support for rdf:value

 

Thx scott/irene

 

thx

 

But can I still use it to store a value like “12.0”^^xsd:float?

 



 

Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E  <mailto:[email protected]> [email protected]

 <http://www.tno.nl/locaties/DTM> Location

 


 <http://www.tno.nl/> 


This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages. 

 

From: [email protected] [mailto:[email protected]] 
On Behalf Of Irene Polikoff
Sent: donderdag 2 oktober 2014 17:26
To: [email protected]
Subject: Re: [topbraid-users] support for rdf:value

 

To add to this, the answer is apparent from the user interface.

 

In the image below, you can see a purple diamond to the left of rdf:value 
field. This means that a resource, not a literal is expected.

 

Irene


On Oct 2, 2014, at 11:16 AM, Scott Henninger <[email protected]> wrote:

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 Reliability

T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E  <mailto:[email protected]> [email protected]

 <http://www.tno.nl/locaties/DTM> Location

 


 <http://www.tno.nl/> <mime-attachment.gif>


This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages. 

 

From: [email protected] [mailto:[email protected]] 
On Behalf Of Scott Henninger
Sent: donderdag 2 oktober 2014 16:07
To: [email protected]
Subject: Re: [topbraid-users] support for rdf:value

 

Michel; Yes, rdf:value is supported in TopBraid.  One way to verify is to 
CONSTRUCT some rdf:value values:

CONSTRUCT
{ exproduct:item10245   exterms:weight   _:weight10245 .
_:weight10245         rdf:value        "2.4"^^xsd:decimal .
_:weight10245         exterms:units    exunits:kilograms .
}
WHERE {
}

Also, the properties pane does not show all properties in the RDF vocabulary.  
See Preferences > TopBraid Composer > Properties View and you can select 
rdf:value to appear in the Properties View.

-- Scott

On 10/1/2014, 6:30 AM, Bohms, H.M. (Michel) wrote:

I define a pattern where a quantity class has a value and a unit. 
I defined ext:hasValue for this myself.
 
I discovered however in 
http://www.w3.org/TR/2004/REC-rdf-primer-20040210/#rdfvalue
the existing construct for exactly this purpose! (n-ary 
relationships/structured values).
 
But is this rdf:value supported in TBC? I cant find it :)
 
Thx for feedback, 
Michel
 
Dr. ir. H.M. (Michel) Bohms
Sr. Research Scientist
Structural Reliability
T +31 (0)88 866 31 07
M +31 (0)63 038 12 20
E [email protected]
 
This message may contain information that is not intended for you. If you are 
not the addressee or if this message was sent to you by mistake, you are 
requested to inform the sender and delete the message. TNO accepts no liability 
for the content of this e-mail, for the manner in which you use it and for 
damage of any kind resulting from the risks inherent to the electronic 
transmission of messages.
 

 

-- 
-- 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.
To post to this group, send email to
 <mailto:[email protected]> [email protected]
To unsubscribe from this group, send email to
 <mailto:[email protected]> 
[email protected]
For more options, visit this group at
 <http://groups.google.com/group/topbraid-users?hl=en> 
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 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.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

 

-- 
-- 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.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 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.
To post to this group, send email to
 <mailto:[email protected]> [email protected]
To unsubscribe from this group, send email to
 <mailto:[email protected]> 
[email protected]
For more options, visit this group at
 <http://groups.google.com/group/topbraid-users?hl=en> 
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 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.
To post to this group, send email to
 <mailto:[email protected]> [email protected]
To unsubscribe from this group, send email to
 <mailto:[email protected]> 
[email protected]
For more options, visit this group at
 <http://groups.google.com/group/topbraid-users?hl=en> 
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 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.
To post to this group, send email to
 <mailto:[email protected]> [email protected]
To unsubscribe from this group, send email to
 <mailto:[email protected]> 
[email protected]
For more options, visit this group at
 <http://groups.google.com/group/topbraid-users?hl=en> 
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 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.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

-- 
-- 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.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to