
-- load metadata triples for cities example project

select load_namespace('http://cyberconcepts.org/cco-example/cities#', 'xc');
select load_namespace('http://cyberconcepts.org/cco-example/cities_data#', 'xcd');

select new_event() as event
\gset

insert into vtriples (stname, stext, ptext, otname, otext, creation) values 
    ('node', 'xc:City', 'rdf:type', 'node', 'rdfs:Class', :event),
    ('node', 'xc:District', 'rdf:type', 'node', 'rdfs:Class', :event),
    ('node', 'xc:FedCountry', 'rdf:type', 'node', 'rdfs:Class', :event),
    ('node', 'xc:regiokey', 'rdf:type', 'node', 'rdf:Property', :event),
    ('node', 'xc:ckey', 'rdf:type', 'node', 'rdf:Property', :event),
    ('node', 'xc:population', 'rdf:type', 'node', 'rdf:Property', :event);

-- property name -> rdfs:label
