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
// @CHECKME: Does the Graph Parse here also need an URI?
300
-
$graph->parse($triples, "turtle"); // FIXME: The triples here are in sparql format, not in turtle;
315
+
$graph->parse($triples, "turtle", $this->baseUrl . $this->basePath . $this->requestedPath); // FIXME: The triples here are in sparql format, not in turtle;
301
316
302
317
break;
303
318
case"DELETE":
304
319
// delete $triples from $graph
305
320
$deleteGraph = $this->getGraph();
306
321
// @CHECKME: Does the Graph Parse here also need an URI?
307
-
$deleteGraph->parse($triples, "turtle"); // FIXME: The triples here are in sparql format, not in turtle;
322
+
$deleteGraph->parse($triples, "turtle", $this->baseUrl . $this->basePath . $this->requestedPath); // FIXME: The triples here are in sparql format, not in turtle;
308
323
$resources = $deleteGraph->resources();
309
324
foreach ($resourcesas$resource) {
310
325
$properties = $resource->propertyUris();
@@ -440,25 +455,22 @@ private function handleN3Update(Response $response, string $path, $contents): Re
440
455
441
456
try {
442
457
// Assuming this is in our native format, turtle
443
-
// @CHECKME: Does the Graph Parse here also need an URI?
444
-
$graph->parse($data, "turtle");
445
-
// FIXME: Adding this base will allow us to parse <> entries; , $this->baseUrl . $this->basePath . $path), but that breaks the build.
0 commit comments