Skip to content

Commit

Permalink
fix: Convert data to SparqlDataAccessor in regex config
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimvh committed Aug 30, 2021
1 parent 042507a commit f34e124
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions config/storage/backend/regex.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,17 @@
"accessor": { "@id": "urn:solid-server:default:MemoryDataAccessor" }
},
{
"comment": "SparqlDataAccessor only accepts quad objects so data to that route needs to be converted",
"@id": "urn:solid-server:default:SparqlResourceStore",
"@type": "DataAccessorBasedStore",
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" },
"auxiliaryStrategy": { "@id": "urn:solid-server:default:AuxiliaryStrategy" },
"accessor": { "@id": "urn:solid-server:default:SparqlDataAccessor" }
"@type": "RepresentationConvertingStore",
"options_inConverter": { "@id": "urn:solid-server:default:RepresentationConverter" },
"options_inType": "internal/quads",
"source": {
"@type": "DataAccessorBasedStore",
"identifierStrategy": { "@id": "urn:solid-server:default:IdentifierStrategy" },
"auxiliaryStrategy": { "@id": "urn:solid-server:default:AuxiliaryStrategy" },
"accessor": { "@id": "urn:solid-server:default:SparqlDataAccessor" }
}
}
]
}

0 comments on commit f34e124

Please sign in to comment.