Skip to content

Commit

Permalink
fixed a logical error
Browse files Browse the repository at this point in the history
The DISTINCT keyword should be applied on `?item`, not `?items`. The results of referenced statements in the paper might be a bit noisy.
  • Loading branch information
seyedahbr committed Feb 11, 2022
1 parent 661a3a8 commit 0bfba72
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX wdref: <http://www.wikidata.org/reference/>
SELECT DISTINCT (COUNT(?item) AS ?items) WHERE{
SELECT (COUNT(DISTINCT ?item) AS ?items) WHERE{
?item a wikibase:Statement.
?item prov:wasDerivedFrom ?refnode.
}

0 comments on commit 0bfba72

Please sign in to comment.