Created on 2023-04-14 16:27

Published on ---

Transcript

## 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 . 

### 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" .
## Turtle End ##

Q: Given the Knowledge Graph above, and the nature of relations defined in the TBox section, list all siblings presented in a table comprising Name and DBpedia ID columns – represented using Markdown in a code-block that includes ## Markdown Start ## and ## Markdown End ##

A:

## Markdown Start ##

NameDBpedia IDPrince WilliamAbout: William, Prince of WalesPrince HarryAbout: Prince Harry, Duke of SussexQueen Elizabeth IIAbout: Elizabeth IIPrincess MargaretAbout: Princess Margaret, Countess of SnowdonPrince CharlesAbout: Charles IIIPrincess AnneAbout: Anne, Princess RoyalPrince AndrewAbout: Prince Andrew, Duke of YorkPrince EdwardAbout: Prince Edward, Earl of WessexPrincess EugenieAbout: Princess EugeniePrincess BeatriceAbout: Princess BeatricePeter PhillipsAbout: Peter PhillipsZara PhillipsAbout: Zara Tindall

## Markdown End ##

Q: Repeat, but for the entity denoted by http://dbpedia.org/resource/Charles,_Prince_of_Wales.

A:

## Markdown Start ##

NameDBpedia IDAnne, Princess RoyalAbout: Anne, Princess RoyalPrince AndrewAbout: Prince Andrew, Duke of YorkPrince EdwardAbout: Prince Edward, Earl of Wessex## Markdown End ##

Q: Repeat, but for the nephews of the entity denoted by http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex

A:

## Markdown Start ##

NameDBpedia IDPrince WilliamAbout: William, Prince of WalesPrince HarryAbout: Prince Harry, Duke of SussexPeter PhillipsAbout: Peter Phillips## Markdown End ##

Q: Repeat, but for the nieces of the entity denoted by http://dbpedia.org/resource/Prince_Edward,_Earl_of_Wessex

A:

## Markdown Start ##

NameDBpedia IDZara PhillipsAbout: Zara TindallPrincess BeatriceAbout: Princess BeatricePrincess EugenieAbout: Princess Eugenie## Markdown End ##

Q:

Redo, but for Aunties – adding an Aunty Of Column for Nephews or Nieces.

A:

## Markdown Start ##

NameDBpedia IDAunty OfPrincess MargaretAbout: Princess Margaret, Countess of SnowdonCharles, Prince of Wales; Anne, Princess Royal; Prince Andrew, Duke of York; Prince Edward, Earl of WessexPrincess AnneAbout: Anne, Princess RoyalPrince William of Wales, Prince Harry of WalesPrincess BeatriceAbout: Princess BeatricePeter Phillips, Zara PhillipsPrincess EugenieAbout: Princess EugeniePeter Phillips, Zara PhillipsZara PhillipsAbout: Zara TindallPrincess Beatrice of York, Princess Eugenie of York

## Markdown End ##

Q:

Redo, but for all Uncles – adding an Aunty Of Column for Nephews or Nieces.

Q: You sure?

A:

## Markdown Start ##

NameDBpedia IDUncle OfPrince CharlesAbout: Charles IIIPrince William of Wales, Prince Harry of Wales, Peter Phillips, Zara Phillips, Princess Beatrice of York, Princess Eugenie of YorkPrince AndrewAbout: Prince Andrew, Duke of YorkPrince William of Wales, Prince Harry of Wales, Peter Phillips, Zara PhillipsPrince EdwardAbout: Prince Edward, Earl of WessexPrince William of Wales, Prince Harry of Wales, Peter Phillips, Zara Phillips, Princess Beatrice of York, Princess Eugenie of York

## Markdown End ##

Q: Repeat, but for all Grandchildren of the entity denoted by http://dbpedia.org/resource/Elizabeth_Bowes-Lyon

A:

## Markdown Start ##

NameDBpedia IDPrince CharlesAbout: Charles IIIAnne, Princess RoyalAbout: Anne, Princess RoyalPrince Andrew, Duke of YorkAbout: Prince Andrew, Duke of YorkPrince Edward, Earl of WessexAbout: Prince Edward, Earl of Wessex## Markdown End ##

Q: Repeat, but for all the Great Granchildren of the entity denoted by http://dbpedia.org/resource/Elizabeth_Bowes-Lyon

A:

## Markdown Start ##

NameDBpedia IDPrince WilliamAbout: William, Prince of WalesPrince HarryAbout: Prince Harry, Duke of SussexPeter PhillipsAbout: Peter PhillipsZara PhillipsAbout: Zara TindallPrincess BeatriceAbout: Princess BeatricePrincess EugenieAbout: Princess Eugenie## Markdown End ##

Q: Repeat, but for all the descendants of the entity denoted by http://dbpedia.org/resource/Elizabeth_II_of_the_United_Kingdom

A:

## Markdown Start ##

NameDBpedia IDRelation to Elizabeth IIPrince CharlesAbout: Charles IIISonAnne, Princess RoyalAbout: Anne, Princess RoyalDaughterPrince Andrew, Duke of YorkAbout: Prince Andrew, Duke of YorkSonPrince Edward, Earl of WessexAbout: Prince Edward, Earl of WessexSonPrince WilliamAbout: William, Prince of WalesGrandsonPrince HarryAbout: Prince Harry, Duke of SussexGrandsonPeter PhillipsAbout: Peter PhillipsGrandsonZara PhillipsAbout: Zara TindallGranddaughterPrincess BeatriceAbout: Princess BeatriceGranddaughterPrincess EugenieAbout: Princess EugenieGranddaughter## Markdown End ##

Comments

Different day, more accurate results!


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!