Re: Reconciliation service for Google Refine

Yes, sorry - it wasn't working so I put the html page back.

Any suggestions as to exactly what it should like.
I assume some variation of:
{
  "name" : "Netflix Reconciliation through Freebase",
  "identifierSpace" : "http://rdf.freebase.com/ns/authority.netflix.movie",
  "schemaSpace" : "http://rdf.freebase.com/ns/type.object.id",
  "view" : {
    "url" : "http://www.netflix.com/WiMovie//{{id}}"
  },
  "preview" : {
    "url" : "http://netflix-reconcile.freebaseapps.com/preview/{{id}}",
    "width" : 430,
    "height" : 300
  },
  "suggest" : {
    "type" : {
      "service_url" : "http://netflix-reconcile.freebaseapps.com",
      "service_path" : "/suggest_type",
      "flyout_service_url" : "http://www.freebase.com"
    },
    "property" : {
      "service_url" : "http://netflix-reconcile.freebaseapps.com",
      "service_path" : "/suggest_property",
      "flyout_service_url" : "http://www.freebase.com"
    },
    "entity" : {
      "service_url" : "http://netflix-reconcile.freebaseapps.com",
      "service_path" : "/suggest",
      "flyout_service_path" : "/flyout"
    }
  },
  "defaultTypes" : []
}

I eventually thought that if I put exactly that on my service it should at least pick it up. 
Or is it to do with the MIME type or something?
Clearly I don't understand what I am doing :-)
But if you could suggest enough to get it to work, that would be really kind.
That is what it returns now.

Best
Hugh

On 22 Feb 2011, at 20:47, Shawn Simister wrote:

> I tried visiting your recon service without passing it any arguments but
> I just get an HTML form rather than the JSON metadata that Refine is
> expecting. That seems like the most likely explanation for your trouble.
> 
> Shawn
> 
> On 2/22/2011 3:26 PM, Hugh Glaser wrote:
>> Anyone have experience of writing one of these?
>> 
>> Thought it would be a good idea to put them on *.rkbexplorer.com
>> So did the query bit, such as:
>> http://acm.rkbexplorer.com/crs/reconcile/?query=Shadbolt
>> For simple queries (query, limit, type).
>> But Refine doesn't seem to accept it to start with when I try to "Add Standard Service".
>> I tried adding the sort of service metadata specified at
>> http://code.google.com/p/google-refine/wiki/ReconciliationServiceApi
>> but I guess I am not getting it right.
>> Anyone help please?
>> Cheers
> 

-- 
Hugh Glaser,  
              Intelligence, Agents, Multimedia
              School of Electronics and Computer Science,
              University of Southampton,
              Southampton SO17 1BJ
Work: +44 23 8059 3670, Fax: +44 23 8059 3045
Mobile: +44 78 9422 3822, Home: +44 23 8061 5652
http://www.ecs.soton.ac.uk/~hg/

Received on Tuesday, 22 February 2011 21:14:37 UTC