Re:How do I build a chatbot?
by sirofjelly on Thursday October 06, 2022 @12:28PM
(#33110359)
At the moment I do have a knowledge graph in a .tsv and .nt format.
With lines such as: <http://www.wikidata.org/entity/Q25136425> <http://www.w3.org/2000/01/rdf-schema#label> Ghost Town
I have done RDF similarity queries with queries similar to
where ?s1 is bound to the input movie. That will count the number of shared attributes such as director, actor, year, tagged genre, etc. you can do better if you weight it so po’s that are less common contribute more to the score. Against dbpedia that heuristic does very well for most subjects.