From 0e0f29a88825bcfa7251dfccd71cac9771ad677a Mon Sep 17 00:00:00 2001 From: bjl23 Date: Thu, 1 Apr 2010 21:19:39 +0000 Subject: [PATCH] SPARQL CONSTRUCTs for NIHVIVO-263 --- .classpath | 303 +++++++++--------- .../OutreachActivityConstruct.sparql | 21 ++ .../ResearchActivityConstruct.sparql | 21 ++ .../TeachingActivityConstruct.sparql | 21 ++ 4 files changed, 213 insertions(+), 153 deletions(-) create mode 100644 productMods/WEB-INF/ontologies/update/sparqlConstructs/OutreachActivityConstruct.sparql create mode 100644 productMods/WEB-INF/ontologies/update/sparqlConstructs/ResearchActivityConstruct.sparql create mode 100644 productMods/WEB-INF/ontologies/update/sparqlConstructs/TeachingActivityConstruct.sparql diff --git a/.classpath b/.classpath index 37f5d545..3693027a 100644 --- a/.classpath +++ b/.classpath @@ -1,158 +1,155 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/OutreachActivityConstruct.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/OutreachActivityConstruct.sparql new file mode 100644 index 00000000..177422f4 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/OutreachActivityConstruct.sparql @@ -0,0 +1,21 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +CONSTRUCT { + _:outreachActivity rdf:type core:OutreachActivity . + _:outreachActivity rdfs:label ?outreachFocus . +} WHERE { + ?s core:outreachFocus ?outreachFocus +} diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/ResearchActivityConstruct.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/ResearchActivityConstruct.sparql new file mode 100644 index 00000000..2b314f8b --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/ResearchActivityConstruct.sparql @@ -0,0 +1,21 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +CONSTRUCT { + _:researchActivity rdf:type core:ResearchActivity . + _:researchActivity rdfs:label ?researchFocus . +} WHERE { + ?s core:researchFocus ?researchFocus +} diff --git a/productMods/WEB-INF/ontologies/update/sparqlConstructs/TeachingActivityConstruct.sparql b/productMods/WEB-INF/ontologies/update/sparqlConstructs/TeachingActivityConstruct.sparql new file mode 100644 index 00000000..2d85e437 --- /dev/null +++ b/productMods/WEB-INF/ontologies/update/sparqlConstructs/TeachingActivityConstruct.sparql @@ -0,0 +1,21 @@ +PREFIX rdf: +PREFIX rdfs: +PREFIX xsd: +PREFIX owl: +PREFIX swrl: +PREFIX swrlb: +PREFIX vitro: +PREFIX vivo: +PREFIX bibo: +PREFIX dcterms: +PREFIX event: +PREFIX foaf: +PREFIX skos: +PREFIX core: + +CONSTRUCT { + _:teachingActivity rdf:type core:TeachingActivity . + _:teachingActivity rdfs:label ?teachingFocus . +} WHERE { + ?s core:teachingFocus ?teachingFocus +}