Difference between revisions of "SiGNaL"

From BITPlan Wiki
Jump to navigation Jump to search
 
(64 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
= SiGNaL - Simple Graph Navigation Language =
 +
== What happens if you view the world as a graph? ==
 +
It depends on your view point. The first point of view you choose might be your starting point. If you look from a starting point in time you might end up with starting your analysis of the world with the big bang if you are a physicist or from the Genesis if you look from a religious point of view.
 +
If you are more pragmatic you'll look from where you are right now.
 +
[[File:NASA-Apollo8-Dec24-Earthrise.jpg|400px]]
 +
<graphviz>
 +
digraph EM {
 +
  rankdir="LR"
 +
  Earth [ fontcolor="white"  fontsize="32" URL="https://www.wikidata.org/wiki/Q2" image="Earth200.jpeg" ]
 +
  Moon  [ fontcolor="white"  fontsize="32" URL="https://www.wikidata.org/wiki/Q405" image="Moon200.jpeg" ]
 +
  Moon -> Earth [ label="orbits" fontsize="32"]
 +
}
 +
</graphviz>
 +
=== Example: Family ===
 +
Just imagine for a moment that you'd be [https://en.wikipedia.org/wiki/Michelle_Obama Michelle Obama].
 +
From your viewpoint there are a few persons you are most interested in - your family:
 +
[[File:Barack_Obama_family_portrait_2011.jpg|500px|link=https://en.wikipedia.org/wiki/Family_of_Barack_Obama]]
 +
<graphviz>
 +
digraph obama {
 +
  Barack [ URL="https://en.wikipedia.org/wiki/Barack_Obama" ]
 +
  Michelle [ URL="https://en.wikipedia.org/wiki/Michelle_Obama Michelle"]
 +
  Malia [ URL="https://en.wikipedia.org/wiki/Family_of_Barack_Obama#Malia_and_Sasha_Obama" ]
 +
  Sasha [ URL="https://en.wikipedia.org/wiki/Family_of_Barack_Obama#Malia_and_Sasha_Obama" ]
 +
  Michelle -> Barack [ label="husband"]
 +
  Michelle -> Malia [ label="daughter"]
 +
  Michelle -> Sasha [ label="daughter"]
 +
}
 +
</graphviz>
 +
 +
== Knowledge representation ==
 +
The following approaches are mainly used for knowlege representation:
 +
# Variables
 +
# Records
 +
# Lists
 +
# Trees
 +
# Graphs
 +
=== Variables ===
 +
A [https://en.wikipedia.org/wiki/Variable_(computer_science) variable] holds a value.
 +
E.g. The variable "name" might hold the value for one of the Obama family members.
 +
==== Example Java Source code ====
 +
<source lang='java'>
 +
  name="Michelle";
 +
  name="Barack";
 +
  name="Malia";
 +
  name="Sasha";
 +
</source>
 +
 +
=== Records ===
 +
To record interesting details about individual things the Record was invented.
 +
There is one record for each individual (thing).
 +
==== Example Record Barack Obama ====
 +
* date of birth: 4 August 1961
 +
* married: 3 October 1992
 +
* height: 1.85 m
 +
* residence: Kalorama (as of 2017-01)
 +
* nickname: Barry
 +
see [https://www.wikidata.org/wiki/Q76 WikiData Q76 - Barack Obama]
 +
 +
==== Example Record clay table with a record of beer ====
 +
Below you can see a 5000 year old record of beer
 +
http://www.britishmuseum.org/collectionimages/AN00121/AN00121754_001_l.jpg
 +
* http://www.britishmuseum.org/research/collection_online/collection_object_details.aspx?objectId=327218&partId=1
 +
 +
=== Lists of Records (Tables) ===
 +
==== List of Breweries ====
 +
<source lang='sparql'>
 +
# Find World wide breweries using the Wikidata Query service
 +
# taken from
 +
# http://wiki.bitplan.com/index.php/SiGNaL#List_of_Breweries
 +
# Created 2018-01 by Wolfgang Fahl BITPlan GmbH
 +
#
 +
# display the results as a map
 +
#defaultView:Map
 +
#
 +
# select the distillery and its coordinates
 +
SELECT ?brewery ?coord
 +
WHERE
 +
{
 +
  # any subject
 +
  # which is an instance of
 +
  # https://www.wikidata.org/wiki/Property:P31
 +
  # brewery
 +
  # https://www.wikidata.org/wiki/Q131734
 +
  ?brewery wdt:P31 wd:Q131734.
 +
  # get the coordinate location value for any found distillery
 +
  # https://www.wikidata.org/wiki/Property:P625
 +
  ?brewery wdt:P625 ?coord.
 +
}
 +
</source>
 +
[https://query.wikidata.org/#%23%20Find%20World%20wide%20breweries%20using%20the%20Wikidata%20Query%20service%0A%23%20taken%20from%0A%23%20http%3A%2F%2Fwiki.bitplan.com%2Findex.php%2FSiGNaL%23List_of_Breweries%0A%23%20Created%202018-01%20by%20Wolfgang%20Fahl%20BITPlan%20GmbH%0A%23%20%0A%23%20display%20the%20results%20as%20a%20map%0A%23defaultView%3AMap%0A%23%0A%23%20select%20the%20distillery%20and%20its%20coordinates%0ASELECT%20%3Fbrewery%20%3Fcoord%20%0AWHERE%20%0A%7B%0A%20%20%23%20any%20subject%0A%20%20%23%20which%20is%20an%20instance%20of%0A%20%20%23%20https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FProperty%3AP31%0A%20%20%23%20brewery%0A%20%20%23%20https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FQ131734%0A%20%20%3Fbrewery%20wdt%3AP31%20wd%3AQ131734.%0A%20%20%23%20get%20the%20coordinate%20location%20value%20for%20any%20found%20distillery%0A%20%20%23%20https%3A%2F%2Fwww.wikidata.org%2Fwiki%2FProperty%3AP625%0A%20%20%3Fbrewery%20wdt%3AP625%20%3Fcoord.%0A%7D try it!]
 +
 +
=== Trees ===
 +
[[File:Linnaeus_-_Regnum_Animale_(1735).png|600px]]
 +
 +
By <html><a href="https://en.wikipedia.org/wiki/en:Carl_Linnaeus" class="extiw" title="w:en:Carl Linnaeus">Carl Linnaeus</a> - Scanned from a facimile, Public Domain, <a href="https://commons.wikimedia.org/w/index.php?curid=634596">Link</a></html>
 +
 +
see also http://shapeofthought.typepad.com/shape_of_thought/2010/07/revisioning-trees.html
 +
=== Graphs ===
 +
[[File:WorldWideWebAroundWikipedia.png|600px]]
 +
==== Graph Visualization ====
 +
* http://kneecap.ist.berkeley.edu/
 +
 
= Models =
 
= Models =
Phaidro's knife. "''I should talk now about Phaedrus' knife ... The application of this knife, the division of the world into parts and the building of this structure, is something everybody does. All the time we are aware of millions of things around us - these changing shapes, these burning hills, the sound of the engine, the feel of the throttle, each rock and weed and fence post and piece of debris beside the road - aware of these things but not really conscious of them unless there is something unusual or unless they reflect something we are predisposed to see. We could not possibly be conscious of these things and remember all of them because our mind would be so full of useless details we would be unable to think. From all this awareness we must select, and what we select and call consciousness is never the same as the awareness because the process of selection mutates it. We take a handful of sand from the endless landscape of awareness around us and call that handful of sand the world.
+
== Phaidro's knife ==
 +
"''I should talk now about Phaedrus' knife ... The application of this knife, the division of the world into parts and the building of this structure, is something everybody does. All the time we are aware of millions of things around us - these changing shapes, these burning hills, the sound of the engine, the feel of the throttle, each rock and weed and fence post and piece of debris beside the road - aware of these things but not really conscious of them unless there is something unusual or unless they reflect something we are predisposed to see. We could not possibly be conscious of these things and remember all of them because our mind would be so full of useless details we would be unable to think. From all this awareness we must select, and what we select and call consciousness is never the same as the awareness because the process of selection mutates it. We take a handful of sand from the endless landscape of awareness around us and call that handful of sand the world.''
  
Once we have the handful of sand, the world of which we are conscious, a process of discrimination goes to work on it. This is the knife. We divide the sand into parts. This and that. Here and there. Black and white. Now and then. The discrimination is the division of the conscious universe into parts.<br>
+
''Once we have the handful of sand, the world of which we are conscious, a process of discrimination goes to work on it. This is the knife. We divide the sand into parts. This and that. Here and there. Black and white. Now and then. The discrimination is the division of the conscious universe into parts.<br>
The handful of sand looks uniform at first, but the longer we look at it the more diverse we find it to be. Each grain of sand is different. No two are alike. Some are similar in one way, some are similar in another way, and we can form the sand into separate piles on the basis of this similarity and dissimilarity. Shades of color in different piles - sizes in different piles - grain shapes in different piles - subtypes of grain shapes in different piles - grades of opacity in different piles - and so on, and on, and on. You'd think the process of subdivision and classification would come to an end somewhere, but it doesn't. It just goes on and on.
+
The handful of sand looks uniform at first, but the longer we look at it the more diverse we find it to be. Each grain of sand is different. No two are alike. Some are similar in one way, some are similar in another way, and we can form the sand into separate piles on the basis of this similarity and dissimilarity. Shades of color in different piles - sizes in different piles - grain shapes in different piles - subtypes of grain shapes in different piles - grades of opacity in different piles - and so on, and on, and on. You'd think the process of subdivision and classification would come to an end somewhere, but it doesn't. It just goes on and on.''
  
Classical understanding is concerned with the piles and the basis for sorting and interrelating them. Romantic understanding is directed toward the handful of sand before the sorting begins. Both are valid ways of looking at the world although irreconcilable with each other.
+
''Classical understanding is concerned with the piles and the basis for sorting and interrelating them. Romantic understanding is directed toward the handful of sand before the sorting begins. Both are valid ways of looking at the world although irreconcilable with each other.''
  
What has become an urgent necessity is a way of looking at the world that does violence to neither of these two kinds of understanding and unites them into one. Such an understanding will not reject sand-sorting or contemplation of unsorted sand for its own sake. Such an understanding will instead seek to direct attention to the endless landscape from which the sand is taken. That is what Phædrus, the poor surgeon, was trying to do.
+
''What has become an urgent necessity is a way of looking at the world that does violence to neither of these two kinds of understanding and unites them into one. Such an understanding will not reject sand-sorting or contemplation of unsorted sand for its own sake. Such an understanding will instead seek to direct attention to the endless landscape from which the sand is taken. That is what Phædrus, the poor surgeon, was trying to do.''
  
To understand what he was trying to do it's necessary to see that part of the landscape, inseparable from it, which must be understood, is a figure in the middle of it, sorting sand into piles. To see the landscape without seeing this figure is not to see the landscape at all. [...]
+
''To understand what he was trying to do it's necessary to see that part of the landscape, inseparable from it, which must be understood, is a figure in the middle of it, sorting sand into piles. To see the landscape without seeing this figure is not to see the landscape at all. [...]''
  
When analytic thought, the knife, is applied to experience, something is always killed in the process. That is fairly well understood, at least in the arts. Mark Twain's experience comes to mind, in which, after he had mastered the analytic knowledge needed to pilot the Mississippi River, he discovered the river had lost its beauty. Something is always killed. But what is less noticed in the arts - something is always created too. And instead of just dwelling on what is killed it's important also to see what's created and to see the process as a kind of death-birth continuity that is neither good nor bad, but just is.''" Robert M. Pirsig - Zen and the art of motorcycle maintainance.
+
''When analytic thought, the knife, is applied to experience, something is always killed in the process. That is fairly well understood, at least in the arts. Mark Twain's experience comes to mind, in which, after he had mastered the analytic knowledge needed to pilot the Mississippi River, he discovered the river had lost its beauty. Something is always killed. But what is less noticed in the arts - something is always created too. And instead of just dwelling on what is killed it's important also to see what's created and to see the process as a kind of death-birth continuity that is neither good nor bad, but just is.''" Robert M. Pirsig - Zen and the art of motorcycle maintainance.''
  
 
== Mental Model ==
 
== Mental Model ==
 
* https://en.wikipedia.org/wiki/Mental_model
 
* https://en.wikipedia.org/wiki/Mental_model
 +
= Abstraction =
 +
== Tree ==
 +
<graphviz>
 +
 +
</graphviz>
  
= Upper Ontologies =
+
* https://stackoverflow.com/questions/42621190/display-this-decision-tree-with-graphviz
== Basic formal ontology BFO ==
 
* https://en.wikipedia.org/wiki/Basic_formal_ontology
 
* http://basic-formal-ontology.org/
 
<youtube>j9bA0_BobTQ</youtube>
 
  
 
= Links =
 
= Links =
 +
* https://en.wikipedia.org/wiki/Perception
 
* https://en.wikipedia.org/wiki/Ontology_(information_science)
 
* https://en.wikipedia.org/wiki/Ontology_(information_science)
 
* https://github.com/arago/OGIT/wiki/High-level-use-cases
 
* https://github.com/arago/OGIT/wiki/High-level-use-cases
 +
* {{Link|target=The Genesis of WikiData}}
 +
* {{Link|target=Upper Ontology}}
 +
* http://shapeofthought.typepad.com/shape_of_thought/2010/07/index.html
 +
* https://en.wikipedia.org/wiki/Knowledge_Interchange_Format
 
[[Category:SiGNaL]]
 
[[Category:SiGNaL]]
 +
[[Category:frontend]]

Latest revision as of 12:26, 28 March 2023

SiGNaL - Simple Graph Navigation Language

What happens if you view the world as a graph?

It depends on your view point. The first point of view you choose might be your starting point. If you look from a starting point in time you might end up with starting your analysis of the world with the big bang if you are a physicist or from the Genesis if you look from a religious point of view. If you are more pragmatic you'll look from where you are right now. NASA-Apollo8-Dec24-Earthrise.jpg

Example: Family

Just imagine for a moment that you'd be Michelle Obama. From your viewpoint there are a few persons you are most interested in - your family: Barack Obama family portrait 2011.jpg

Knowledge representation

The following approaches are mainly used for knowlege representation:

  1. Variables
  2. Records
  3. Lists
  4. Trees
  5. Graphs

Variables

A variable holds a value. E.g. The variable "name" might hold the value for one of the Obama family members.

Example Java Source code

  name="Michelle";
  name="Barack";
  name="Malia";
  name="Sasha";

Records

To record interesting details about individual things the Record was invented. There is one record for each individual (thing).

Example Record Barack Obama

  • date of birth: 4 August 1961
  • married: 3 October 1992
  • height: 1.85 m
  • residence: Kalorama (as of 2017-01)
  • nickname: Barry

see WikiData Q76 - Barack Obama

Example Record clay table with a record of beer

Below you can see a 5000 year old record of beer AN00121754_001_l.jpg

Lists of Records (Tables)

List of Breweries

# Find World wide breweries using the Wikidata Query service
# taken from
# http://wiki.bitplan.com/index.php/SiGNaL#List_of_Breweries
# Created 2018-01 by Wolfgang Fahl BITPlan GmbH
# 
# display the results as a map
#defaultView:Map
#
# select the distillery and its coordinates
SELECT ?brewery ?coord 
WHERE 
{
  # any subject
  # which is an instance of
  # https://www.wikidata.org/wiki/Property:P31
  # brewery
  # https://www.wikidata.org/wiki/Q131734
  ?brewery wdt:P31 wd:Q131734.
  # get the coordinate location value for any found distillery
  # https://www.wikidata.org/wiki/Property:P625
  ?brewery wdt:P625 ?coord.
}

try it!

Trees

Linnaeus - Regnum Animale (1735).png

By Carl Linnaeus - Scanned from a facimile, Public Domain, Link

see also http://shapeofthought.typepad.com/shape_of_thought/2010/07/revisioning-trees.html

Graphs

WorldWideWebAroundWikipedia.png

Graph Visualization

Models

Phaidro's knife

"I should talk now about Phaedrus' knife ... The application of this knife, the division of the world into parts and the building of this structure, is something everybody does. All the time we are aware of millions of things around us - these changing shapes, these burning hills, the sound of the engine, the feel of the throttle, each rock and weed and fence post and piece of debris beside the road - aware of these things but not really conscious of them unless there is something unusual or unless they reflect something we are predisposed to see. We could not possibly be conscious of these things and remember all of them because our mind would be so full of useless details we would be unable to think. From all this awareness we must select, and what we select and call consciousness is never the same as the awareness because the process of selection mutates it. We take a handful of sand from the endless landscape of awareness around us and call that handful of sand the world.

Once we have the handful of sand, the world of which we are conscious, a process of discrimination goes to work on it. This is the knife. We divide the sand into parts. This and that. Here and there. Black and white. Now and then. The discrimination is the division of the conscious universe into parts.
The handful of sand looks uniform at first, but the longer we look at it the more diverse we find it to be. Each grain of sand is different. No two are alike. Some are similar in one way, some are similar in another way, and we can form the sand into separate piles on the basis of this similarity and dissimilarity. Shades of color in different piles - sizes in different piles - grain shapes in different piles - subtypes of grain shapes in different piles - grades of opacity in different piles - and so on, and on, and on. You'd think the process of subdivision and classification would come to an end somewhere, but it doesn't. It just goes on and on.

Classical understanding is concerned with the piles and the basis for sorting and interrelating them. Romantic understanding is directed toward the handful of sand before the sorting begins. Both are valid ways of looking at the world although irreconcilable with each other.

What has become an urgent necessity is a way of looking at the world that does violence to neither of these two kinds of understanding and unites them into one. Such an understanding will not reject sand-sorting or contemplation of unsorted sand for its own sake. Such an understanding will instead seek to direct attention to the endless landscape from which the sand is taken. That is what Phædrus, the poor surgeon, was trying to do.

To understand what he was trying to do it's necessary to see that part of the landscape, inseparable from it, which must be understood, is a figure in the middle of it, sorting sand into piles. To see the landscape without seeing this figure is not to see the landscape at all. [...]

When analytic thought, the knife, is applied to experience, something is always killed in the process. That is fairly well understood, at least in the arts. Mark Twain's experience comes to mind, in which, after he had mastered the analytic knowledge needed to pilot the Mississippi River, he discovered the river had lost its beauty. Something is always killed. But what is less noticed in the arts - something is always created too. And instead of just dwelling on what is killed it's important also to see what's created and to see the process as a kind of death-birth continuity that is neither good nor bad, but just is." Robert M. Pirsig - Zen and the art of motorcycle maintainance.

Mental Model

Abstraction

Tree


Links