From b12e74be0b7109e9eb7393455823cf35c5593995 Mon Sep 17 00:00:00 2001 From: Ian Nesbitt Date: Sat, 17 Aug 2024 06:00:34 -0700 Subject: [PATCH] adding sparql queries to address #48 --- .../application-context-schema-org.xml | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/src/main/resources/application-context-schema-org.xml b/src/main/resources/application-context-schema-org.xml index 448f306e..85d6e7aa 100644 --- a/src/main/resources/application-context-schema-org.xml +++ b/src/main/resources/application-context-schema-org.xml @@ -323,6 +323,97 @@ + + + + + + + PREFIX list: + PREFIX SO: + + SELECT (?name as ?origin) + WHERE { + ?dsId rdf:type SO:Dataset . + ?dsId SO:creator $creator . + $creator SO:creator ?role . + $role SO:name ?name . + } + ]]> + + + + + + + + + + + PREFIX list: + PREFIX SO: + + SELECT (?name as ?origin) + WHERE { + ?dsId rdf:type SO:Dataset . + ?dsId SO:creator ?creatorList . + ?creatorList list:member ?creator . + ?creatorList list:index ?pos . + ?creator SO:creator ?role . + ?role SO:name ?name . + } + order by (?pos) + ]]> + + + +