Open jakep36 opened 1 year ago
Here is the same zip with a few modifications
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:
@context
to the request fixed it:
"@context": {
"https://example.com/population": {
"@type": "xsd:float"
},
"https://example.com/area": {
"@type": "xsd:float"
},
"https://example.com/runtime": {
"@type": "xsd:float"
},
"https://example.com/budget": {
"@type": "xsd:float"
},
"https://example.com/revenue": {
"@type": "xsd:float"
},
"https://example.com/rating": {
"@type": "xsd:float"
}
},
Fix for the bug in https://github.com/fluree/db/pull/501
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