[Developers] CVT query question
Mike Love
mikelove1 at gmail.com
Sun Sep 2 04:07:15 UTC 2007
Hi,
I have a question on how to query through the CVT in this peer relationship:
http://www.freebase.com/view/schema/user/mikelove/default_domain/peer_relationship
I wanted to make a symmetrical analog of the influenced / influenced_by
relationship, and had to make it a CVT to get this result.
Here's a query that I would like to use:
{
"query":{
"id":null,
"influenced":[{}],
"influenced_by":[{}],
"name":"William Wordsworth",
"peers":[{}],
"type":"/user/mikelove/default_domain/influence_node"
}
}
This query below works, although it gives both names in each relationship
and the whole query comes back empty if the person had no peers:
{
"query":{
"id":null,
"influenced":[{}],
"influenced_by":[{}],
"name":"William Wordsworth",
"peers":[{
"peers":[]
}],
"type":"/user/mikelove/default_domain/influence_node"
}
}
Thanks muchly!
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20070901/ea734cd6/attachment.htm
More information about the Developers
mailing list