test.delete-insert.ru Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rdf4j-repository-testsuite Show documentation
Show all versions of rdf4j-repository-testsuite Show documentation
Reusable tests for Repository API implementations
PREFIX xsd:
PREFIX rdf:
PREFIX rdfs:
PREFIX owl:
PREFIX skos:
PREFIX sd:
PREFIX msg:
PREFIX calli:
PREFIX audit:
DELETE {
?item calli:link
} INSERT {
?item calli:link
} WHERE {
?item calli:link
FILTER strstarts(str(?item), str(>))
};
DELETE {
?item calli:link
} INSERT {
?item calli:link
} WHERE {
?item calli:link
FILTER strstarts(str(?item), str(>))
};
DELETE {
a calli:Menu; a ?menu_type; calli:reader ?menu_reader; calli:editor ?menu_editor; calli:administrator ?menu_administrator;
rdfs:label ?menu_label; calli:link ?menu_link; calli:item ?menu_nav .
?menu_nav rdfs:label ?menu_nav_label; calli:position ?menu_nav_position; calli:item ?menu_item .
?menu_item rdfs:label ?menu_item_label; calli:position ?menu_item_position; calli:link ?menu_item_link .
?menu_nav calli:link ?menu_nav_ink
} INSERT {
a calli:Menu; a ?menu_type; calli:reader ?menu_reader; calli:editor ?menu_editor; calli:administrator ?menu_administrator;
rdfs:label ?menu_label; calli:link ?menu_link; calli:item ?manifest_menu_nav .
?manifest_menu_nav rdfs:label ?menu_nav_label; calli:position ?menu_nav_position; calli:item ?manifest_menu_item .
?manifest_menu_item rdfs:label ?menu_item_label; calli:position ?menu_item_position; calli:link ?menu_item_link .
?manifest_menu_nav calli:link ?menu_nav_ink
} WHERE {
a calli:Menu; a ?menu_type; calli:reader ?menu_reader; calli:editor ?menu_editor; calli:administrator ?menu_administrator;
rdfs:label ?menu_label; calli:link ?menu_link; calli:item ?menu_nav .
?menu_nav rdfs:label ?menu_nav_label; calli:position ?menu_nav_position; calli:item ?menu_item .
?menu_item rdfs:label ?menu_item_label; calli:position ?menu_item_position; calli:link ?menu_item_link .
OPTIONAL {
?menu_nav calli:link ?menu_nav_ink
}
FILTER strstarts(str(?menu_nav), str())
FILTER strstarts(str(?menu_item), str())
BIND (iri(concat(str(), strafter(str(?menu_nav), str()))) AS ?manifest_menu_nav)
BIND (iri(concat(str(), strafter(str(?menu_item), str()))) AS ?manifest_menu_item)
};