Discourse Modeling: Difference between revisions

3,802 bytes added ,  20:28, 28 November 2022
m
 
(14 intermediate revisions by 5 users not shown)
Line 6: Line 6:
|Discord Channel URL=https://discord.com/channels/1029514961782849607/1038988750677606432
|Discord Channel URL=https://discord.com/channels/1029514961782849607/1038988750677606432
|Facilitator=Karola Kirsanow
|Facilitator=Karola Kirsanow
|Members=Karola Kirsanow, Konrad Hinsen, Kyle MacLaury, Peter Murray-Rust
|Members=Karola Kirsanow, Konrad Hinsen, Kyle MacLaury, Peter Murray-Rust, Sam Klein
|Description=Implement Discourse Graph schema in Semantic MediaWiki.  Query Discourse Graph contents through SMW sparql endpoint.  Visualize and publish Discourse Graph contents.
|Description=Implement Discourse Graph schema in Semantic MediaWiki.  Query Discourse Graph contents through SMW sparql endpoint.  Visualize and publish Discourse Graph contents.
}}
}}
Line 14: Line 14:


Could have applications to the semantic climate setting that [[Peter Murray-Rust]] is working on.
Could have applications to the semantic climate setting that [[Peter Murray-Rust]] is working on.
[[File:Results graph.png|thumb|the results graph - Matt Akamatsu's DG dialect for experimental science]]
== Discourse Graphs ==
[[File:Discourse Graph.png|thumb|Discourse Graph (from Joel Chan)]]
We're focusing on implementing  [https://oasis-lab.gitbook.io/roamresearch-discourse-graph-extension/ the Discourse Graph Datamodel] in a wiki to see if we can make further progress on enabling and supporting synthesis, discovery, and dissemination by building upon models that  have already demonstrated success.<blockquote>From our chat yesterday: I'd like to propose adding <code>Axiom</code>s and adding relationships to <code>Source</code>s. Is there a way to do this on the oasis-lab spec?</blockquote>[[File:The discourse graph quadruplet.png|thumb|The discourse graph quadruplet]]


== Now you're playing with templates ==
== Now you're playing with templates ==
Line 28: Line 34:
* Claim :  
* Claim :  
* Axiom (?) :
* Axiom (?) :
[[:Category:Discourse graph templates|Discourse Graph templates]]


== Potential Actions ==
== Potential Actions ==
Line 79: Line 88:
** We made a first pass at designing templates for '''sources''', '''evidence''', '''claims''', and '''questions'''
** We made a first pass at designing templates for '''sources''', '''evidence''', '''claims''', and '''questions'''
** We discussed for the page relations enabled by SMW could be used to create DG edges.
** We discussed for the page relations enabled by SMW could be used to create DG edges.
* We annotated this page's [[Talk:Discourse Modeling|Discussion]] using simple DG syntax to experiment with transforming a "live" conversation into a DG


== Progress as of Day 2 ==
== Progress as of Day 2 ==


 
* We continued to build out the Discourse wiki on the talk page, including developing conventions for tagging parts of syntax and relations
* We discovered that what we are working towards is a set of  (mostly syntactical) conventions for creating Discourse Graphs -- almost like a Markdown for Discourse Graphs
* We extended the SPARQL query system
* We discussed discourse graph discovery algorithms
* We discussed visualization options
* We realized that the ability to notice and capture disparate mentions of  identical or similar topics would be a very desirable feature supporting collaboration


== Observations & Open Problems ==
== Observations & Open Problems ==


* We immediately realized that we had seen very few Discourse Graphs "in the wild": the model makes intuitive sense in single player and small-group mode in Roam & Obsidian, but how gracefully will it scale to massively multiplayer synthesis?
* We immediately realized that we had seen very few Discourse Graphs "in the wild": the model makes intuitive sense in single player and small-group mode in Roam & Obsidian, but how gracefully will it scale to massively multiplayer synthesis?
** There are at least two possible models here: public-first writing in online mode (wiki, Roam) and local-first writing +push, probably via git. UX and conflict resolution will differ in these models.
* How to design with a federated future in mind?
* How to design with a federated future in mind?
** What does it mean for distinct graphs to share nodes? to "live" in adjacent namespaces?
** What does it mean for distinct graphs to share nodes? to "live" in adjacent namespaces?
Line 93: Line 109:
* Need to create a consistent way of sharing and editing templates - how do template changes propagate in a future federated system?
* Need to create a consistent way of sharing and editing templates - how do template changes propagate in a future federated system?
* Will graph visualization scale in a useful manner? How will traversal work?
* Will graph visualization scale in a useful manner? How will traversal work?
* The relationship between naming and clustering: how do we name groups of related hypotheses? A family of experiments?<br />
* The relationship between naming and clustering: how do we name groups of related hypotheses? A family of experiments?
* Questions regarding feasible & appropriate levels of automation<br />
 
== Relevant Projects and Ideas ==


* [https://anagora.org/agora Agora]
* [https://everything2.com/ everything2]
* [https://cosma.graphlab.fr/en/ Cosma]
* Obsidian
* Roam
* Logseq
* [https://zettlr.com/ Zettlr]
* [https://tana.inc/ Tana]
* Kumu
* [https://discoursegraph.com The Discourse Graph Starter pack]
* [https://gtoolkit.com/components/lepiter/ Lepiter]
* [https://github.com/Massive-Wiki/massive-wiki Massive Wiki]


==Example Discourse==
==Example Discourse==
Line 102: Line 133:
* [https://publish.obsidian.md/joelchan-notes/README Joel Chan's working notes]
* [https://publish.obsidian.md/joelchan-notes/README Joel Chan's working notes]
* [https://civicdb.org/assertions/home CIViC] (Clinical Interpretation of Variance in Cancer]
* [https://civicdb.org/assertions/home CIViC] (Clinical Interpretation of Variance in Cancer]
==Tools==
[[Download SMW rdf data]]
[[Import SMW .jsonld as RDFStore in Wolfram Language]]
[[Example SPARQL queries in Wolfram Language]]
[[Execute SPARQL query against RDFStore]]
==Computation, Queries and Answers==
What is the act of synthesis, and what does it have to do with discourse graphs? 
Synthesis is the process by which one or more computational processes process the same set of information to generate a coherent understanding of (model of) the world.  The set of information in this case is the discourse graph, which contains  the information processed and shared in the act of attempting to answer a question, and information regarding the provenance of the information.   
‘This is an epistemic process made perhaps most explicit by the scientific process, but it is generalizable  in the sense that it can be used to describe two farmers sharing observations about the weather, or two parallel processes within a question answering system sharing results to synthesize a single answer. 
I suppose that this shouldn’t be surprising since since the discourse graph starts with a question, but the process that the discourse graph supports has much in common with query execution following an API call, but perhaps query execution that attempts to answer a question whose answer requires synthesis.  Perhaps a synthesis query? A query which returns multiple items of information (claims) that a computational process can synthesize to answer a question. 


== Discord ==
== Discord ==
42

edits