humanitiesplusdesign / data-pen

Personal modeling application for Linked Data.
http://hdlab.stanford.edu/fibra
26 stars 0 forks source link

Query configuration to build local data set #115

Open cncoleman opened 7 years ago

cncoleman commented 7 years ago

Add query capability to "add node" based on the selection. For example: Bring in contemporaries by bringing in all people that were 30 at around the same time as the person who is currently selected.

jiemakel commented 7 years ago

In our current sunburst, we can already go e.g. from birth place Paris to Paris, and from there to bring in all people also born in Paris, so we in essence already support this for the easy scenarios.

Supporting fuzziness in dates and places for this type of interaction is a whole 'nother level. We'll want to get there eventually, but that is still certainly some way off.

cncoleman commented 7 years ago

I'm not sure it's fuzziness we're looking for, but correct me if I'm wrong. Is if fuzzy it we let users specify "birthdate within 15 years before and 15 years after this entity's birthdate"? The idea for this came out of a notebook style (Jupytr, R-studio) abillity to type a query to filter results. But another thing we might imagine are some stock queries for particular domains. Searching for contemporaries of a person is soooo common in history yet it's not easy for most users to query.

jiemakel commented 7 years ago

It is "fuzzy navigation" with regard to our current sunburst node traversal, which allows you to go to the explicit value (e.g 30), and then back to all nodes that share that value. It is querying in practice, where e.g. when in the sunburst, you'd click on a person's birthdate, and then give a range to search in (or for a place, give e.g. the radius of a circle), in essence defining a query.

Or, if we're going to end up with separate querying support anyway (sort of facet filtering device [as seen on the left in this mockup and the earlier Fibra demo], or/and a simplified query language), then we could just hook the interaction directly there, and clicking on the birthdate would just give an option of prefilling the query functionality with a date-based template.

cncoleman commented 7 years ago

I'm moving this to our Filter component. So the parameter of "Birthdate + 30 years" can be set there as a way to select a group of people within another filter parameter.