Discussions on Getting and Contributing Information
Start a New Discussion
-
-
How can we search for user-created view of a topic? I found http://www.freebase.com/view/en/teleological_argument?domain=%2Fuser%2Falexander%2Fdefault_domain through http://www.freebase.com/view/user/alexander/default_domain/argument by searching for argument in http://www.freebase.com/site/data. Is there an easier way?
-
The question here is, how do you know that a topic (like “Teleological argument”) has a user-created type (like “Argument”)? The answer is that it depends on whether the user has published the domain. If the user has not, then the use of those types will not be obvious; if the domain has been published, then you will see the types just like the main community types. So if you think Alexander’s types are useful, ask him to publish them.
-
How do you publish types?
-
Nevermind, found "Create a user domain" at http://www.freebase.com/user/domains from "Types you've created".
-
-
-
I have one hundred wikipedia/en_ids that I want to get the corresponding Freebase guids for. I could do this one at a time but hoped there was a way to perform a bulk lookup
{
"/common/topic/article" : [
{
"guid" : null
}
],
"key" : [
{
"namespace" : "/wikipedia/en_id",
"value" : "426702"
}
],
"name" : null
}Thanks,
Biosopher-
At the very least you can reduce network latency by using the queries parameter to execute multiple queries per http request. See the examples on the mqlread page.
-
Thanks Willmoffat,
For anyone looking for a similar solution, here is the answer:http://www.freebase.com/api/service/mqlread?queries={"q0":{"query":[{"/common/topic/article" : [{"guid" : null}],"key" : [{"namespace":"/wikipedia/en_id","value":"426702"}]}]}, "q1":{"query":[{"/common/topic/article" : [{"guid" : null}],"key" : [{"namespace":"/wikipedia/en_id","value":"38252"}]}]}}
Cheers,
You can simply keep adding more queries to your URL up to the limit of the URL string length. Technically...the URL definition does not require a length limit but most servers have a limit around 256-500 chars typically.
Biosopher
-
-
-
I expected this to be simple but couldn't find any info on the site/web.
How do I get the description for a specific article. E.g. this simple query gets the name for an article but how do I get the description as well?
{
"id" : "/guid/9202a8c04000641f800000000023907a",
"name" : "San Quentin"
}Thanks,
Biosopher-
See here for a similar question/response...Here's the help section involved with the Trans service, you want section 4.8. Fetching Content with trans
-
-
-
Hi
I am new to Freebase API.
How to use this API for searching a word?
Please help in this regard.
Thanks
Sreedhar
ambatisreedhar@gmail.com
-
Sreedhar, look at the comments on your other post.
-
-
-
-
I wonder if this feature is already possible in Freebase. Image that you want to search for a film director who is born in Paris, but you forgot his name. The right search for it would be "Person with place of birth = Paris and profession film director"
-
The UI doesn't quite let you do this yet. Its definitely an easy query to do with MQL using query editor, but if you aren't into query writing, we don't have a good way to do this presently.
A couple of potential features that would address this:
1. add a type filter option to the standard filter UI - so you could be looking at all people and then filter them down further by another type (in this case film director)
2. provide all properties as filter options (currently we just display the first 7-8) - if the person did have a job as a director, s/he could be found this way.
Option #1 is actually a better solution given the way we've modeled directors in the system - and is a generally useful feature for filtering down topics that have multiple types.-
Actually, I spoke too soon... Darin points out that there is in fact a profession field on person. So, here you go... http://www.freebase.com/view/filter?id=/people/person#CJcriteriaJIACJpropertyYIdJIJLpeopleLpersonLplaceVofVbirthJHJvalueJICJidJIJM9202a8c04000641f800000000002db30JHJlimitJI1DDHCJpropertyYIdJIJLpeopleLpersonLprofessionJHJvalueJICJidJIJM9202a8c04000641f8000000000284695JHJlimitJI1DDBD
-
-
-
-
Here's an example of a slick query builder UI:
http://www.openiris.org/screenshots/atct_album_image?b_start=12-
can we actually make links in discussion posts? like: http://www.openiris.org/screenshots/atct_album_image?b_start=12 .
-