Re: DBTropes.org, a TVTropes.org linked data wrapper

Daniel O'Connor wrote:
> Oh, and I'm more than happy to help you with any MQL stuff.
>
> http://api.freebase.com/api/service/mqlread
>
> Example query:
>
> {"query":[{
>   "id": null,
>
>   "type": "/film/film",
>   "name": "The Matrix"
>
> }]}
>
> Example response:
> {
>   "code":          "/api/status/ok",
>   "result": [{
>     "id":   "/en/the_matrix",
>
>     "name": "The Matrix",
>     "type": "/film/film"
>   }],
>   "status":        "200 OK",
>   "transaction_id": "cache;cache01.p01.sjc1:8101;2009-12-12T14:18:39Z;0006"
>
> }
>
> Which translates into either of:
> http://www.freebase.com/view/en/the_matrix
> http://rdf.freebase.com/rdf/en.the_matrix
>
>
> To play, see:
> http://www.freebase.com/app/queryeditor
> To see the search API results live:
>
> http://api.freebase.com/api/service/mqlread?query={%22query%22:%20{%22id%22:%20null,%22type%22:%20%22/film/film%22,%22name%22:%20%22The%20Matrix%22}} <http://api.freebase.com/api/service/mqlread?query=%7B%22query%22:%20%7B%22id%22:%20null,%22type%22:%20%22/film/film%22,%22name%22:%20%22The%20Matrix%22%7D%7D>
>
Key thing is to mint Generic HTTP URIs from the MQL URLs. It should be 
possible if you make the default representation HTML+RDFa or JSON with 
Hash URI style.


-- 


Regards,

Kingsley Idehen	      Weblog: http://www.openlinksw.com/blog/~kidehen
President & CEO 
OpenLink Software     Web: http://www.openlinksw.com

Received on Saturday, 12 December 2009 17:03:20 UTC