SD2E / experimental-intent-parser

A tool that combines a word-processing interface with structured tables and assisted linking to definitions to provide a simple interface for incremental codification of experiment designs.
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

opil returned from generateOpilRequest missing value_of assignments #320

Closed jgladwig closed 3 years ago

jgladwig commented 3 years ago

It looks like the opil returned from generateOpilRequest is missing the value_of data for all of its parameter value objects. If I understand correctly the value_of entry is supposed to point back to the Parameter object which the ParameterValue object is storing a value for.

For example I am expecting the BooleanValue in the below ttl to have an entry like this:

ns1:valueOf <http://strateos.com/GrowthCurve/BooleanParameter1> ;

ttl:

...

<http://strateos.com/GrowthCurve/BooleanParameter1> a ns1:BooleanParameter,
        sbol:Identified ;
    ns1:defaultValue <http://strateos.com/GrowthCurve/BooleanParameter1/BooleanValue2> ;
    sbol:displayId "BooleanParameter1" ;
    sbol:name "submit" .

<http://strateos.com/GrowthCurve/BooleanParameter1/BooleanValue2> a ns1:BooleanValue,
        sbol:Identified ;
    ns1:value true ;
    sbol:displayId "BooleanValue2" .

...

I am hoping to do some reasoning about the contents of the ExperimentalRequest object in the returned document but I think I will need that value_of entry in order to get the full picture. Without it I think I am unable to track the values back to their associated parameters.

jakebeal commented 3 years ago

Note: there is a kludge workaround at present, but we shouldn't rely on it.