Created
November 5, 2013 17:15
-
-
Save tgalery/7322550 to your computer and use it in GitHub Desktop.
Sample Frequency table split by relationship direction. It also detects whether there are relationship types that appear in both directions.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Printing Frequency Table for sponge bob => /m/07vqnc | |
{ 'incoming': { u'appears_in': 15, | |
u'created': 1, | |
u'subject': 2, | |
u'type_rel': 5}, | |
'outgoing': { u'adaptation': 1, | |
u'certification': 3, | |
u'contributor': 16, | |
u'genre': 18, | |
u'notable': 1, | |
u'part': 20}} | |
Printing Frequency Table for nickelodeon => /m/0146mv | |
{ 'incoming': { u'created': 1, u'genre': 44, u'part': 2, u'type_rel': 11}, | |
'outgoing': { u'category': 1, | |
u'certification': 5, | |
u'created': 3, | |
u'leader': 1, | |
u'member': 2, | |
u'notable': 1, | |
u'owns': 1, | |
u'produced': 2}} | |
These relationships appear in both directions. | |
created | |
Printing Frequency Table for film => /m/02vxn | |
{ 'incoming': { u'created': 1, | |
u'genre': 29, | |
u'notable': 127, | |
u'subject': 372, | |
u'type_rel': 23}, | |
'outgoing': { u'notable': 2, u'practitioner': 414, u'type_rel': 2}} | |
These relationships appear in both directions. | |
type_rel | |
notable | |
Printing Frequency Table for universl studios => /m/016tw3 | |
{ 'incoming': { u'contributor': 632, | |
u'created': 1, | |
u'practitioner': 1, | |
u'subject': 4, | |
u'type_rel': 12}, | |
'outgoing': { u'created': 1, u'notable': 2, u'produced': 4}} | |
These relationships appear in both directions. | |
created | |
Printing Frequency Table for rugby union => /m/06br8 | |
{ 'incoming': { u'notable': 485, u'subject': 1, u'type_rel': 3}, | |
'outgoing': { u'member': 2, u'notable': 1, u'practitioner': 1230}} | |
These relationships appear in both directions. | |
notable | |
Printing Frequency Table for Newcastle Falcons => /m/02dktx | |
{ 'incoming': { u'practitioner': 1, u'type_rel': 2}, 'outgoing': { u'member': 92}} | |
Printing Frequency Table for sheffield => /m/0m75g | |
{ 'incoming': { u'part': 3, u'tookplace_at': 3, u'type_rel': 11}, | |
'outgoing': { u'notable': 1, u'part': 210}} | |
These relationships appear in both directions. | |
part | |
Printing Frequency Table for yorkshire => /m/094vy | |
{ 'incoming': { u'part': 2, u'tookplace_at': 9, u'type_rel': 8}, | |
'outgoing': { u'notable': 1, u'part': 14}} | |
These relationships appear in both directions. | |
part | |
Printing Frequency Table for claire balding => /m/07s3_k | |
{ 'incoming': { u'contributor': 8, | |
u'member': 5, | |
u'practitioner': 4, | |
u'type_rel': 5}, | |
'outgoing': { u'certification': 1, u'notable': 1, u'parent': 1}} | |
Printing Frequency Table for BT group => /m/01g_3 | |
{ 'incoming': { u'practitioner': 1, u'type_rel': 9}, | |
'outgoing': { u'member': 2, u'notable': 1}} | |
Printing Frequency Table for mourihno => /m/0378hn | |
{ 'incoming': { u'contributor': 2, | |
u'influenced': 1, | |
u'leader': 6, | |
u'member': 4, | |
u'practitioner': 2, | |
u'type_rel': 5}, | |
'outgoing': { u'notable': 2}} | |
Printing Frequency Table for football => /m/02vx4 | |
{ 'incoming': { u'genre': 143, | |
u'notable': 30151, | |
u'sports': 23, | |
u'subject': 104, | |
u'type_rel': 17}, | |
'outgoing': { u'broader_than': 3, | |
u'member': 5, | |
u'notable': 1, | |
u'practitioner': 9142}} | |
These relationships appear in both directions. | |
notable | |
Printing Frequency Table for united states => /m/09c7w0 | |
{ 'incoming': { u'certification': 1, | |
u'exhibited': 1, | |
u'member': 1, | |
u'occurs_in': 187, | |
u'part': 8, | |
u'participant': 3, | |
u'subject': 772, | |
u'tookplace_at': 117, | |
u'type_rel': 33}, | |
'outgoing': { u'administers': 3, | |
u'broader_than': 1, | |
u'category': 1, | |
u'center': 1, | |
u'created': 2, | |
u'leader': 3, | |
u'notable': 1, | |
u'owns': 1, | |
u'part': 39306, | |
u'participant': 24, | |
u'practitioner': 1}} | |
These relationships appear in both directions. | |
part | |
participant | |
Printing Frequency Table for new york => /m/059rby | |
{ 'incoming': { u'occurs_in': 6, | |
u'part': 2, | |
u'subject': 9, | |
u'tookplace_at': 34, | |
u'type_rel': 19}, | |
'outgoing': { u'notable': 1, u'part': 4254}} | |
These relationships appear in both directions. | |
part | |
Printing Frequency Table for premir league => /m/02_tc | |
{ 'incoming': { u'abstraction': 3, u'practitioner': 1, u'type_rel': 5}, | |
'outgoing': { u'leader': 1, u'member': 24, u'notable': 1}} | |
Printing Frequency Table for Stoke City F.C => /m/01cwm1 | |
{ 'incoming': { u'member': 1, | |
u'participant': 2, | |
u'practitioner': 1, | |
u'type_rel': 2}, | |
'outgoing': { u'center': 1, u'leader': 3, u'member': 1135, u'notable': 1}} | |
These relationships appear in both directions. | |
member | |
Thiagos-MacBook-Pro:~ Thiago$ clear | |
Thiagos-MacBook-Pro:~ Thiago$ python cluster_of_interest.py | |
Printing Frequency Table for sponge bob => /m/07vqnc | |
{ 'incoming': { u'appears_in': 15, | |
u'created': 1, | |
u'subject': 2, | |
u'type_rel': 5}, | |
'outgoing': { u'adaptation': 1, | |
u'certification': 3, | |
u'contributor': 16, | |
u'genre': 18, | |
u'notable': 1, | |
u'part': 20}} | |
Printing Frequency Table for nickelodeon => /m/0146mv | |
{ 'incoming': { u'created': 1, u'genre': 44, u'part': 2, u'type_rel': 11}, | |
'outgoing': { u'category': 1, | |
u'certification': 5, | |
u'created': 3, | |
u'leader': 1, | |
u'member': 2, | |
u'notable': 1, | |
u'owns': 1, | |
u'produced': 2}} | |
These relationships appear in both directions. | |
created | |
Printing Frequency Table for film => /m/02vxn | |
{ 'incoming': { u'created': 1, | |
u'genre': 29, | |
u'notable': 127, | |
u'subject': 372, | |
u'type_rel': 23}, | |
'outgoing': { u'notable': 2, u'practitioner': 414, u'type_rel': 2}} | |
These relationships appear in both directions. | |
type_rel | |
notable | |
Printing Frequency Table for universl studios => /m/016tw3 | |
{ 'incoming': { u'contributor': 632, | |
u'created': 1, | |
u'practitioner': 1, | |
u'subject': 4, | |
u'type_rel': 12}, | |
'outgoing': { u'created': 1, u'notable': 2, u'produced': 4}} | |
These relationships appear in both directions. | |
created | |
Printing Frequency Table for rugby union => /m/06br8 | |
{ 'incoming': { u'notable': 485, u'subject': 1, u'type_rel': 3}, | |
'outgoing': { u'member': 2, u'notable': 1, u'practitioner': 1230}} | |
These relationships appear in both directions. | |
notable | |
Printing Frequency Table for Newcastle Falcons => /m/02dktx | |
{ 'incoming': { u'practitioner': 1, u'type_rel': 2}, 'outgoing': { u'member': 92}} | |
Printing Frequency Table for sheffield => /m/0m75g | |
{ 'incoming': { u'part': 3, u'tookplace_at': 3, u'type_rel': 11}, | |
'outgoing': { u'notable': 1, u'part': 210}} | |
These relationships appear in both directions. | |
part | |
Printing Frequency Table for yorkshire => /m/094vy | |
{ 'incoming': { u'part': 2, u'tookplace_at': 9, u'type_rel': 8}, | |
'outgoing': { u'notable': 1, u'part': 14}} | |
These relationships appear in both directions. | |
part | |
Printing Frequency Table for claire balding => /m/07s3_k | |
{ 'incoming': { u'contributor': 8, | |
u'member': 5, | |
u'practitioner': 4, | |
u'type_rel': 5}, | |
'outgoing': { u'certification': 1, u'notable': 1, u'parent': 1}} | |
Printing Frequency Table for BT group => /m/01g_3 | |
{ 'incoming': { u'practitioner': 1, u'type_rel': 9}, | |
'outgoing': { u'member': 2, u'notable': 1}} | |
Printing Frequency Table for mourihno => /m/0378hn | |
{ 'incoming': { u'contributor': 2, | |
u'influenced': 1, | |
u'leader': 6, | |
u'member': 4, | |
u'practitioner': 2, | |
u'type_rel': 5}, | |
'outgoing': { u'notable': 2}} | |
Printing Frequency Table for football => /m/02vx4 | |
{ 'incoming': { u'genre': 143, | |
u'notable': 30151, | |
u'sports': 23, | |
u'subject': 104, | |
u'type_rel': 17}, | |
'outgoing': { u'broader_than': 3, | |
u'member': 5, | |
u'notable': 1, | |
u'practitioner': 9142}} | |
These relationships appear in both directions. | |
notable | |
Printing Frequency Table for united states => /m/09c7w0 | |
{ 'incoming': { u'certification': 1, | |
u'exhibited': 1, | |
u'member': 1, | |
u'occurs_in': 187, | |
u'part': 8, | |
u'participant': 3, | |
u'subject': 772, | |
u'tookplace_at': 117, | |
u'type_rel': 33}, | |
'outgoing': { u'administers': 3, | |
u'broader_than': 1, | |
u'category': 1, | |
u'center': 1, | |
u'created': 2, | |
u'leader': 3, | |
u'notable': 1, | |
u'owns': 1, | |
u'part': 39306, | |
u'participant': 24, | |
u'practitioner': 1}} | |
These relationships appear in both directions. | |
part | |
participant | |
Printing Frequency Table for new york => /m/059rby | |
{ 'incoming': { u'occurs_in': 6, | |
u'part': 2, | |
u'subject': 9, | |
u'tookplace_at': 34, | |
u'type_rel': 19}, | |
'outgoing': { u'notable': 1, u'part': 4254}} | |
These relationships appear in both directions. | |
part | |
Printing Frequency Table for premir league => /m/02_tc | |
{ 'incoming': { u'abstraction': 3, u'practitioner': 1, u'type_rel': 5}, | |
'outgoing': { u'leader': 1, u'member': 24, u'notable': 1}} | |
Printing Frequency Table for Stoke City F.C => /m/01cwm1 | |
{ 'incoming': { u'member': 1, | |
u'participant': 2, | |
u'practitioner': 1, | |
u'type_rel': 2}, | |
'outgoing': { u'center': 1, u'leader': 3, u'member': 1135, u'notable': 1}} | |
These relationships appear in both directions. | |
member |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment