Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
IKCAP committed May 11, 2024
1 parent 9ddab10 commit c57f170
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions pylipd/globals/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
QUERY_DSID = """
SELECT ?dsid WHERE {
?ds a le:Dataset .
OPTIONAL{?ds le:datasetId ?dsid}
OPTIONAL{?ds le:hasDatasetId ?dsid}
}
"""

Expand Down Expand Up @@ -289,8 +289,14 @@
?var le:hasUnits ?paleoData_unitsObj .
?paleoData_unitsObj rdfs:label ?paleoData_units .
}
OPTIONAL{?var le:hasProxy ?paleoData_proxy .}
OPTIONAL{?var le:hasProxyGeneral ?paleoData_proxyGeneral .}
OPTIONAL{
?var le:hasProxy ?paleoData_proxyObj .
?paleoData_proxyObj rdfs:label ?paleoData_proxy .
}
OPTIONAL{
?var le:hasProxyGeneral ?paleoData_proxyGeneralObj .
?paleoData_proxyGeneralObj rdfs:label ?paleoData_proxyGeneral .
}
OPTIONAL{
Expand Down Expand Up @@ -434,11 +440,11 @@
?unitsObj rdfs:label ?units .
}
OPTIONAL{?var le:archiveType ?archiveType .}
OPTIONAL{?var le:hasProxy ?proxy .}
}
OPTIONAL{
?var le:hasProxy ?paleoData_proxyObj .
?paleoData_proxyObj rdfs:label ?paleoData_proxy .
}
}
"""

QUERY_LOCATION ="""
Expand Down

0 comments on commit c57f170

Please sign in to comment.