ChildMindInstitute / mhdb-tables2turtles

Text processing code to convert specific spreadsheets to RDF as initial content for the Mental Health Database (MHDB)
Other
0 stars 0 forks source link

Relationships linking mental/bodily state to sensors #28

Closed binarybottle closed 5 years ago

binarybottle commented 7 years ago

We should relate: (1) mental/bodily state (2) measurable characteristic of mental/bodily state (3) quantity to measure (4) location of measurement (5) sensor (6) device (links to information like makers, models, characteristics of device, etc.)

Three examples adapted from Anirudh's google doc:

I just want to note that we should acknowledge that we are merely inferring (2). In the first example, we are inferring brain electrical activity, but actually measuring scalp field potentials. In the second example, we are inferring something about facial expression, but are actually relying on human judgment (FACS) or measuring anthropometric measures from extracted facial features.

shnizzedy commented 7 years ago

I struggle with these labeled-node/unlabeled-edge examples, for two main reasons.

  1. Without specifying the relationships, we increase the chances of miscommunication.
  2. We'll need to encode the relationships as well as the entities in the database.

To the point of organization, I think a spreadsheet is the wrong medium for this exploration, for these reasons:

  1. The number of steps between device and mental/bodily state will not be consistent
  2. The paths between device and mental/bodily state will not always be linear
  3. The paths that are the same shape and size will not necessarily use the same steps.

The type of diagram we've been working with in issue #25 is, to me, a much more appropriate format.

Short of diagramming, I also think you could better express these examples in plain text, e.g., the third example above can be more precisely expressed as

or almond pain 2

I don't know how that kind of complexity can be clearly expressed in a spreadsheet.

(P.S. I have (2) & (3) as the same shape and color in the above diagram because I still don't understand where or why to draw the line between these classes of entity)

anirudh4792 commented 7 years ago

In response to arno,

'we are merely inferring' - this resolves my concern that sometimes, claims are made by the apps. In the second example, a facial recognition algorithm has been used by the app but I added FACS as another way of measuring facial expressions to highlight that many methods may be used. I have added (7) as how the device does the measurement to represent algorithms etc.

Here are the other examples configured to the above structure

(1) mental/bodily state (2) measurable characteristic of mental/bodily state (3) quantity to measure (4) location of measurement (5) sensor (6) device (links to information like makers, models, characteristics of device, etc.)

anirudh4792 commented 7 years ago

In response to Jon,

1) Thank you - I have no problems to move away from a spreadsheet format to represent such examples as you have elegantly done. However, how would we input this information into the database eventually (I was under the impression that we were pulling from the sheet into the database)?

2) "(P.S. I have (2) & (3) as the same shape and color in the above diagram because I still don't understand where or why to draw the line between these classes of entity)" (2) measurable characteristic of mental/bodily state (3) quantity to measure

We could do what we did for the 'SymptomsAllinOne' sheet where we had all entries in a single column and mapped them to each other within the same column vs associating them with indices in different worksheets as we are doing now.

3) Once we all agree on a structure, I hope to make lists of (1), (2) (3), (4), (5), (6); and probably map them through indices while also adding what Jon suggested (eg defining relationships between them) or any other appropriate way to do it

4) I will also classify our neutral behaviors and add them into one of our lists (1-6)

binarybottle commented 7 years ago

Jon -- Absolutely agree about identifying links, using graphs instead of spreadsheets, and taking advantage of all that linked data has to offer us to establish meaningful relationships. Thank you for taking care in reframing the example as a flowchart and with marked up text.

Anirudh -- Please be careful with your examples. "blood property change" is too vague to be a quantity to measure, respiration could be written as "expansion and contraction of the torso during respiration" while (3) would be "movement" just like with night terrors...

anirudh4792 commented 7 years ago

Thank you. I have re-written the ones that I felt merited change.

(1) tense, focused, or calm state of mind (2) expansion and contraction of the torso during respiration (3) movement (4) torso (5) force sensors (6) spire vs (1) tense, focused, or calm state of mind (2) respiration (3) expansion and contraction of the torso (4) torso (5) force sensors (6) spire

(1) pain (2) heart rate variability (3) how? (4) fingertip (5) PPG (6) Medasense vs (1) pain (2) heart rate variability (3) blood property change (4) fingertip (5) PPG (6) Medasense

(1) mania (2) voice (3) increase in rate, rhythm and volume (4) external (5) microphone (6) priori (7) algorithm - analysed by computer software vs (1) mania (2) increase in rate, rhythm and volume of voice (3) increase in rate, rhythm and volume of voice (4) external (5) microphone (6) priori (7) algorithm - analysed by computer software

(1) depression (2) voice (3) decrease in rate, rhythm and volume (4) external (5) microphone (6) priori (7) algorithm - analysed by computer software vs (1) depression (2) decrease in rate, rhythm and volume of voice (3) decrease in rate, rhythm and volume of voice (4) external (5) microphone (6) priori (7) algorithm - analysed by computer software

(1) anxiety due to eating/feelings of overeating (2) quakes that rise around the skin of the neck (3) tremors/vibrations (4) throat (5) piezoelectric sensors (6) accubite vs (1) anxiety due to eating/feelings of overeating (2) quakes that rise around the skin of the neck while swallowing (3) tremors/vibrations (4) throat (5) piezoelectric sensors (6) accubite

shnizzedy commented 7 years ago

@anirudh4792:

  1. At this point, I think it's more important to be clear than to be in a particular format. The only code we have written for pulling things into the database are the specific sheets we already have. Whatever format we use for additional data will need fresh code, even if it's a spreadsheet. Many (most? all?) graphing apps can export to DOT and/or SVG from which the journey to turtle is short (maybe shorter than the journey from a spreadsheet workbook to turtle). We could also build these prototype graphs in Protégé.
  2. Isn't a "measurable characteristic of mental/bodily state" a "quantity to measure"? Isn't any corporeal or mental "quantity to measure" a "measurable characteristic of mental/bodily state"? Won't we be able to tell if a "quantity to measure"/"measurable characteristic" is "of mental/bodily state" by usage? If we are going to draw these lines in the encoding, why not separate "measurable characteristic of mental state", "measurable characteristic of bodily state" and "measurable characteristic of extrapersonal state"?
  3. That would be how I would attack this if I had to use spreadsheets, but I agree with your earlier critique that bridge-index relationship keys are not very human-readable. I'm unconvinced that we need to put this in sheets, though I do think "lists of (1), (2) (3), (4), (5), (6)" could be quite helpful in defining each of those parent classes or categories.

@binarybottle: I'll say we're all welcome since that exercise was as much for me as for everyone else. I used @anirudh4792's shape and color markup from issue #25, so thanks to him for that clarity.


@anirudh4792: In the rewritten examples above, is "how?" a blank node?

Also, voice is such an interesting thing to try to isolate and quantify. \"Ursula stealing Carl Kasell\'s voice for her home answering machine\" by Topher McCulloch

anirudh4792 commented 7 years ago

Thanks for the clarification that it is possible (if not easier) to pull from graphs rather than spreadsheets. Totally agree that interpreting and visualizing things from a graphical diagram is way cooler than doing so from a spreadsheet.

I really like your cartoons/gifs (along the lines of avatars). I am thinking of assigning such pictures to our core neutral behaviors (a magnifying glass to represent attention to detail for example). It also helps us go closer to Arno's taxonomy paper where entires could be converted, represented and compared as symbols

anirudh4792 commented 7 years ago

I am creating lists (from our 15 examples + neutral behaviors) for 1-6.

We previously had (1) mental/physiological state and (2) measurable bodily state/bodily condition but now, we have (1) mental/bodily state, (2) measurable characteristic of mental/bodily state, (3) quantity to measure and I feel a behavior could fall under any of the three.

Here is an example of the list

(1) mental/physiological state pain tense, focused, or calm state of mind night terrors ability/willingness to speak in social situations sharing emotions socio-emotional reciprocity

(2) measurable bodily state/bodily condition motor tics <eye blinking, shoulder shrugging, extension of extremities, simultaneous head turning, copropraxia, echopraxia> vocal tics <throat clearing often caused by contraction of the diaphragm or muscles of the oropharynx, sniffing often caused by contraction of the diaphragm or muscles of the oropharynx, grunting often caused by contraction of the diaphragm or muscles of the oropharynx, palilalia, echolalia, coprolalia> Palpitations accelerated heart rate Sweating Trembling shaking Feelings of shortness of breath feelings of smothering Feelings of choking chest pain

I feel having the distinction between bodily state and mental state would be useful. We could form sub groups (50 core neutral behaviors) between these.

shnizzedy commented 7 years ago

I love words but often find other media to be more effective and/or efficient at communicating. Creative Commons Search is my go-to for media that I don't make myself.

anirudh4792 commented 7 years ago

Thanks jon! @binarybottle I liked this! Enter your search query Parents add a query - I want something that I can.. or a core neutral behavior (eg attention)

Search using We would have our different components (symptoms, questions, people, apps, measures etc.). They could turn on multiple options (eg symptoms mapped to questions)

screen shot 2017-10-18 at 5 41 07 pm

binarybottle commented 6 years ago

this issue seems to be moving in directions of front end development and sensor/symptom mapping in other issue(s). please refer future readers to relevant issues and close, or migrate extant issues to their own issues that are properly labeled.