Hi

I am implementing a SHACL form builder in JavaScript and intended to have 
DASH integrated by default.

I have a little difficulty with the scoring system. Let's take the simplest 
text field as example. The spec says


   - 10 if the value is a literal that is neither rdf:langString nor 
   xsd:boolean
   - 0 otherwise

First question is in general about the rules which mention a "value". This 
applies only to existing triples in the dataset at the time the form is 
initialised, correct? For example

# score 10
<#me> rdfs:label "Tomasz Pluskiewicz" .

# score 0
<#me> rdfs:label "Tomasz Pluskiewicz"@pl .

I think this is missing a rule for adding new objects for a property. Such 
as when a user clicks a (+) button. In that case the property shape is the 
only information available as there is no "value" yet. 
The example snippet does show a "sh:datatype xsd:string" but it's not 
mentioned in the score rules for the text field. A bit of a grey area?

Best,
Tom

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/14c15fa7-448a-4d00-9c9e-ca957e12f56co%40googlegroups.com.

Reply via email to