[Developers] [Data-modeling] is everyone married to themselves?

David Huynh dfhuynh at csail.mit.edu
Mon Dec 17 20:01:53 UTC 2007


Might this be too limiting for building generic UIs for browsing 
arbitrary social networks? Many social relationships are symmetric 
(sibling, neighbor, friend, coworker, enemy, competitor, roommate, 
officemate, wingman, companion, ...).

David

John Giannandrea wrote:
> spouse is symmetric, so its hard to eliminate the thing that you are  
> constraining by without a forward reference.
> this gets you close, but it wont deal with Hillary if she wins:
>
>    "query" : [
>      {
>        "p:spouse" : [
>          {
>            "name" : null,
>            "type" : "/government/us_president"
>          }
>        ],
>        "spouse" : [
>          {
>            "education" : [
>              {
>                "institution" : null
>              }
>            ],
>            "name" : null,
>            "type" : {
>              "id" : "/government/us_president",
>              "optional" : "forbidden"
>            }
>          }
>        ],
>        "type" : "/people/marriage"
>      }
>    ]
>
>
> Jason Douglas wrote:
>   
>> I was just trying to do a query for what schools the various U.S.
>> first ladies attended and ran into an interesting problem:
>>     
>
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>   



More information about the Developers mailing list