I am trying to insert an individual into in ARC 2, without any success for now...
I used INSERT INTO ...CONSTRUCT
$query = 'PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX untitled-ontology-120:
<http://www.semanticweb.org/usuario/ontologies/2017/2/untitled-ontology-120>
INSERT INTO <http://localhost:80/proyecto1/data/mp2.rdf> CONSTRUCT
{?c rdf:label untitled-ontology-120:Pamplona.}
WHERE{?c rdf:type owl:NamedIndividual.
}';
Tee errors I receive is
" executed INSERT, returned: int(0) Query errorsArray ( [0] => Could not properly handle "PREFIX owl:
When I tried to do it without CONSTRUCT
$query = 'PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX untitled-ontology-120:
<http://www.semanticweb.org/usuario/ontologies/2017/2/untitled-ontology-120>
INSERT INTO <http://localhost:80/proyecto1/data/mp2.rdf>
{untitled-ontology-120:Pamplona rdf:type owl:NamedIndividual.
}';
And I received the response:
executed INSERT, returned:
array(3) { ["query_type"]=> string(6) "insert" ["result"]=> array(2)
{ ["t_count"]=> int(1) ["load_time"]=> float(0.0396) }
["query_time"]=> float(0.047343969345093) }
This response seems to me as if smth has been done, but... there is no anything added to the RDF file with the ontology
Could anybody help me? AKSW!!!! S.O.S.
"; echo "executed INSERT, returned: ". "
"; echo var_dump($res); '