uploading images to Freebase using the APIs

554 views
Skip to first unread message

David Riccitelli

unread,
Jul 3, 2013, 5:22:41 AM7/3/13
to freebase...@googlegroups.com
Hello,

In the Freebase API documentation [1] there's a nice example on how to upload images to Freebase, although the example relies to a deprecated library [2].

From the library web site, there's a link to the new documentation on Google [3], which unfortunately does not include any information about the upload service, which appears to be running here (sand-box):

I've tried sending an image using the Google API Client Library [4], unsuccessfully, receiving the following response:
 - 'status': '503', 'HTTP Upload Server Built on Jun 28 2013 13:27:54 (1372451274)'
 - {
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "backendError",
    "message": "There was an error writing toFreebase blobstore"
   }
  ],
  "code": 503,
  "message": "There was an error writing toFreebase blobstore"
 }
}

Is the end-point URL correct?
What is the standard way to upload images to Freebase?
Is there a way to add images directly from the web site www.sandbox-freebase.com/www.freebase.com?

Thanks for your help,
David




Brendan Neutra

unread,
Jul 3, 2013, 5:59:10 PM7/3/13
to freebase...@googlegroups.com
David,

Image upload is not supported, nor is uploading images via freebase.com. Unfortunately, there is some old documentation that still references the functionality of the defunct api. The upload endpoint you found is non-functional and it is giving a misleading error (it should be a 404) I will correct that. We're not supporting image upload primarily because of the difficulties that arise with copyrighted images which has been discussed on this thread in the past.  I apologize for the confusion. That mql doc needs to be to corrected.

Brendan

Freebase API Team





--
You received this message because you are subscribed to the Google Groups "Freebase Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to freebase-discu...@googlegroups.com.
To post to this group, send email to freebase...@googlegroups.com.
Visit this group at http://groups.google.com/group/freebase-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

David Riccitelli

unread,
Jul 4, 2013, 2:25:14 AM7/4/13
to freebase...@googlegroups.com
Hello Brendan,

Is there any way I can add an image to a topic via the Web Site then?

I am looking at different people that don't have an image set, e.g. https://www.freebase.com/m/062wzl

Thanks,
David

Tom Morris

unread,
Jul 4, 2013, 10:29:59 AM7/4/13
to freebase...@googlegroups.com
On Thu, Jul 4, 2013 at 2:25 AM, David Riccitelli <da...@insideout.io> wrote:

Is there any way I can add an image to a topic via the Web Site then?

Since Brendan's answer said, "Image upload is not supported, nor is uploading images via freebase.com,".[emphasis added] I'd say the answer is "no," at least for the time being.

It does seem like something we need to find a solution for though.  Presentations without images are just nowhere near as compelling.  Allowing upload of "fair use" images is, I agree, just asking for trouble, but there are sources of images like the Wikimedia Commons which have clear, compatible, licenses.  If we can't get image upload back, the next best thing would be to store and use image URLs (although I can imagine Wikimedia Foundation wouldn't be thrilled with Google leeching off their bandwidth).

Tom

David Riccitelli

unread,
Jul 4, 2013, 10:36:14 AM7/4/13
to freebase...@googlegroups.com
Hello Tom,

Since Brendan's answer said, "Image upload is not supported, nor is uploading images via freebase.com,".[emphasis added] I'd say the answer is "no," at least for the time being.

Haha, thanks Tom, Hope made me unconsciously skip that part.

If we can't get image upload back, the next best thing would be to store and use image URLs (although I can imagine Wikimedia Foundation wouldn't be thrilled with Google leeching off their bandwidth).

Do you think this will happen anytime in the near future?

Thanks,
David



--
You received this message because you are subscribed to a topic in the Google Groups "Freebase Discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/freebase-discuss/alNEHISvpAA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to freebase-discu...@googlegroups.com.

To post to this group, send email to freebase...@googlegroups.com.
Visit this group at http://groups.google.com/group/freebase-discuss.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
David Riccitelli

-- check the Swagger for WordLift
********************************************************************************
InsideOut10 s.r.l.
P.IVA: IT-11381771002
---
Twitter: ziodave
---
********************************************************************************
Reply all
Reply to author
Forward
0 new messages