2 -- Copyright (c) 2014-2015, Marcus Rohrmoser mobile Software, http://mro.name/me
3 -- All rights reserved.
5 -- Redistribution and use in source and binary forms, with or without modification, are permitted
6 -- provided that the following conditions are met:
8 -- 1. Redistributions of source code must retain the above copyright notice, this list of conditions
9 -- and the following disclaimer.
11 -- 2. The software must not be used for military or intelligence or related purposes nor
12 -- anything that's in conflict with human rights as declared in http://www.un.org/en/documents/udhr/ .
14 -- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
15 -- IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
16 -- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
17 -- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 -- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19 -- DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
20 -- IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
21 -- THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 INSERT OR IGNORE INTO triples(
31 o_lit_id, o_datatype_id, o_datatype, o_language, o_text,
36 :s_blank_id, :s_blank,
39 :o_blank_id, :o_blank,
40 :o_lit_id, :o_datatype_id, :o_datatype, :o_language, :o_text,