The first line comes from Attean::Algebra::Construct->algebra_as_string, while the second line gets appended by the as_string serialization for the members of @{ $algebra->children }. This should be returning something like this:
(Where Attean::Algebra::Construct->algebra_as_string is returning the first 3 lines.)
This could be done similarly to the (more complex) Attean::Algebra::Modify->algebra_as_string where quads from an update operation are serialized. In the Construct case, triples from @{ $algebra->triples } should be serialized under a "Triples:" heading.
They currently only serialize the pattern, not the construct template.
Attean::Algebra::Construct->algebra_as_string
needs to be upgrade to include the triplesin the construct algebras. For example:Currently returns:
The first line comes from
Attean::Algebra::Construct->algebra_as_string
, while the second line gets appended by theas_string
serialization for the members of@{ $algebra->children }
. This should be returning something like this:(Where
Attean::Algebra::Construct->algebra_as_string
is returning the first 3 lines.)This could be done similarly to the (more complex)
Attean::Algebra::Modify->algebra_as_string
where quads from an update operation are serialized. In theConstruct
case, triples from@{ $algebra->triples }
should be serialized under a"Triples:"
heading.