I am having a query like this:
SELECT DISTINCT ?a ?b
WHERE {
...
} ORDER BY DESC(?area)
but this will produce:
a b
"result1" "item1"
"result2" "item2"
"result3" "item3"
"result4" "item4"
"result4" "item5"
so I am wondering, since this is for my uni, if they do not want result4 twice, which happens because result4 is a component of item4 and item5.
So how can I tell that I want every variable to be distinct and not just the pair of a and b?
This:
SELECT DISTINCT ?l_name DISTINCT ?region_name
will produce an error:
Encountered " "distinct" "DISTINCT "" at line 10, column 25. Was expecting one of: "(" ... "{" ... "from" ... "where" ... ... ...