Skip to content

Infinite loop? when querying time anchor. #40

@robertsdionne

Description

@robertsdionne
create graph ?world;

insert data into ?world {
  /room<Hallway> "connects_to"@[] /room<Kitchen>.

  /room<Kitchen> "connects_to"@[] /room<Hallway>.
  /room<Kitchen> "connects_to"@[] /room<Bathroom>.
  /room<Kitchen> "connects_to"@[] /room<Bedroom>.

  /room<Bathroom> "connects_to"@[] /room<Kitchen>.

  /room<Bedroom> "connects_to"@[] /room<Kitchen>.
  /room<Bedroom> "connects_to"@[] /room<Fire Escape>.

  /room<Fire Escape> "connects_to"@[] /room<Kitchen>.

  /item/book<000> "in"@[2016-04-10T4:21:00.000000000Z] /room<Hallway>.
  /item/book<000> "in"@[2016-04-10T4:23:00.000000000Z] /room<Kitchen>.
  /item/book<000> "in"@[2016-04-10T4:25:00.000000000Z] /room<Bedroom>
};

select ?item, ?t from ?world where {
  ?item "in"@[?t] /room<Bedroom>
};

drop graph ?world;

results in an infinite loop at

Processing statement (3/4):
select ?item, ?t from ?world where { ?item "in"@[?t] /room<Bedroom> };

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions