Subject Evidence

The recurring example of the J. Robert Oppenheimer data provides examples of how entity instances are supplied data to create a body of Subject Evidence.

Entity Instances

The diagram above with the yellow labels shows three entity instances of entity types for an Association, Identity, and Event. The values were assigned according to the minimal type context introduced for Oppenheimer’s story. The Association connects the Identity of Oppenheimer to the Event of beginning study at Harvard College in September 1922.

A whole class began study at Harvard in 1922. If we wanted to record all the people in that class, a pair of Identity and Association entity instances would need to be added for each classmate of Oppenheimer’s with suitable Identities and their own identity substituted in the Association. That would record one event with a list of agents or students taking part in the event.

A complementary introductory discussion of how the Oppenheimer data was populated can be found here.

A few examples of type context declarations appear below. Details of the syntax and semantics of type context definitions is presented in a technical discussion here.

Abstract Entity Instances

A type at the base of the type hierarchy like Person can function as an abstract identity. The viewpoint of Eventful Stories is that each

type :> Person
type :> AnotherAbstractAnchor

declaration with root as its super-type can be interpreted as an entity that may have many individuals of its type. It provides an “is_a” anchor. Whenever a Person record is created, all it has is a unique identity that distinguishes this person from that person. Who that person is comes through other information connected by references to the abstract unique identity, a number.

Properties of a person are not really fixed, except over a certain finite time interval. Name, sex, address are all time-dependent at heart. Our knowledge of any of them can be subject to differences of opinion or definition. Better to keep all the incidental information separate and mark it for what it is: an assertion made by an agent for a time period in a context. The agent may be the person his or herself.

Note that the example of the Oppenheimer minimal type context does not make this design choice. It is completely ad-hoc. It aims to enable making visual presentations as directly as possible. It is not a model of a generally useful type context. For all that, however, the minimal design served its purpose well.

Attributes Carry Values

The type context definition language form of the above minimal type system used for Oppenheimer appears in the code paragraph below.

The data fields or attributes of a type is where the information is stored. In Association, there are three attributes: agent, link, and type as in “type of association”.

Agent and link are reference pointers as indicated by the arrows, while type is just text.

type :> Identity
<<An identified individual with a name or label>>
    name :: Text
    <<The name providing the identity>>
    type :: Text
    <<What or whom is identified
      (from a list of possibilities).>>

type :> Event
    <<Something happened>>
    start :: Date
    <<Instant of the beginning of event>>
    end :: Maybe Date
    <<An end date if any for events with duration>>
    type :: Text
    <<The type of the event
      (from a list of possibilities)>>

type :> Association
    <<A connection between an Identity and an Event>>
    agent :: -> Identity
    <<Who or what is connected to the event>>
    link :: -> Event
    <<What event are they linked to>>
    type :: Text
    <<The sort of involvement in the event
      (from a list of possibilities)>>

The Set of Super-Type Attributes

From any point in a super-type hierarchy, the set of attributes to which values may be assigned is the set union of its own attributes and all the attributes of every super-type all the way to root.

An example of an Event type declaration is presented in the technical type context definition . A shortened version is this:

type :> Event            <<Root type for any event>>
    when :: Time         <<When the event occurred>>
    where :: -> Location <<Where the event occurred>>
...
type Event.Begin.Life :> Person <<A person's birth>>
    who :: -> Person     <<Who was born>>
type Event.End.Life :> Person   <<A person's death>>
    who :: -> Person     <<Who died>>

Here both type Event.Begin.Life.Person and Event.Begin.Life.Person have three attributes {when, where, who} while declaring one by virtue of the super-type attribute accumulation rule.

Attribute Instance Values

Immediate Values

Four built-in primitive data types are provided for immediate values, the ones actually stored in a supporting database. They are

  • Integer
  • Real
  • Text
  • Blob (binary large object, jpg image for example)

Reference Pointers

Relations between data are expressed by three sorts of reference pointers. Each entity instance has its own portable primary key in the form of a very long unique number, a Universally Unique Identifier, or UUID. Records identified by a UUID may be stored in the local Evidence Module or in an external Evidence Module.

Local References

A UUID pointer to an entity instance that is stored in the local EM.

External References

A UUID pointer to an entity instance that is stored in an external EM. In that case, a copy of the external entity instance and it values, along with all the other records it references are cached locally so that the local EM can be used autonomously. The details of this process and its protocol are the subject of current investigation.

Query Values

An actual concrete identity of a targeted entity may not be known. In that case, it can be convenient to provide a query as a value. The query is expressed in such a way that it may be presented to an Evidence Module to receive one or more concrete IDs in response. In the meantime, the reference exists as a latent or virtual pointer in the form of the un-executed query. This is also useful in the case of scripted value assignment and import.

Scripted Value Assignment

Also under development is a tool to import data in bulk. Where it fits is explained in some detail in the Preparing Data for Import section. One form is expected to be a YAML file using the Query Value indirection capability. Another form would be suitable for CSV files, say.

Next: Type Context