thebigdb / thebigdb-issues

Issues with TheBigDB API and functionalities
6 stars 0 forks source link

Coming soon: Contexts #11

Closed chrismaximin closed 10 years ago

chrismaximin commented 11 years ago

Just a heads up about a big feature coming after the first wave of updates: contexts.

It will help define in which situation a statement is true. It will also be a solution to problems with synonymity.

Basically it will present itself this way: The base of the statement itself doesn't change, nodes and periods still stay the same, but when creating it, you can also attach up to 5 contexts. The order of the contexts doesn't matter. Each context is a 2 nodes array.

Here are examples of statements with contexts. Keep in mind these are only examples, the community will once again decide what to put in the contexts.

Giving more info about two "Will Smith" -> "role"

Giving more info about a city and its county

Helping differentiate between two cities named London

When searching, you will be able to do stuff like:

Searching what role he played in a movie named "Hitch".

Searching for the population on every city in every county named "story" all around the USA

Searching for the population of london, england

Note the search with contexts will inclusive: if a statement exists with 5 contexts, if you search for it with 0 contexts, or 1 context matching, that statement will be returned.

So, what do you think?

chrismaximin commented 10 years ago

So, this one is done!