chore: formatting and added comments
This commit is contained in:
committed by
Alexander van den Berghe
parent
7902a1acad
commit
9b4b9a0a6d
@@ -1,22 +1,22 @@
|
||||
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
|
||||
PREFIX org: <http://www.w3.org/ns/org#>
|
||||
PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
PREFIX ext: <http://mu.semte.ch/vocabularies/ext/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?foundingOrg <http://mu.semte.ch/vocabularies/ext/isFounderOfOrganization> ?foundedOrg.
|
||||
?foundingOrg ext:isFounderOfOrganization ?foundedOrg .
|
||||
}
|
||||
}
|
||||
INSERT {
|
||||
GRAPH ?g {
|
||||
?foundingOrg org:memberOf ?foundedOrg.
|
||||
?foundingOrg org:memberOf ?foundedOrg .
|
||||
|
||||
?membership
|
||||
a org:Membership;
|
||||
mu:uuid ?uuid;
|
||||
org:organization ?foundedOrg;
|
||||
org:member ?foundingOrg;
|
||||
org:role <http://data.lblod.info/id/rollen/73d5e1cf250d42fab15926771f07505a>.
|
||||
?membership a org:Membership ;
|
||||
mu:uuid ?uuid ;
|
||||
org:organization ?foundedOrg ;
|
||||
org:member ?foundingOrg ;
|
||||
org:role <http://data.lblod.info/id/rollen/73d5e1cf250d42fab15926771f07505a> . # stichtend lid
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
@@ -27,7 +27,7 @@ WHERE {
|
||||
}
|
||||
|
||||
GRAPH ?g {
|
||||
?foundingOrg <http://mu.semte.ch/vocabularies/ext/isFounderOfOrganization> ?foundedOrg.
|
||||
?foundingOrg ext:isFounderOfOrganization ?foundedOrg .
|
||||
}
|
||||
|
||||
BIND(SHA1(CONCAT(STR(?foundingOrg), STR(?foundedOrg), "founded by")) as ?uuid)
|
||||
|
||||
@@ -4,12 +4,11 @@ PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
|
||||
INSERT {
|
||||
GRAPH ?g {
|
||||
?membership
|
||||
a org:Membership;
|
||||
mu:uuid ?uuid;
|
||||
org:organization ?organization;
|
||||
org:member ?memberOrganization;
|
||||
org:role <http://data.lblod.info/id/rollen/2152eb830b1143bfb97a7dd9596d6c63>.
|
||||
?membership a org:Membership ;
|
||||
mu:uuid ?uuid ;
|
||||
org:organization ?organization ;
|
||||
org:member ?memberOrganization ;
|
||||
org:role <http://data.lblod.info/id/rollen/2152eb830b1143bfb97a7dd9596d6c63> . # participant
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
@@ -20,9 +19,9 @@ WHERE {
|
||||
}
|
||||
|
||||
GRAPH ?g {
|
||||
?memberOrganization org:memberOf ?organization.
|
||||
?memberOrganization org:memberOf ?organization .
|
||||
}
|
||||
|
||||
BIND(SHA1(CONCAT(STR(?memberOrganization), STR(?organization), "member of")) as ?uuid)
|
||||
BIND(IRI(CONCAT("http://data.lblod.info/id/lidmaatschap/", ?uuid)) AS ?membership)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,19 +4,18 @@ PREFIX mu: <http://mu.semte.ch/vocabularies/core/>
|
||||
|
||||
DELETE {
|
||||
GRAPH ?g {
|
||||
?organization org:hasSubOrganization ?subOrganization.
|
||||
?organization org:hasSubOrganization ?subOrganization .
|
||||
}
|
||||
}
|
||||
INSERT {
|
||||
GRAPH ?g {
|
||||
?subOrganization org:memberOf ?organization.
|
||||
?subOrganization org:memberOf ?organization .
|
||||
|
||||
?membership
|
||||
a org:Membership;
|
||||
mu:uuid ?uuid;
|
||||
org:organization ?organization;
|
||||
org:member ?subOrganization;
|
||||
org:role <http://data.lblod.info/id/rollen/4ec7d5c39bdc4e84b4174379b9e22ad8>.
|
||||
?membership a org:Membership ;
|
||||
mu:uuid ?uuid ;
|
||||
org:organization ?organization ;
|
||||
org:member ?subOrganization ;
|
||||
org:role <http://data.lblod.info/id/rollen/4ec7d5c39bdc4e84b4174379b9e22ad8> . # gerelateerd
|
||||
}
|
||||
}
|
||||
WHERE {
|
||||
|
||||
Reference in New Issue
Block a user