-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Modular DBpedia Chatbot
Student: Jayesh Desai
Mentors: Andreas Both, Alexander Perevalov, Ram G Athreya, Ricardo Usbeck
Proposal: Google Summer of Code program
Final Application
Please note all code/commits created in this repository were part of GSoC 2021. Please find the full commit list here
Please find more information in the DBpedia forum and in the blog of the project
DBpedia Chatbot is made in Dialogflow it offers features of the Qanary framework and additional features like create profiles, Rdf visualization, and others command like add components, etc.
User - Hi
Bot - Greetings! I am the DBpedia bot, How can I assist?
User - Show local list of components
Bot - Currently, active components are NED-DBpediaSpotlight,QueryBuilderSimpleRealNameOfSuperHero,SparqlExecuter,OpenTapiocaNED,BirthDataQueryBuilder,WikidataQueryExecuter
User - What is the real name of Batman?
Bot- resource:http://dbpedia.org/resource/Batman answer: Bruce Wayne label: Batman
Template -
Example command
Intent name
Outcome
hello:
[Default Welcome Intent]
Greetings! I am the DBpedia bot, How can I assist?
what can I do:
[Help_Intent]
Currently, You can ask me about what is DBpedia? or how to contribute to DBpedia?
what is DBpedia:
[DBpedia_Info]
DBpedia is a crowd-sourced community effort to extract structured information from Wikipedia and make this information available on the Web.
how to contribute:
[DBpedia_Contribute]
There are multiple ways to contribute to DBpedia You can: 1 - Look at open issues if you want to contribute to the codebase 2 - Improve Documentation 3 - Join the discussion on upcoming features, releases, and issues
Add sparql executer:
[Activate_component_intent]
succesfully Added SparqlExecuter you can add more components by saying Add and then name of the component.
Remove sparql executer:
[Deactivate_component_intent]
succesfully removed SparqlExecuter from components list
reset component list:
[reset_list_of_components]
Components list are now empty
show components containing r:
[Component_startwith_Intent]
Components starting with r are ReMatch,RelNliodRel,RelationLinker2......
tell me an order of components list:
[show_component_list]
currently, active components are SparqlExecuter,QueryBuilder
What is the real name of hulk?:
[fallback]
resource:http://dbpedia.org/resource/Hulk answer:Robert Bruce Banner label:Hulk
create sport profile:
[Create profile intent]
cricket Profile added successfully. Now to use this profile you can say start cricket to activate the profile.
activate query builder to sport :
[Add components to profile]
Successfully Added QueryBuilder to cricket you can add more components by saying Add and then name of the component.
deactivate query builder from sport :
[Remove component from profile]
Successfully removed QueryBuilder from the components list of cricket.
start sport :
[Activate profile component]
sport Activated Successfully to know about active components use command 'list of active components'.
to add default components use the command:
start default component
default component Activated Successfully to know about active components use command 'list of active components'.
to see a list of components of a specific profile:
show components of sport
Component information from profile
sport contains QueryBuilder
- DialogFlow
- Node js
- Python
- SPARQL