g = Dataset()
g.parse(file=Path('fixed_config.n3').open('rt'), format='n3')
g.parse(file=Path('ui_selections.n3').open('rt'), format='n3')
g.parse(source='http://10.43.160.4/graph/currentEvents', format='trig')
for ev in g.quads((cal, EV['event'], None, None)):
log.info(f' found an event1 {ev}')
for ev in g.objects((cal, EV['event'], None, None)):
log.info(f' found an event2 {ev}')
The first log prints once but the second does not. I expected the queries to match the same statements (returning a quad in log1 or a the quad's object node in log2).
The first log prints once but the second does not. I expected the queries to match the same statements (returning a quad in log1 or a the quad's object node in log2).