diff --git a/tests/output/sha512.trig b/tests/output/sha512.trig index 53e2503..ed1e967 100644 --- a/tests/output/sha512.trig +++ b/tests/output/sha512.trig @@ -1,9 +1,9 @@ +@prefix rdf: . @prefix : . @prefix lingua: . -@prefix rdf: . @prefix crypto: . -() :sha512 ("hello world" "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f"). +[] rdf:value "hello world"; :sha512 "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f". # # lingua explanation @@ -16,5 +16,5 @@ _:gn_1 { } _:gn_2 { - () :sha512 ("hello world" "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f"). + [] rdf:value "hello world"; :sha512 "309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f". } diff --git a/tests/sha512.trig b/tests/sha512.trig index 868846c..e0d51b1 100644 --- a/tests/sha512.trig +++ b/tests/sha512.trig @@ -18,5 +18,5 @@ _:ng1 { } _:ng2 { - () :sha512 (var:X var:Y). + var:X :sha512 var:Y. }