Showing posts with label triple. Show all posts
Showing posts with label triple. Show all posts

Monday, January 25, 2016

A Data Science Definition of Semantics

Semantics is the study of meaning (Greek root, semantikos, signficant meaning). In the context of data science, semantics is the technique of creating meaningful assertions about data objects. A meaningful assertion, as used here, is a triple consisting of an identified data object, a data value, and a descriptor for the data value. In practical terms, semantics involves making assertions about data objects (ie, making triples), combining assertions about data objects (ie, merging triples), and assigning data objects to classes; hence relating triples to other triples. As a word of warning, few informaticians would define semantics in these terms, but most definitions for semantics are functionally equivalent to the definition offered here.

Most language is unstructured and meaningless. Consider the assertion: Sam is tired. This is an adequately structured sentence with a subject verb and object. But what is the meaning of the sentence? There are a lot of people named Sam. Which Sam is being referred to in this sentence? What does it mean to say that Sam is tired? Is "tiredness" a constitutive property of Sam, or does it only apply to specific moments in Sam's life? If so, for what moment in time is the assertion, "Sam is tired" actually true? To a computer, meaning comes from assertions that have a specific, identified subject associated with some sensible piece of fully described data (metadata coupled with the data it describes).

- Jules Berman (copyrighted material)

key words: meaning, data science, informatics, triple, semantics, jules j berman

Wednesday, January 20, 2016

TRIPLES: THE BASIC UNIT OF MEANING IN DATA SCIENCE

Data, by itself, has no meaning. It is the job of the data scientist to assign meaning to data, and this is done with data objects, triples, and classifications. Our most familiar data constructions (eg, spreadsheets, relational databases, flat-file records) convey meaning through triples and data objects; we just don’t perceive them as such.

The three conditions for a meaningful assertion are:
1. There is a specific data object about which the statement is made.
2. There is data that pertains to the specified object.
3. There is metadata that describes the data
Simply put, assertions have meaning whenever a pair of metadata and data (the descriptor for the data and the data itself) is assigned to a specific object. In the informatics field, assertions come in the form of so-called triples, consisting of the object, then the metadata, and then the data.

Here are some examples of triples, as they might occur in a medical dataset:
"Jules Berman" "blood glucose level" "85"
"Mary Smith" "blood glucose level" "90"
"Samuel Rice" "blood glucose level" "200"
"Jules Berman" "eye color" "brown"
"Mary Smith" "eye color" "blue"
"Samuel Rice" "eye color" "green"
Here are a few triples, as the might occur in a haberdasher’s dataset
"Juan Valdez" "hat size" "8"
"Jules Berman" "hat size" "9"
"Homer Simpson" "hat size" "9"
"Homer Simpson" "hat_type" "bowler"
We can combine the triples from a medical dataset and a habderdasher’s data set that apply to a common object:
"Jules Berman" "blood glucose level" "85"
"Jules Berman" "eye color" "brown"
"Jules Berman" "hat size" "9"
Triples can port their meaning between different databases because they bind described data to an object. The portability of triples permits us to achieve data integration of heterogeneous data, and facilitates the design of software agents. Data integration involves merging related data objects, across diverse data sets. As it happens, if data supports introspection and data is organized as meaningful assertions (ie, as identified triples), then data integration is implicit (ie, an intrinsic property of the data). In essence, data integration is awarded to data scientists who apply data simplification techniques.

- Jules Berman (copyrighted material)

key words: triple, meaning, informatics, computer science, data integration, heterogeneous data, jules j berman

Friday, January 15, 2016

THE MEANING OF MEANING

In informatics, meaning is achieved when described data is bound to a unique identifier of a data object. The assertion that "Claude Funston’s height is five feet eleven inches," comes pretty close to being a meaningful statement. The statement contains data (five feet eleven inches), and the data is described (height). The described data belongs to a unique object (Claude Funston). Ideally, the name "Claude Funston" should be provided with a unique identifier, to distinguish one instance of Claude Funston from all the other persons who are named Claude Funston. The statement would also benefit from a formal system that ensures that the metadata makes sense (eg, What exactly is height, and does Claude Funston fall into a class of objects for which height is a property?) and that the data is appropriate (eg, Is 5 feet 11 inches an allowable measure of a person’s height?). A statement with meaning does not need to be a true statement (eg, The height of Claude Funston was not 5 feet 11 inches when Claude Funston was an infant).

© 2016 Jules Berman

key words: meaning, semantics, assertion, triple, rdf, metadata, identifier, identification, jules j berman