You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main change is that I initially supplied the incorrect SHACL rules above... this is the cause of the error posted ( "Undefined RDF type specified: https://example.com/Movie")
With the new SHACL rules supplied, no error is thrown when running the query on the large dataset. However, the query comes back with an empty list instead. Oddly enough, the data does seem to be in the ledger (ie there are instances of type "ex:Movie" that can be queried for)
I took a look at this yesterday, here's what I found:
there wasn't a request for creating a second "large" ledger, so I just transacted everything into the "ledgerTestSmall" ledger
the "transact large" request failed, for multiple reasons. The first was a bug concerning how we were validating "sh:class" constraints. The second was just a validation error - we were passing integers in where the shacl schema was expecting floats. Adding this @context to the request fixed it:
I've attached a Postman collection with this.
After creating the db, transacting the SHACL and transacting the smaller data transaction the query for
rdf:type ex:Movie
works as expected.After creating the db, transacting the SHACL and transacting the larger data transaction the query for
rdf:type ex:Movie
does not work as expected.It gives an error in the results of:
But you can query the data by something else like one of the predicate names and it does show results like the
two
query in the multi-query.large transaction issue.postman_collection.json.zip
The text was updated successfully, but these errors were encountered: