GithubHelp home page GithubHelp logo

knowledge-graph-api's Introduction

knowledge-graph-api

Freebase

Further background on Freebase and the deprecated Freebase APIs is available in my freebase-mql repository. The KG API is a successor to the functionality once offered by the Freebase APIs.

Google Knowledge Graph

Google's Knowledge Graph is an internal knowledge base of linked data that draws from a wide range of sources for its data. The aforementioned Freebase database was one of the data sources.

The Knowledge Graph allows the search engine to serve up the rich Knowledge Cards that take up the right side of many notable search results.

The current KG API has more limited search capabilities compared to the previous Freebase API. It's currently not possible to craft queries (as was done in MQL) that return a sub-graph of Freebase topics. The best alternative will be to use the unique identifier (Freebase mid) and join it with other data, such as the growing volume on Wikidata.

An example query:

$ python kg-api.py 'google'
Google
 - entity_types: Thing, Organization, Corporation
 - description: Technology company
 - detailed_description: Google is an American multinational technology company specializing in Internet-related services and...
 - identifier: kg:/m/045c7b
 - url: N/A
 - resultScore: 287.675293

Google X
 - entity_types: EducationalOrganization, Corporation, Organization, Thing
 - description: Corporation
 - detailed_description: X, previously Google X, is a semi-secret research and development facility created by Google and ope...
 - identifier: kg:/m/0hhrhd0
 - url: N/A
 - resultScore: 47.670715

Googleplex
 - entity_types: Thing, Place
 - description: Building complex
 - detailed_description: The Googleplex is the corporate headquarters complex of Google, Inc., located at 1600 Amphitheatre P...
 - identifier: kg:/m/03bby1
 - url: http://www.google.com/about/jobs/locations/mountain-view/
 - resultScore: 44.866741

Sources

Announcements

Many Freebase and Knowledge Graph related updates are posted on the once active freebase-discuss Google Group and the Google+ community.

Freebase

Knowledge Graph

Google Developers Resources

Freebase APIs

Knowledge Graph Search APIs

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.