Thanks for your response Chris. <br><br>We got what we wanted with this query:<br><br>[<br> {<br> "/business/company/<div>headquarters" : [<br>
{<br> "/location/location/<span>geolocation</span>" : [<br> {<br> "*" : null,<br> "optional" : true<br> }<br> ],<br>
"citytown" : null,<br>
"postal_code" : null,<br> "state_province_region" : null,<br> "street_address" : []<br> }<br> ],<br> "limit" : 1000,<br> "name" : null,<br>
"type" : "/base/bioventurist/science_or_technology_company"<br> }<br>]</div><br><br><div class="gmail_quote">On Fri, Jan 9, 2009 at 8:04 PM, Christopher R. Maden <span dir="ltr"><<a href="mailto:crism@metaweb.com">crism@metaweb.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Rob Warren wrote:<br>
> This query is not returning any of the /location/location properties,<br>
> even though the schema shows that /location/location is an inherited type.<br>
<br>
</div>The special "*":null wildcard only picks up properties of /type/object<br>
and of the explicit or expected type of the object. Since you specified<br>
no type, it only returns the company headquarters properties.<br>
<br>
You could do:<br>
<br>
"headquarters":[<br>
{<br>
"*":null,<br>
"type":"/location/location"<br>
}<br>
]<br>
<br>
but you would lose the headquarters properties. If you want properties<br>
relating to more than one type in the same query, you must ask for them<br>
explicitly, with fully-qualified property IDs.<br>
<br>
~Chris<br>
--<br>
<font color="#888888">Christopher R. Maden<br>
Data Architect<br>
Freebase.com: <URL: <a href="http://www.freebase.com/" target="_blank">http://www.freebase.com/</a> ><br>
Metaweb Technologies, Inc. <URL: <a href="http://www.metaweb.com/" target="_blank">http://www.metaweb.com/</a> ><br>
_______________________________________________<br>
Developers mailing list<br>
<a href="mailto:Developers@freebase.com">Developers@freebase.com</a><br>
<a href="http://lists.freebase.com/mailman/listinfo/developers" target="_blank">http://lists.freebase.com/mailman/listinfo/developers</a><br>
</font></blockquote></div><br>