[Developers] Null or before now query

Kirsten Jones synedra at gmail.com
Thu Jan 3 22:15:10 UTC 2008


Developer folks,

I'm trying to get

VentureSpin has this for the date for (for example) "works at"

"to" : {
						"optional" : "forbidden",
						"value" : {
						},
					},

and this for "worked at"

"to" : {
						"optional" : "required",
						"value" : {
						},
					},


If there is an "End Date" then you don't work there anymore.  But  
Clint Hope (in Freebase) has an end date for working at AMI of 2030,  
which means he still works here - but the above query says he  
doesn't.  You can't remove the end date which is a different kind of  
FB bug, but I'm wondering how we can make a query that returns any  
instance where there is not a date before today, and which would  
include 'null'.

The query is a little difficult to debug since neither "forbidden" nor  
"required" are documented anywhere in the MQL documentation so I'm  
kind of flying blind here...

Thanks,
Kirsten


More information about the Developers mailing list