Querying ConceptNet5 for Concepts that fit a Concept/Relation/? Triple

87 views
Skip to first unread message

mtrc

unread,
Mar 30, 2012, 4:26:26 PM3/30/12
to conceptnet-users
Hi all,

ConceptNet really intrigues me but I'm having trouble wrapping my head
around the nature of the graph.

I understand it's basic structure, but there's one key feature I think
it probably has but that I can't figure out how to use. Let's say I've
got a concept and a relation that I know applies to it:

/concept/en/book/
/relation/UsedFor/

How do I get a list of all the concepts that are linked to book by
UsedFor?

Is it something to do with the {1} wildcards or is that not how
they're supposed to be used? Does ConceptNet actually have this as a
feature or am I misunderstanding the database?

Thanks a lot,

Mike

Rob Speer

unread,
May 9, 2012, 1:47:54 PM5/9/12
to conceptn...@googlegroups.com
Now that the ConceptNet 5.1 API is up, there's finally a good answer
for how to do this:

http://conceptnet5.media.mit.edu/data/5.1/search?rel=/r/UsedFor&start=/c/en/book

See https://github.com/commonsense/conceptnet5/wiki/API for more information.
-- Rob
> --
> You received this message because you are subscribed to the Google Groups "conceptnet-users" group.
> To post to this group, send email to conceptn...@googlegroups.com.
> To unsubscribe from this group, send email to conceptnet-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/conceptnet-users?hl=en.
>
Reply all
Reply to author
Forward
0 new messages