Wikia / ask-fandom

Your semantic data-based assistant from Wikia
MIT License
7 stars 1 forks source link

Knowledge base #14

Open macbre opened 5 years ago

macbre commented 5 years ago

Storage

SQL

Object      Property    Value
================================================
Star Wars   composer    John Williams
dynamite    inventor    Alfred Nobel
objects:
  object_id: int
  object_name: text
  object_type: text [mapped after schema.org types]

values:
  object_id: int
  property: text
  value: text
  links_to: int [points to another object, NULL - value is not "linkable"]

RDF

@prefix wikipedia: <http://en.wikipedia.org/>
@prefix starwars: <http://starwars.fandom.com/>
@prefix dbo: <http://example.org/terms/>
@prefix schema: <http://schema.org/>

starwars:Star_Wars dbo:type schema:Movie ;
    schema:composer starwars:John_Williams .
wikipedia:Dynamite dbo:inventor wikipedia:Alfred_Nobel .

<http://dbpedia.org/resource/Semantic_Web>      <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>       <http://dbpedia.org/ontology/Software> .

https://starwars.fandom.com/wiki/John_Williams / https://schema.org/composer

JSON-LD

macbre commented 5 years ago

Build vita

know, have knowledge of; vita mangt know many things

A graph-based knowledge database with data extracted from infoboxes (and later on articles content via NLP extraction) from selected wiki.

We will use this data source via API to answer question and correct possible tpyos in questions.