<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Rob Warren wrote:</div><blockquote type="cite">I am trying to write a single query that returns all names that begin with a number for a given type (e.g. for "type" : "/base/bioventurist/science_or_technology_company", I want freebase to return 3M, 454 Life Sciences, 23andme etc.).</blockquote><div><br></div><div>in general MQL doesnt yet support 'OR' or full regular expressions.</div><div>ideally you should be able to do this with something like the following, but it doesnt currently work.</div><div>I have filed a feature request for MQL to support this. MQL-468</div><div><br></div><span class="Apple-style-span" style="font-family: -webkit-monospace; font-size: 13px; line-height: 15px; white-space: pre; ">[
{
"a:name" : {
"a:value~=" : "^2*",
"b:value~=" : "^3*",</span></div><div><span class="Apple-style-span" style="font-family: -webkit-monospace; font-size: 13px; line-height: 15px; white-space: pre; "><span class="Apple-tab-span" style="white-space:pre">        </span>...
"lang" : "/lang/en"
},
"limit" : 5,
"name" : null,
"type" : "/base/bioventurist/science_or_technology_company"
}
]</span></div><div><br></div><div><font class="Apple-style-span" face="-webkit-monospace" size="3"><span class="Apple-style-span" style="font-size: 13px; line-height: 15px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="-webkit-monospace" size="3"><span class="Apple-style-span" style="font-size: 13px; line-height: 15px; white-space: pre;">-jg</span></font></div><div><font class="Apple-style-span" face="-webkit-monospace" size="3"><span class="Apple-style-span" style="font-size: 13px; line-height: 15px; white-space: pre;"><br></span></font></div></body></html>