From 6d64af293441efd13dde8b59c8a9a267fdeb13a3 Mon Sep 17 00:00:00 2001 From: Jamie McCusker Date: Mon, 18 Nov 2024 15:39:39 -0500 Subject: [PATCH] Fixed SPARQL error. --- whyis/_version.py | 2 +- whyis/filters.py | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/whyis/_version.py b/whyis/_version.py index 929d08dc..5a6c2943 100644 --- a/whyis/_version.py +++ b/whyis/_version.py @@ -1,4 +1,4 @@ -__version__='2.3.18' +__version__='2.3.19' if __name__ == '__main__': print(__version__) diff --git a/whyis/filters.py b/whyis/filters.py index 784b93fe..ecef11c3 100644 --- a/whyis/filters.py +++ b/whyis/filters.py @@ -232,11 +232,11 @@ def probquery(select): # ?assertion prov:wasDerivedFrom|dc:references ?article. # #?article a sio:PeerReviewedArticle. # } - optional { - ?article sio:hasAttribute [ a whyis:ConfidenceScore; sio:hasValue ?probability]. - } - minus { ?article a np:Nanopublication.} - } +# optional { +# ?article sio:hasAttribute [ a whyis:ConfidenceScore; sio:hasValue ?probability]. +# } +# minus { ?article a np:Nanopublication.} +# } optional { graph ?prob_assertion { { ?assertion sio:hasAttribute [ a sio:ProbabilityMeasure; sio:hasValue ?probability]. }