Download - ConceptNet 5
![Page 1: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/1.jpg)
1
ConceptNet 5Jason Gaines
![Page 2: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/2.jpg)
2Overview
• What Is ConceptNet 5?• History• Structure• Demonstration• Questions• Further Information
![Page 3: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/3.jpg)
3
What Is ConceptNet5
• Semantic Network (Common-Sense Knowledge)• Concepts and Relations• Weights and Sources
![Page 4: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/4.jpg)
4History
• Started by Marvin Minsky, Push Singh, and Catherine Havasi
• Open Mind Common Sense (OMCS) - MIT Media Lab Artificial Intelligence Project (1999)
• Website launched in 2000• By 2002, 700,000 English sentences from 14,000
contributors• Reorganized in 2007 ConceptNet 3• Over 1,000,000 facts from 15,000 contributors• 2013 ConceptNet 4 Takes I.Q. test
![Page 5: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/5.jpg)
5Structure
•Hypergraph•Nodes • Edges
![Page 6: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/6.jpg)
6
Structure - Hypergraph
• Generalization of a graph where an edge can connect many nodes
![Page 7: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/7.jpg)
7Structure - Nodes
•Words•Word Senses• Short Phrases
![Page 8: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/8.jpg)
8Structure - Edges
• Node to Node relationship• Data sets provide the link
![Page 9: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/9.jpg)
9
Structure – Edge Fields
• license• dataset• context• features• surfaceText
• id• uri• rel• start• end• weight• sources
![Page 10: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/10.jpg)
10Structure - URI
• /[OBJECT TYPE]/[LANG]/[CONCEPT]• Object Types /a/, /c/, /d/, /e/, /l/, /r/, /s/ ,/and and /or:
/c/en/toast
![Page 11: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/11.jpg)
11
Structure - Relations
• RelatedTo• IsA• PartOf• MemberOf• HasA• UsedFor• CapableOf• AtLocation• Causes• HasSubevent• HasFirstSubevent• HasLastSubevent
• HasPrerequisite• HasProperty• MotivatedByGoal• ObstructedBy• Desires• CreateBy• Synonym• Antonym• DerivedFrom• TranslationOf• DefinedAs
![Page 12: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/12.jpg)
12Structure - Edge
{ "endLemmas": "toast", "context": "/ctx/all", "end": "/c/en/toast", "features": [ "/c/en/bread /r/RelatedTo -", "/c/en/bread - /c/en/toast", "- /r/RelatedTo /c/en/toast" ], "license": "/l/CC/By-SA", "start": "/c/en/bread", "startLemmas": "bread", "text": [ "toast", "bread" ], "uri": "/a/[/r/RelatedTo/,/c/en/bread/,/c/en/toast/]", "weight": 8.650268, "dataset": "/d/conceptnet/5/combined-sa", "sources": [ "/or/[/and/[/s/activity/omcs/Verbosity/,/s/contributor/omcs/verbosity/]/,/s/site/verbosity/]" ], "score": 46.555122, "rel": "/r/RelatedTo", "timestamp": "2013-09-12T16:51:30.594Z", "nodes": [ "/r/RelatedTo", "/c/en/toast", "/c/en/bread" ], "id": "/e/3da69c641f2e786bd5f07043c2ef51d9f146b431", "surfaceText": "[[bread]] is related to [[toast]]" }
![Page 13: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/13.jpg)
13
Structure – Data Sources
• ConceptNet 4 (OMCS)• Wikipedia (English)• DBPedia• ReVerb
• Wiktionary (English)• WordNet• “Game With A Purpose”• Verbosity (GWAP)• Nadya.jp (Japanese)
![Page 14: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/14.jpg)
14Using ConceptNet
•Website - Web API• ConceptNet Module - Python• Dataset• Flat JSON• Solr JSON• CSV
![Page 15: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/15.jpg)
15Web API
• Representational State Transfer (REST) API
URL: http://conceptnet5.media.mit.eduRequest: “web” or “data/5.2”
Lookup: “lookup” with “limit”, “offset” and “filter”Search: “search” with edge fieldsAssociation: “assoc” with “limit” and “filter”
URI: “c/en/toast”
http://conceptnet5.media.mit.edu/data/5.2/assoc/c/en/cat?filter=/c/en/dog&limit=1
![Page 16: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/16.jpg)
16Demonstration
http://conceptnet5.media.mit.edu/web/c/en/toasthttp://conceptnet5.media.mit.edu/data/5.2/assoc/c/en/cat?filter=/c/en/dog&limit=1http://conceptnet5.media.mit.edu/data/5.2/assoc/list/en/happy,sad@-1?limit=20http://conceptnet5.media.mit.edu/data/5.2/assoc/list/en/happy,sad@-1?limit=20&filter=/c/enhttp://conceptnet5.media.mit.edu/data/5.1/c/en/off_hook
![Page 17: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/17.jpg)
17Summary
•What Is ConceptNet5?• History• Structure• Demonstration
![Page 18: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/18.jpg)
18Questions
![Page 19: ConceptNet 5](https://reader036.vdocuments.mx/reader036/viewer/2022081502/56816420550346895dd5e036/html5/thumbnails/19.jpg)
19Additional Info
• http://csc.media.mit.edu/conceptnet• http://csc.media.mit.edu/docs/conceptnet/• http://github.com/commonsense/conceptnet5/wiki• https://github.com/commonsense/conceptnet5/wiki/_
pages• http://en.wikipedia.org/wiki/Hypergraph