Re: Demo -- Combining the power of Markdown, Nanotation, and Linked Data Principles for Data Access, Connectivity, and Flow

Wow, indeed! This is an interesting and compelling demo. Thanks for
sharing.👊

Stepping back and looking upstream, a couple of questions pop into mind:

1- how much did it cost OpenAI/ChatGPT to respond to this I/O session
(rhetorically speaking, since we don’t know except that it’s a very
expensive data model, processing-wise; see article link below).

2- how much did Wikipedia, DBpedia et al get compensated for their
contribution to this series of responses? (The answer is likely nil, since
they were unwitting ‘participants’ in the training process).

3- how much would you be willing to pay for ongoing Developer access?
(OpenAI has referenced figures in the $40K+ per month range recently).

Food for thought (ie no free lunch).

For some context see here:

https://www.wired.com/story/openai-ceo-sam-altman-the-age-of-giant-ai-models-is-already-over/



On Sat, Apr 29, 2023 at 5:27 PM adasal <adam.saltiel@gmail.com> wrote:

> Wow!
>
>
>
> On Sat, Apr 29, 2023 at 9:12 PM Kingsley Idehen <kidehen@openlinksw.com>
> wrote:
>
>> This post (which I am cross-posting to both the LOD and Semantic Web
>> lists) is an active demonstration of the following:
>>
>>    1. Markdown to HTML (prior to email send action) by my email client
>>    (Thunderbird)
>>    2. Nanotation
>>    <https://medium.com/openlink-software-blog/generating-a-semantic-web-of-linked-data-from-a-tweet-using-nanotation-aa6a969f33eb>
>>    – whereby ## {Structured Data Notation} Start ## and ## {Structured
>>    Data Notation} End ## markers are used to lift structured data from
>>    HTML documents into a Knowledge Graph for export and upload to a local
>>    filesystem or DBMS/Store that supports SPARQL INSERTs via a SPARQL Endpoint
>>    3. Linked Data Principles – naming entities, entity types, and entity
>>    relationship types using hyperlinks and describing them using RDF statements
>>
>> What follows is actual content that constitutes the demo, which is best
>> observed using a browser that includes the OpenLink Structured Data Sniffer
>> Extension (available for Chrome, Edge, and other Chromium based Browsers
>> <https://chrome.google.com/webstore/detail/openlink-structured-data/egdaiaihbdoiibopledjahjaihbmjhdj>,
>> Safari
>> <https://apps.apple.com/us/app/osds-structured-data-sniffer/id1626667826?mt=12>,
>> and Firefox
>> <https://addons.mozilla.org/en-US/firefox/addon/openlink-structured-data-sniff/>
>> ).
>>
>> *ChatGPT Transcript*
>>
>> Data Source: https://
>> www.linkedin.com/pulse/reasoning-inference-using-british-royal-family-part-idehen/
>>
>> ## Turtle Start ##
>> ## Entity Relationships
>> ### TBox
>> @prefix rel: <http://purl.org/vocab/relationship/> <http://purl.org/vocab/relationship/> .
>> @prefix owl: <http://www.w3.org/2002/07/owl#> <http://www.w3.org/2002/07/owl#> .
>>
>> rel:parentOf a owl:TransitiveProperty .
>> rel:siblingOf a owl:TransitiveProperty .
>> <#RoyalPerson> owl:equivalentClass <http://dbpedia.org/ontology/Royalty> <http://dbpedia.org/ontology/Royalty> ;
>> rdfs:subClassOf schema:Person, foaf:Person .
>>
>> ### ABox <http://dbpedia.org/resource/Prince_William_of_Wales> <http://dbpedia.org/resource/Prince_William_of_Wales> a <#RoyalPerson>, <#MalePerson> ;
>> schema:name "Prince William" ;
>> rel:siblingOf <http://dbpedia.org/resource/Prince_Harry_of_Wales> <http://dbpedia.org/resource/Prince_Harry_of_Wales> .<http://dbpedia.org/resource/Elizabeth_Bowes-Lyon> <http://dbpedia.org/resource/Elizabeth_Bowes-Lyon> a <#RoyalPerson>, <#FemalePerson> ;
>> schema:name "Queen Mother" ;
>> rel:parentOf <http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom> <http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom> .<http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom> <http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom> a <#RoyalPerson>, <#FemalePerson> ;
>> schema:name "Queen Elizabeth II" ;
>> rel:parentOf  <http://dbpedia.org/resource/Charles,_Prince_of_Wales> <http://dbpedia.org/resource/Charles,_Prince_of_Wales>,<http://dbpedia.org/resource/Anne,_Princess_Royal> <http://dbpedia.org/resource/Anne,_Princess_Royal>,
>>  <http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York> <http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York>,  <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> ;
>> rel:siblingOf <http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon> <http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon> .<http://dbpedia.org/resource/Charles,_Prince_of_Wales> <http://dbpedia.org/resource/Charles,_Prince_of_Wales> a <#RoyalPerson>, <#MalePerson> ;
>> schema:name "Prince Charles" ;
>> rel:parentOf  <http://dbpedia.org/resource/Prince_William_of_Wales> <http://dbpedia.org/resource/Prince_William_of_Wales> ,  <http://dbpedia.org/resource/Prince_Harry_of_Wales> <http://dbpedia.org/resource/Prince_Harry_of_Wales> .<http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon> <http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon> a <#RoyalPerson>, <#FemalePerson> ;
>> schema:name "Princess Margaret" . <http://dbpedia.org/resource/Anne,_Princess_Royal> <http://dbpedia.org/resource/Anne,_Princess_Royal> a <#RoyalPerson>, <#FemalePerson> ;
>> schema:name "Princess Anne" ;
>> rel:parentOf <http://dbpedia.org/resource/Peter_Phillips> <http://dbpedia.org/resource/Peter_Phillips>, <http://dbpedia.org/resource/Zara_Phillips> <http://dbpedia.org/resource/Zara_Phillips> .<http://dbpedia.org/resource/Zara_Phillips> <http://dbpedia.org/resource/Zara_Phillips> a <#RoyalPerson>, <#FemalePerson> ;
>> schema:name "Princess Zara Phillips" .<http://dbpedia.org/resource/Princess_Beatrice_of_York> <http://dbpedia.org/resource/Princess_Beatrice_of_York> a <#RoyalPerson>, <#FemalePerson> ;
>> schema:name "Princess Beatrice" .<http://dbpedia.org/resource/Princess_Eugenie_of_York> <http://dbpedia.org/resource/Princess_Eugenie_of_York> a <#RoyalPerson>, <#FemalePerson> ;
>> schema:name "Princess Eugenie" .<http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York> <http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York> a <#RoyalPerson>, <#MalePerson> ;
>> schema:name "Prince Andrew" ;
>> rel:parentOf  <http://dbpedia.org/resource/Princess_Eugenie_of_York> <http://dbpedia.org/resource/Princess_Eugenie_of_York>,  <http://dbpedia.org/resource/Princess_Beatrice_of_York> <http://dbpedia.org/resource/Princess_Beatrice_of_York> .<http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> a <#RoyalPerson>, <#MalePerson> ;
>> schema:name "Prince Edward" .<http://dbpedia.org/resource/Prince_Harry_of_Wales> <http://dbpedia.org/resource/Prince_Harry_of_Wales> a <#RoyalPerson>, <#MalePerson> ;
>> schema:name "Prince Harry" .<http://dbpedia.org/resource/Peter_Phillips> <http://dbpedia.org/resource/Peter_Phillips> a <#RoyalPerson>, <#MalePerson> ;
>> schema:name "Prince Peter Phillips" .
>>
>> # Wikidata Co-references
>> <http://dbpedia.org/resource/Prince_William_of_Wales> <http://dbpedia.org/resource/Prince_William_of_Wales> owl:sameAs <http://www.wikidata.org/entity/Q36812> <http://www.wikidata.org/entity/Q36812> .<http://dbpedia.org/resource/Prince_Harry_of_Wales> <http://dbpedia.org/resource/Prince_Harry_of_Wales> owl:sameAs <http://www.wikidata.org/entity/Q152316> <http://www.wikidata.org/entity/Q152316> .
>>  <http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom> <http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom>  owl:sameAs <http://www.wikidata.org/entity/Q9682> <http://www.wikidata.org/entity/Q9682> .<http://dbpedia.org/resource/Elizabeth_Bowes-Lyon> <http://dbpedia.org/resource/Elizabeth_Bowes-Lyon> owl:sameAs <https://www.wikidata.org/wiki/Q10633> <https://www.wikidata.org/wiki/Q10633> .<http://dbpedia.org/resource/Charles,_Prince_of_Wales> <http://dbpedia.org/resource/Charles,_Prince_of_Wales> owl:sameAs <http://www.wikidata.org/entity/Q43274> <http://www.wikidata.org/entity/Q43274> .<http://dbpedia.org/resource/Anne,_Princess_Royal> <http://dbpedia.org/resource/Anne,_Princess_Royal> owl:sameAs <http://www.wikidata.org/entity/Q151754> <http://www.wikidata.org/entity/Q151754> . <http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York> <http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York> owl:sameAs <http://www.wikidata.org/entity/Q153330> <http://www.wikidata.org/entity/Q153330> . <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex>  owl:sameAs <http://www.wikidata.org/entity/Q154920> <http://www.wikidata.org/entity/Q154920> .<http://dbpedia.org/resource/Peter_Phillips> <http://dbpedia.org/resource/Peter_Phillips> owl:sameAs <http://www.wikidata.org/entity/Q344908> <http://www.wikidata.org/entity/Q344908> .<http://dbpedia.org/resource/Zara_Phillips> <http://dbpedia.org/resource/Zara_Phillips> owl:sameAs <http://www.wikidata.org/entity/Q147663> <http://www.wikidata.org/entity/Q147663> .<http://dbpedia.org/resource/Princess_Eugenie_of_York> <http://dbpedia.org/resource/Princess_Eugenie_of_York> owl:sameAs <http://www.wikidata.org/entity/Q165709> <http://www.wikidata.org/entity/Q165709> .<http://dbpedia.org/resource/Princess_Beatrice_of_York> <http://dbpedia.org/resource/Princess_Beatrice_of_York> owl:sameAs <http://www.wikidata.org/entity/Q165657> <http://www.wikidata.org/entity/Q165657> .
>> ## Turtle End ##
>>
>> Q: Given the Knowledge Graph above, and the nature of relations defined
>> in the TBox section, present all siblings (denoted by their Wikidata
>> identifiers, as presented in the ABox section of the dataset) in a markdown
>> formatted table comprising Name and Wikidata ID and DBpedia ID columns –
>> represented using Markdown in a code-block that includes ## Markdown Start
>> ## and ## Markdown End ##
>>
>> A:
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Prince William http://www.wikidata.org/entity/Q36812
>> http://dbpedia.org/resource/Prince_William_of_Wales
>> Prince Harry http://www.wikidata.org/entity/Q152316
>> http://dbpedia.org/resource/Prince_Harry_of_Wales
>> Queen Elizabeth II http://www.wikidata.org/entity/Q9682
>> http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom
>> Princess Margaret (not provided)
>> http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon
>> Prince Charles http://www.wikidata.org/entity/Q43274
>> http://dbpedia.org/resource/Charles,_Prince_of_Wales
>> Princess Anne http://www.wikidata.org/entity/Q151754
>> http://dbpedia.org/resource/Anne,_Princess_Royal
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex
>> Peter Phillips http://www.wikidata.org/entity/Q344908
>> http://dbpedia.org/resource/Peter_Phillips
>> Zara Phillips http://www.wikidata.org/entity/Q147663
>> http://dbpedia.org/resource/Zara_Phillips
>> Princess Eugenie http://www.wikidata.org/entity/Q165709
>> http://dbpedia.org/resource/Princess_Eugenie_of_York
>> Princess Beatrice http://www.wikidata.org/entity/Q165657
>> http://dbpedia.org/resource/Princess_Beatrice_of_York Markdown End
>>
>> Q: Repeat, but for the entity denoted by
>> http://www.wikidata.org/entity/Q43274 .
>> A:
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Queen Elizabeth II https://www.wikidata.org/wiki/Q9682
>> http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom
>> Princess Margaret (not provided)
>> http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon Markdown
>> End
>>
>> *Wrong!!*
>>
>> Q: Sure, bearing in mind the equivalence semantics of owl:sameAs
>> attributes?
>> A:
>> *Apologies for the oversight in considering the owl:sameAs attributes.
>> Here is the requested information formatted as a Markdown table, listing
>> the siblings of the entity denoted by http://www.wikidata.org/entity/Q43274
>> <http://www.wikidata.org/entity/Q43274> (Prince Charles) with their names,
>> Wikidata IDs, and DBpedia IDs, taking into account the owl:sameAs
>> attributes*:
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Queen Elizabeth II https://www.wikidata.org/wiki/Q9682
>> http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom
>> Princess Margaret (not provided)
>> http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon Markdown
>> End
>>
>> *Wrong!!*
>>
>> Q: Sure?
>> A:
>> *Apologies for my previous responses. I misunderstood your request. Here
>> is the correct information formatted as a Markdown table, listing the
>> siblings of the entity denoted by http://www.wikidata.org/entity/Q43274
>> <http://www.wikidata.org/entity/Q43274> (Prince Charles) with their names,
>> Wikidata IDs, and DBpedia IDs, taking into account the owl:sameAs
>> attributes*:
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Princess Anne http://www.wikidata.org/entity/Q151754
>> http://dbpedia.org/resource/Anne,_Princess_Royal
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex Markdown End
>>
>> Q: Repeat, but for the nieces of the entity denoted by
>> http://www.wikidata.org/entity/Q154920
>> A:
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Princess Beatrice http://www.wikidata.org/entity/Q165657
>> http://dbpedia.org/resource/Princess_Beatrice_of_York
>> Princess Eugenie http://www.wikidata.org/entity/Q165709
>> http://dbpedia.org/resource/Princess_Eugenie_of_York
>> Zara Phillips http://www.wikidata.org/entity/Q147663
>> http://dbpedia.org/resource/Zara_Phillips Markdown End
>>
>> Q:
>> Repeat, but for Aunties – adding an Aunty Of Column for Nephews or Nieces.
>> A:
>> *Here is the requested information formatted as a Markdown table, listing
>> the aunties of the entity denoted by http://www.wikidata.org/entity/Q154920
>> <http://www.wikidata.org/entity/Q154920> (Prince Edward) with their names,
>> Wikidata IDs, DBpedia IDs, and the nieces or nephews they are aunties of:*
>> Markdown Start
>> Name Wikidata ID DBpedia ID Auntie Of (Nephews or Nieces)
>> Princess Anne http://www.wikidata.org/entity/Q151754
>> http://dbpedia.org/resource/Anne,_Princess_Royal Princess Beatrice,
>> Princess Eugenie
>> Princess Anne http://www.wikidata.org/entity/Q151754
>> http://dbpedia.org/resource/Anne,_Princess_Royal Zara Phillips Markdown
>> End
>>
>> ** Wrong !!***
>>
>> Q:
>> Sure?
>>
>> A:
>> ** Wrong !!**
>>
>> Q:
>> Repeat, but listing all the royal Uncles
>>
>> A:
>> Markdown Start
>> Name Wikidata ID DBpedia ID Uncle Of (Nephews or Nieces)
>> Prince Charles http://www.wikidata.org/entity/Q43274
>> http://dbpedia.org/resource/Charles,_Prince_of_Wales Prince William,
>> Prince Harry
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York Princess
>> Beatrice, Princess Eugenie
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex Zara Phillips,
>> Peter Phillips
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex Princess
>> Beatrice, Princess Eugenie
>> Prince Charles http://www.wikidata.org/entity/Q43274
>> http://dbpedia.org/resource/Charles,_Prince_of_Wales Zara Phillips,
>> Peter Phillips
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York Zara Phillips,
>> Peter Phillips Markdown End
>>
>> ** Wrong !!!**
>>
>> Q: Sure?
>>
>> A:
>> Markdown Start
>> Name Wikidata ID DBpedia ID Uncle Of (Nephews or Nieces)
>> Prince Charles http://www.wikidata.org/entity/Q43274
>> http://dbpedia.org/resource/Charles,_Prince_of_Wales Prince William,
>> Prince Harry
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York Prince William,
>> Prince Harry
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex Prince
>> William, Prince Harry
>> Prince Charles http://www.wikidata.org/entity/Q43274
>> http://dbpedia.org/resource/Charles,_Prince_of_Wales Zara Phillips,
>> Peter Phillips
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York Zara Phillips,
>> Peter Phillips
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex Zara Phillips,
>> Peter Phillips Markdown End
>>
>> ** Wrong !!!**
>>
>> Q: Repeat, but for all Grandchildren of the entity denoted by
>> https://www.wikidata.org/wiki/Q10633 .
>>
>> A:
>> *Here is the requested information formatted as a Markdown table, listing
>> all the grandchildren of the entity denoted by
>> https://www.wikidata.org/wiki/Q10633 <http://www.wikidata.org/wiki/Q10633>
>> (Elizabeth Bowes-Lyon) along with their names, Wikidata IDs, and DBpedia
>> IDs:*
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Prince Charles http://www.wikidata.org/entity/Q43274
>> http://dbpedia.org/resource/Charles,_Prince_of_Wales
>> Princess Anne http://www.wikidata.org/entity/Q151754
>> http://dbpedia.org/resource/Anne,_Princess_Royal
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex Markdown End
>>
>> Q: Repeat, but for all the Great Granchildren of the entity denoted by
>> https://www.wikidata.org/wiki/Q10633 .
>>
>> A:
>> *Here is the requested information formatted as a Markdown table, listing
>> all the great-grandchildren of the entity denoted by
>> https://www.wikidata.org/wiki/Q10633 <http://www.wikidata.org/wiki/Q10633>
>> (Elizabeth Bowes-Lyon) along with their names, Wikidata IDs, and DBpedia
>> IDs:*
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Prince William http://www.wikidata.org/entity/Q36812
>> http://dbpedia.org/resource/Prince_William_of_Wales
>> Prince Harry http://www.wikidata.org/entity/Q152316
>> http://dbpedia.org/resource/Prince_Harry_of_Wales
>> Peter Phillips http://www.wikidata.org/entity/Q344908
>> http://dbpedia.org/resource/Peter_Phillips
>> Zara Phillips http://www.wikidata.org/entity/Q147663
>> http://dbpedia.org/resource/Zara_Phillips
>> Princess Beatrice http://www.wikidata.org/entity/Q165657
>> http://dbpedia.org/resource/Princess_Beatrice_of_York
>> Princess Eugenie http://www.wikidata.org/entity/Q165709
>> http://dbpedia.org/resource/Princess_Eugenie_of_York Markdown End
>>
>> Q: Repeat, but for all the descendants of the entity denoted by
>> http://www.wikidata.org/entity/Q9682 .
>>
>> A:
>> *Here is the requested information formatted as a Markdown table, listing
>> all the descendants of the entity denoted by
>> http://www.wikidata.org/entity/Q9682 <http://www.wikidata.org/entity/Q9682>
>> (Queen Elizabeth II) along with their names, Wikidata IDs, and DBpedia IDs:*
>> Markdown Start
>> Name Wikidata ID DBpedia ID
>> Prince Charles http://www.wikidata.org/entity/Q43274
>> http://dbpedia.org/resource/Charles,_Prince_of_Wales
>> Princess Anne http://www.wikidata.org/entity/Q151754
>> http://dbpedia.org/resource/Anne,_Princess_Royal
>> Prince Andrew http://www.wikidata.org/entity/Q153330
>> http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York
>> Prince Edward http://www.wikidata.org/entity/Q154920
>> http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex
>> Prince William http://www.wikidata.org/entity/Q36812
>> http://dbpedia.org/resource/Prince_William_of_Wales
>> Prince Harry http://www.wikidata.org/entity/Q152316
>> http://dbpedia.org/resource/Prince_Harry_of_Wales
>> Peter Phillips http <http://www.wikidata.org/entity/Q344908>
>>
> --
David McDonell

ICONICLOUD —
"Illuminating the cloud"

M: 703-864-1203
EM: david@iconicloud.com

Received on Sunday, 30 April 2023 01:53:59 UTC