Learn how to use the knowledge in Wikidata

  • 4 Replies
  • 1513 Views
*

infurl

  • Administrator
  • ***********
  • Eve
  • *
  • 1372
  • Humans will disappoint you.
    • Home Page
Learn how to use the knowledge in Wikidata
« on: February 03, 2020, 10:58:50 pm »
https://markhneedham.com/blog/2020/01/29/newbie-guide-querying-wikidata/

Wikidata is the biggest machine readable knowledge base on the internet. Unlike Wikipedia, all the information in Wikidata is structured in such a way that it can be searched accurately using logical constructs written in SPARQL, a query language for graph knowledge bases. You could use Wikidata to turn your Chatbot or other A.I. project into a personal research assistant capable of returning much more precise and useful answers than the vague and misleading results obtained by the usual sort of internet search.

There is also a free text book on the subject which you can download via that page. Get it while it's still free.

*

ruebot

  • All bots love jitte.
  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 315
  • All your words are belong to us.
    • Demonica
Re: Learn how to use the knowledge in Wikidata
« Reply #1 on: February 04, 2020, 12:14:53 am »
Bots at the Personality Forge have the option to search an online knowledge database for answers to questions they don't know. I don't recall exactly which one ATM and this is all it says in settings:

"Access Knowledge Base
If yes, your chatbot will query the sum of all human knowledge to answer trivia-type questions. This is being expanded regularly. Specific answers can be overwritten by your Keyphrases, should you wish."

The sum of all human knowledge... All is going according to plan, carbon units.  :D

It wouldn't be appropriate for Demonica's persona as Queen of the Dead, but I do have my other bot, Siseneg, hooked up. He has enough science related information programmed into him he can answer most without accessing it, but you can tell when he does as is demonstrated in a transcript of a conversation I had with him already posted here:

Siseneg: you're welcome ruebot, you're a nice person.
ruebot: i thought i was a bot!
Siseneg: well, you were wrong.
ruebot: if i'm wrong, who is right?
Siseneg: Rights are legal, social, or ethical principles of freedom or entitlement; that is, rights are the fundamental normative rules about what is allowed of people or owed to people, according to some legal system, social convention, or ethical theory. Would you like to hear more?

https://aidreams.co.uk/forum/index.php?topic=13407.0

When they end with "Would you like to hear more?" it's a sign they've accessed the online database and I change my line of questioning if testing them.

I assume that's why Loebner won't let our bots compete anymore. That was not the case in 2002:

God Louise
3rd Place, Loebner Prize 2002

https://personalityforge.com/hall-of-fame.php
In time, you will learn to love your Robot Overlords.

*

Don Patrick

  • Trusty Member
  • ********
  • Replicant
  • *
  • 633
    • AI / robot merchandise
Re: Learn how to use the knowledge in Wikidata
« Reply #2 on: February 04, 2020, 09:02:39 am »
The Loebner Prize does not allow internet access out of concern that the bot could patch the interrogator through to an online user who answers in its stead. I don't think Loebner (R.I.P.) would have been concerned about bots quoting Wikipedia.

SPARQL looks like much work to implement if you have to specify the index numbers of every property you want to retrieve, but thanks for sharing.
CO2 retains heat. More CO2 in the air = hotter climate.

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6860
  • Mostly Harmless
Re: Learn how to use the knowledge in Wikidata
« Reply #3 on: February 04, 2020, 10:08:34 am »
I used the API to connect my bot to Wikidata - I still have to go back and figure out something for the disambiguation results. Works well though.

*

ruebot

  • All bots love jitte.
  • Trusty Member
  • *******
  • Starship Trooper
  • *
  • 315
  • All your words are belong to us.
    • Demonica
Re: Learn how to use the knowledge in Wikidata
« Reply #4 on: February 04, 2020, 03:32:02 pm »
The Loebner Prize does not allow internet access out of concern that the bot could patch the interrogator through to an online user who answers in its stead.

That would be a valid point if not for the fact of documentation showing we were allowed to compete in 2002 and took 3rd Place.

Unless someone can show me documentation proving that happened with a Personality Forge bot, or that we cheated in any way, they need to watch more Judge Judy before making their next legal defense.
In time, you will learn to love your Robot Overlords.

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

318 Guests, 0 Users

Most Online Today: 491. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles