Channel #semsol: Logs

This is a public chat log generated from the #semsol IRC channel.

11:35:01 ^Jenny^: hmm
11:35:05 ^Jenny^: whats wrong with this query:
11:35:07 ^Jenny^: DELETE FROM <http://faui8185.informatik.uni-erlangen.de/examples/BIODATModellierung/biodat_5_owl-dl.owl> WHERE { <http://www8.informatik.uni-erlangen.de/IMMD8/Services/cidoc-crm/mapping/biodat/biodat_5_owl-dl.owl#Taxonomic_Name_of_Beech_leaf01> <http://www8.informatik.uni-erlangen.de/IMMD8/Services/cidoc-crm/mapping/biodat/biodat_5_owl-dl.owl#P3.has_note> <http://www8.informatik.uni-erlangen.de/IMMD8/Services/cidoc-crm/mapping/biodat/biodat_5_owl-dl.owl#empty_
11:35:23 ^Jenny^: the WHERE is too much?
11:35:54 bengee: a WHERE defines the delete pattern (which is missing in your query)
11:36:08 bengee: i.e. either DELETE FROM <graph>
11:36:24 ^Jenny^: it is DELETE FROM <graph>
11:36:59 bengee: or DELETE FROM <graph> { ?s ?p ?o } WHERE {?s ?p ?o}
11:37:27 ^Jenny^: ah
11:37:40 ^Jenny^: in my case I know the three parts of the triple
11:37:58 bengee: so, in your case: DELETE FROM <graph> { <subject> <predicate> <object>}
11:38:01 ^Jenny^: so it is DELETE FROM <graph> { <bla> <bli> <blo> } ?
11:38:05 ^Jenny^: ok, thanks :)
11:40:28 bengee: arc's DELETE is based on CONSTRUCT, the full query pattern is DELETE FROM <graph> CONSTRUCT { constructTemplate} FROM <constructDataset> WHERE {selectPatterns}
11:40:44 bengee: and CONSTRUCT can be omitted
11:40:46 ^Jenny^: ah, ok :)
11:41:14 ^Jenny^: can I omit the graph?
11:42:03 bengee: not the first one
11:42:12 ^Jenny^: hm
11:42:38 ^Jenny^: whats the graph name after query('load http://path-to-ontology/ont.owl') ?
11:42:52 bengee: should be the same
11:43:00 ^Jenny^: http://path-to-ontology/ont.owl then?
11:43:04 bengee: yes
11:43:17 bengee: not 100% sure about redirects
11:43:26 ^Jenny^: hm, why the heck doesn't it delete then :/