Hi Stardog team,
Checking the documentation, I got the impression this should suffice to create a new class: :test_concept a owl:Class .
or, if necessary, with a prefix:
PREFIX owl: <http://www.w3.org/2002/07/owl#>
:test_concept a owl:Class .
both give me errors in Stardog Studio though:
Failed to run query: QE0PE2: com.complexible.stardog.plan.eval.ExecutionException: Encountered " <PNAME_LN> ":test_concept "" at line 1, column 1.
Was expecting one of:
A document on your Stardog Studio screen can be a SPARQL query, an RDF document, or a few other things depending on the selector in the bottom right corner. It was set to SPARQL thus you needed to make it a syntactically well-formed query by adding INSERT DATA. If you changed it to, say, Turtle, you could have just pressed the Add Data button (instead of Run).
Hi Pavel,
thanks for elaborating!
That really helps understanding it.
Since I like the feature of saving it as a stored query, I'll stick with SPARQL code here, but good to know what's possible