Skip to content

Commit 6c14964

Browse files
committed
pass URI to the graph parser so we can parse our own <> entries in the privateTypeIndex
1 parent 9d02fe0 commit 6c14964

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Server.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,7 @@ private function handleSparqlUpdate(Response $response, string $path, $contents)
283283

284284
try {
285285
// Assuming this is in our native format, turtle
286-
// @CHECKME: Does the Graph Parse here also need an URI?
287-
$graph->parse($data, "turtle");
288-
// FIXME: Adding this base will allow us to parse <> entries; , $this->baseUrl . $this->basePath . $path), but that breaks the build.
286+
$graph->parse($data, "turtle", $this->baseUrl . $path);
289287
// FIXME: Use enums from namespace Pdsinterop\Rdf\Enum\Format instead of 'turtle'?
290288
291289
// parse query in contents

0 commit comments

Comments
 (0)