<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Yes, try Inception, or Memento, which has ~linear narrative of a non-linear character :)</p>
<p><br>
</p>
<p>The problem with RDF is that everything is a subset of RDF. Just as I gave up formal methods when an expert told me that "<i>floating point... that's still a research topic</i>" (RAL 1990), so I gave up RDF when the philosophers started arguing about a Standard
 Upper Ontology (SUO), for things like space and time, which looked like it could last for decades. There should be a harder prequel CS deadlock problem called
<i>The Arguing Philosophers, </i>about where to have dinner in the first place).</p>
<p><br>
</p>
<p>For a practical interactive system that uses graph-based spatio-temporal data, see Palantir. In addition to tagged text and table listings, it has 3 connected views of the same data: graph, map and timeline. </p>
<p><br>
</p>
<p>StoryFlow cites XKCD as a reference:</p>
<p><br>
</p>
<p><a href="https://xkcd.com/657/" class="OWAAutoLink" id="LPlnk741180" previewremoved="true">https://xkcd.com/657/</a><br>
</p>
<p><br>
</p>
<p>Mike</p>
<p><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> erlang-questions-bounces@erlang.org <erlang-questions-bounces@erlang.org> on behalf of Hugo Mills <hugo@carfax.org.uk><br>
<b>Sent:</b> Tuesday, April 9, 2019 11:43 AM<br>
<b>To:</b> lloyd@writersglen.com<br>
<b>Cc:</b> erlang-questions@erlang.org<br>
<b>Subject:</b> Re: [erlang-questions] digraph questions</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Mon, Apr 08, 2019 at 07:28:49PM -0400, lloyd@writersglen.com wrote:<br>
> <br>
> The Erlang digraph library looks like it may provide an interesting way to diagram scenes in a novel.<br>
>  <br>
> 1> Scene10 = digraph:new().<br>
>  <br>
> Imagine:<br>
>  <br>
> Setting:"park"<br>
> Character1:"Franco"<br>
> Character2:"Sophia"<br>
>  <br>
> 2> digraph:add_vertex(Scene10, "Park", "Night").<br>
> 3> digraph:add_vertex(Scene10, "Franco", "Old and fat").<br>
> 4> digraph:add_vertex(Scene10, "Sophia", "Young and beautiful").<br>
> 5> digraph:add_edge(Scene10, "Franco", "Sophia", "loves").<br>
<br>
   Congratulations, you just invented a subset of RDF. :)<br>
<br>
   Also, I fear that contextus.net has now vanished, but there were a<br>
bunch of people at Southampton University about 10 years ago<br>
(including me) who were working on narrative descriptions in RDF.<br>
<br>
   It gets more complicated when you have to deal with temporal<br>
descriptions (X loved Y until X discovered that Y was having an affair<br>
with Z), and different narrative timelines (the audience's experience<br>
of the timeline of Pulp Fiction is very different to that of the<br>
characters; CSI usually shows multiple inconsistent views of the crime<br>
over the course of an episode). You can also start modelling different<br>
characters' beliefs (see, for example, the end of Romeo and Juliet,<br>
where the plot hinges critically on what people think they know).<br>
<br>
   I'm not sure if I've got any of the ontologies any more, but I can<br>
ask around the group and see if it's on someone's hard disk still...<br>
<br>
   Hugo.<br>
<br>
> OK to here EXCEPT command 5 returns:<br>
>  <br>
> ['$e'|0]<br>
>  <br>
> 6> digraph:add_edge(Scene10, "Sophia", "Franco", "hates").<br>
>  <br>
> OK to here EXCEPT command 5 returns:<br>
>  <br>
> ['$e'|0]<br>
>  <br>
> 6> digraph:add_edge(Scene10, "Sophia", "Franco", "hates").<br>
> ['$e'|1]<br>
>  <br>
> Wah!<br>
>  <br>
> Question 1: How do I see labels?<br>
>  <br>
> Question 2: Be cool to add a sequence of actions. I can probably figure this out, but is there an elegant solution?<br>
>  <br>
> Question 3: I'd love to visualize the graph. I see it can be done in Elixir. But I don't know Elixir. Has anyone programmed a way to visualize digraphs in Erlang?<br>
>  <br>
> Comment: Digraph is crying out for a comprehensive tutorial. I'd love to do it, but just don't know enough yet.<br>
<br>
-- <br>
Hugo Mills             | Books are superior to radio: the soundtrack is<br>
hugo@... carfax.org.uk | better<br>
<a href="http://carfax.org.uk/" id="LPlnk817884" previewremoved="true">http://carfax.org.uk/</a>  |<br>
PGP: E2AB1DE4          |<br>
</div>
</span></font></div>
</div>
</body>
</html>