Skip to content

brainzest/conceptnet5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConceptNet aims to give computers access to common-sense knowledge, the kind of information that ordinary people know but usually leave unstated.

This Python package contains a toolset for loading new datasets into ConceptNet 5, and it serves the HTML and JSON Web APIs for it. You don't need it to simply access ConceptNet 5; see http://conceptnet5.media.mit.edu for more information.

If you're interested in ConceptNet, please join the conceptnet-users Google group: http://groups.google.com/group/conceptnet-users?hl=en

What we're doing here is partially documented on the Wiki: https://github.com/commonsense/conceptnet5/wiki

Design documentation

(a bit out of date; see the Wiki)

Assertions

An Assertion is a node with {'type': 'assertion'}. It's a node, not an edge, because it has to be reified.

An Assertion has "arg1", "arg2", and possibly more links pointing to concepts. It also has a "rel" link for its relation, which may be treated as an "arg0" in some contexts.

Polarity is represented by a new kind of relation (a negative relation).

The Assertion should be marked with what language it's in (English? Chinese? CycL?), and what dataset it's from (this is important so that we can sort out what data we're allowed to distribute in complex cases).

Concepts

Concepts have a standardized name ("dog") and a language ("en"). Relations are concepts.

Assertions are interchangeable with concepts, even though concepts don't have arguments, and assertions don't have names.

Expressions

An expression is like an assertion, but describes exactly how a fact is expressed in natural language.

Many of our data sources will have expressions, but not all.

Each Expression has an "assertion" link pointing to its equivalent assertion.

Knowledge sources

People, rules, and databases are knowledge sources. They should have a canonical name that's a URL. Knowledge sources can justify things.

Conjunctions

Sometimes it takes a conjunction of knowledge sources to justify things. In that case, they justify the Conjunction (an AND node), and the Conjunction justifies something else.

About

A version of ConceptNet backed by a graph database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published