Skip to content

Instantly share code, notes, and snippets.

@tgalery
Created November 5, 2013 15:59
Show Gist options
  • Save tgalery/7321285 to your computer and use it in GitHub Desktop.
Save tgalery/7321285 to your computer and use it in GitHub Desktop.
Result of building a frequency table for a node.
Printing Frequency Table for sponge bob => /m/07vqnc
{ u'adaptation': 1,
u'appears_in': 15,
u'certification': 3,
u'contributor': 16,
u'created': 1,
u'genre': 18,
u'notable': 1,
u'part': 20,
u'subject': 2,
u'type_rel': 5}
Printing Frequency Table for nickelodeon => /m/0146mv
{ u'category': 1,
u'certification': 5,
u'created': 4,
u'genre': 44,
u'leader': 1,
u'member': 2,
u'notable': 1,
u'owns': 1,
u'part': 2,
u'produced': 2,
u'type_rel': 11}
Printing Frequency Table for film => /m/02vxn
{ u'created': 1,
u'genre': 29,
u'notable': 129,
u'practitioner': 414,
u'subject': 372,
u'type_rel': 25}
Printing Frequency Table for universl studios => /m/016tw3
{ u'contributor': 632,
u'created': 2,
u'notable': 2,
u'practitioner': 1,
u'produced': 4,
u'subject': 4,
u'type_rel': 12}
Printing Frequency Table for rugby union => /m/06br8
{ u'member': 2,
u'notable': 486,
u'practitioner': 1230,
u'subject': 1,
u'type_rel': 3}
Printing Frequency Table for Newcastle Falcons => /m/02dktx
{ u'member': 92, u'practitioner': 1, u'type_rel': 2}
Printing Frequency Table for sheffield => /m/0m75g
{ u'notable': 1, u'part': 213, u'tookplace_at': 3, u'type_rel': 11}
Printing Frequency Table for yorkshire => /m/094vy
{ u'notable': 1, u'part': 16, u'tookplace_at': 9, u'type_rel': 8}
Printing Frequency Table for claire balding => /m/07s3_k
{ u'certification': 1,
u'contributor': 8,
u'member': 5,
u'notable': 1,
u'parent': 1,
u'practitioner': 4,
u'type_rel': 5}
Printing Frequency Table for BT group => /m/01g_3
{ u'member': 2, u'notable': 1, u'practitioner': 1, u'type_rel': 9}
Printing Frequency Table for mourihno => /m/0378hn
{ u'contributor': 2,
u'influenced': 1,
u'leader': 6,
u'member': 4,
u'notable': 2,
u'practitioner': 2,
u'type_rel': 5}
Printing Frequency Table for football => /m/02vx4
{ u'broader_than': 3,
u'genre': 143,
u'member': 5,
u'notable': 30152,
u'practitioner': 9142,
u'sports': 23,
u'subject': 104,
u'type_rel': 17}
Printing Frequency Table for united states => /m/09c7w0
{ u'administers': 3,
u'broader_than': 1,
u'category': 1,
u'center': 1,
u'certification': 1,
u'created': 2,
u'exhibited': 1,
u'leader': 3,
u'member': 1,
u'notable': 1,
u'occurs_in': 187,
u'owns': 1,
u'part': 39313,
u'participant': 27,
u'practitioner': 1,
u'subject': 772,
u'tookplace_at': 117,
u'type_rel': 33}
Printing Frequency Table for new york => /m/059rby
{ u'notable': 1,
u'occurs_in': 6,
u'part': 4256,
u'subject': 9,
u'tookplace_at': 34,
u'type_rel': 19}
Printing Frequency Table for premir league => /m/02_tc
{ u'abstraction': 3,
u'leader': 1,
u'member': 24,
u'notable': 1,
u'practitioner': 1,
u'type_rel': 5}
Printing Frequency Table for Stoke City F.C => /m/01cwm1
{ u'center': 1,
u'leader': 3,
u'member': 1136,
u'notable': 1,
u'participant': 2,
u'practitioner': 1,
u'type_rel': 2}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment