brettkromkamp / topic-db

TopicDB is a topic maps-based semantic graph store (using SQLite for persistence)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor GetAssociations command.

brettkromkamp opened this issue · comments

The GetAssociations command will be renamed to GetTopicAssociations (retrieve all associations for a given topic). And, the GetAssociations will become a command class to retrieve associations, optionally filtered by 'instance of' and 'scope'.

  • Attributes query
    • Filter with and without 'scope' and 'language' properties: 4 query branches
  • Topics query
    • Filter with and without 'instance of' and 'language' properties (for base names): 4 query branches
  • Occurrences query (including GetTopicOccurrences)
    • Filter with and without 'instance of', 'scope', and 'language' properties: 8 query branches
  • Association query (including GetTopicAssociations)
    • Filter with and without 'instance of', 'scope', and 'language' properties: 8 query branches