- From: Kingsley Idehen <kidehen@openlinksw.com>
- Date: Sat, 29 Apr 2023 16:12:44 -0400
- To: ontolog-forum@googlegroups.com
- Cc: "public-lod@w3.org" <public-lod@w3.org>, "semantic-web@w3.org" <semantic-web@w3.org>
- Message-ID: <d6d9051f-bdb1-4839-ac1e-4adad8d5f766@openlinksw.com>
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/ <http://www.linkedin.com/pulse/reasoning-inference-using-british-royal-family-part-idehen/> |## Turtle Start ## ## Entity Relationships ### TBox @prefix rel: <http://purl.org/vocab/relationship/> . @prefix 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> ; rdfs:subClassOf schema:Person, foaf:Person . ### ABox <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/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> a <#RoyalPerson>, <#FemalePerson> ; schema:name "Queen Elizabeth II" ; rel:parentOf <http://dbpedia.org/resource/Charles,_Prince_of_Wales>,<http://dbpedia.org/resource/Anne,_Princess_Royal>, <http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York>, <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> ; rel:siblingOf <http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon> . <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_Harry_of_Wales> . <http://dbpedia.org/resource/Princess_Margaret,_Countess_of_Snowdon> a <#RoyalPerson>, <#FemalePerson> ; schema:name "Princess Margaret" . <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/Zara_Phillips> . <http://dbpedia.org/resource/Zara_Phillips> a <#RoyalPerson>, <#FemalePerson> ; schema:name "Princess Zara Phillips" . <http://dbpedia.org/resource/Princess_Beatrice_of_York> a <#RoyalPerson>, <#FemalePerson> ; schema:name "Princess Beatrice" . <http://dbpedia.org/resource/Princess_Eugenie_of_York> a <#RoyalPerson>, <#FemalePerson> ; schema:name "Princess Eugenie" . <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_Beatrice_of_York> . <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> a <#RoyalPerson>, <#MalePerson> ; schema:name "Prince Edward" . <http://dbpedia.org/resource/Prince_Harry_of_Wales> a <#RoyalPerson>, <#MalePerson> ; schema:name "Prince Harry" . <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> owl:sameAs <http://www.wikidata.org/entity/Q36812> . <http://dbpedia.org/resource/Prince_Harry_of_Wales> owl:sameAs <http://www.wikidata.org/entity/Q152316> . <http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom> owl:sameAs <http://www.wikidata.org/entity/Q9682> . <http://dbpedia.org/resource/Elizabeth_Bowes-Lyon> owl:sameAs <https://www.wikidata.org/wiki/Q10633> . <http://dbpedia.org/resource/Charles,_Prince_of_Wales> owl:sameAs <http://www.wikidata.org/entity/Q43274> . <http://dbpedia.org/resource/Anne,_Princess_Royal> owl:sameAs <http://www.wikidata.org/entity/Q151754> . <http://dbpedia.org/resource/Prince_Andrew,_Duke_of_York> owl:sameAs <http://www.wikidata.org/entity/Q153330> . <http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex> owl:sameAs <http://www.wikidata.org/entity/Q154920> . <http://dbpedia.org/resource/Peter_Phillips> owl:sameAs <http://www.wikidata.org/entity/Q344908> . <http://dbpedia.org/resource/Zara_Phillips> owl:sameAs <http://www.wikidata.org/entity/Q147663> . <http://dbpedia.org/resource/Princess_Eugenie_of_York> owl:sameAs <http://www.wikidata.org/entity/Q165709> . <http://dbpedia.org/resource/Princess_Beatrice_of_York> owl:sameAs <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://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 Nanotation Effects Screenshots /RDF Turtle Statements/ osds-royals-nanotation-1|643x500 /Markdown Table/ osds-royals-nanotation-2|645x500 Final Comments Inference couldn’t accurately determine who was the uncle of whom, when query was based on Wikidata identifiers. Conclusion CHAT-GPT is primarily useful to operators that are knowledgeable in the subject-matter domain being operated on. Basically, it will dangerously mislead anyone seeking an all-answering oracle for a vacuous mind! -- Regards, Kingsley Idehen Founder & CEO OpenLink Software Home Page:http://www.openlinksw.com Community Support:https://community.openlinksw.com Weblogs (Blogs): Company Blog:https://medium.com/openlink-software-blog Virtuoso Blog:https://medium.com/virtuoso-blog Data Access Drivers Blog:https://medium.com/openlink-odbc-jdbc-ado-net-data-access-drivers Personal Weblogs (Blogs): Medium Blog:https://medium.com/@kidehen Legacy Blogs:http://www.openlinksw.com/blog/~kidehen/ http://kidehen.blogspot.com Profile Pages: Pinterest:https://www.pinterest.com/kidehen/ Quora:https://www.quora.com/profile/Kingsley-Uyi-Idehen Twitter:https://twitter.com/kidehen Google+:https://plus.google.com/+KingsleyIdehen/about LinkedIn:http://www.linkedin.com/in/kidehen Web Identities (WebID): Personal:http://kingsley.idehen.net/public_home/kidehen/profile.ttl#i :http://id.myopenlink.net/DAV/home/KingsleyUyiIdehen/Public/kingsley.ttl#this
Attachments
- application/pkcs7-signature attachment: S/MIME Cryptographic Signature
Received on Saturday, 29 April 2023 20:12:57 UTC