Skip to content

Commit

Permalink
sparqls - add distinct to getIdList's query
Browse files Browse the repository at this point in the history
  • Loading branch information
ZogopZ committed Oct 11, 2024
1 parent 316df99 commit c79dd26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icoscp/src/icoscp/sparql/sparqls.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ def station_query(filter: dict = None, return_filter: bool = False) -> str or (s
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix cpmeta: <http://meta.icos-cp.eu/ontologies/cpmeta/>
prefix cpst: <http://meta.icos-cp.eu/ontologies/stationentry/>
select ?uri ?id ?name ?icosClass ?country ?lat ?lon ?elevation ?stationTheme ?firstName ?lastName ?email ?siteType
select distinct ?uri ?id ?name ?icosClass ?country ?lat ?lon ?elevation ?stationTheme ?firstName ?lastName ?email ?siteType
from <http://meta.icos-cp.eu/resources/icos/>
from <http://meta.icos-cp.eu/resources/extrastations/>
from <http://meta.icos-cp.eu/resources/cpmeta/>
Expand Down

0 comments on commit c79dd26

Please sign in to comment.