Skip to content

Commit

Permalink
fixes wikidatasync
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Aug 17, 2024
1 parent 4a00f13 commit 8094f08
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ceurws/wikidatasync.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,10 @@ def getEventsOfProceedingsByVolnumber(self, volnumber: int | str) -> list[str]:
Returns:
List of the events
"""
query = f"""SELECT ?event
query = f"""SELECT ?event
WHERE {{
?proceeding wdt:P31 wd:Q1143604;
p:P179 [ps:P179 wd:Q27230297; pq:P478 "{volnumber}"];
?proceeding wdt:P31 wd:Q1143604;
p:P179 [ps:P179 wd:Q27230297; pq:P478 "{volnumber}"];
wdt:P4745 ?event.}}
"""
qres = self.sparql.queryAsListOfDicts(query)
Expand Down

0 comments on commit 8094f08

Please sign in to comment.