Discussions on General Support
Start a New Discussion
-
-
what form do you accept Geometry for areas in?
-
...looking for to use polygons rather then points
-
...looking for to use polygons rather then points
-
geojson to answer my own question
http://wiki.geojson.org/GeoJSON_draft_version_6#Geometries
is polygons up and running now?
any examples out there?
guess i need converters now
-
Sorry to interrupt the stream of consciousness flow...
Yes, the Geometry type is GeoJSON. I've requested that the owners of the type provide documentation (and posted a placeholder/my best guess in the discussion topics).
Like Wikipedia articles, the actual contents of the GeoJSON is stored in a separate content store which can be accessed by the 'trans' API (no, I have no idea what 'trans' stands for).
Working backwards from the final result, you have
blob http://www.freebase.com/api/trans/raw/guid/9202a8c04000641f800000000806d8ff
which is the same GUID as the corresponding Geometry topic on the MQL side of things:
http://www.freebase.com/edit/topic/guid/9202a8c04000641f800000000806d8ff explore view http://www.freebase.com/tools/explore/guid/9202a8c04000641f800000000806d8ff
which is linked to from the original Location topic at:
Topic 1937 Oakland Hills Fire http://www.freebase.com/edit/topic/en/1937_oakland_hills_fire
If you have your web browser set up with Google Earth as a viewer for KML files, you can use this URL http://www.freebase.com/api/service/geosearch?location=/en/1937_oakland_hills_fire&format=kml to fetch the shape in a form that you can view in Google Earth. The formatted KML also includes a link back to the original Freebase topic that you can use to navigate in the other direction.
Hope that's enough to get you started. If you add geo info for Ireland, I'd love to hear about it. I used to live in Galway and 3/4 of my ancestry is Irish (Roscommon, Clare, Kerry).
-
so you can't that map on this site?
-
so you can't see that map on this site?
-
-
-
i just don't where to start its very confusing
-
okay i added a list of people, trying to make a database of the irish government matched the politicians, but i don't see them listed, where i added them http://www.freebase.com/edit/topic/en/members_of_the_30th_dail
-
it seesm the politicians are lsited so how to i make them members of 30th dail?
-
Hi Dublinstreams,
To add politicians to Freebase, go to Politician and click on the "Add More Topics" button (upper right). Enter each name, or else click on "Go to the import tool" to paste in a list. Once you've added them, you can edit each one to specify which governmental body they're part of. You should do this using the "Government positions held" property; the 30th Dail would be under "Legislative Sessions".
You could also start from 30th Dail and edit "Members" there. If you wanted to import a list, you could click on the little arrow next to the "Edit" button and choose "Import list".
-
ok that set me off in the right direction hopefull i've add them right or messed it up, one of the two,
-
Not to discourage you from learning about Freebase, but there's a mass import of politicians in process as we speak (errr, type). You might want to wait a bit to see what the results of that are before investing a lot of time in loading up TDs. Teachta Dála wasn't correctly typed as a Government Office or Title, but I fixed that in the last day or two which should hopefully trigger the right thing happening with the automated processing. This should pull in not only the 30th Dáil, but any who ever served (as long as they have the appropriate infobox on their Wikipedia article).
-
okay, might do a bit more fiddling in sandbox to learn instead of here, now that i found it, you don't make it easy to find your help content... or basic start advice.
so will you pull in their constituency and positions and date of assumed office too? dob etc etc
I was wonder having connected to the wiki, why you didn't pull in the other info too...
the problem is that the infoboxes on wikipedia most poltician pages, they have "assumed office" for both the date they win an election and they date they are appointed to particular position in government or party, which is quite unclear... i was hoping to scrap the info for timeline, but even dbpedia uses termstart for both coming from wikipedia... as will you's i suspect...
have to say how long should i wait, often website promise something soon as years pass by
-
You're preaching to the choir as far as the "Getting started" docs go. Another good source of information which you may not be aware of is the archives for the 'developers' and 'data-modeling' lists. The wiki is new, so it's not well populated yet. The good news is - it's a wiki, so as you find stuff that you think should have been there, go ahead and add it. It's hard to replicate the viewpoint of a fresh set of eyes.
As far as timing goes, the developer who's working on the politicians already did a trial load on the sandbox (although it didn't include the TDs because the topic wasn't typed correctly yet), which usually means things are pretty close. I'd guess closer to days than months, but I'm not speaking for him.
-
-
-
-
I was looking into how to tag folks such as Maurice that self-identify as gay...
Are there any Sexuality / Personal Identity data types that I should know about?
Otherwise the Person type comes across as kind of, well, semantically heteronormative.
-
Celebrity includes a link to a (time-moderated) sexual orientation.
-
-
-
http://www.freebase.com/build seems to be that page but the side index is no longer visible.
-
We're transitioning it all across to the wiki as it was poorly maintained and just getting more and more out of date. Is there something particular that you were looking for? You can still dig around using http://www.freebase.com/view/freebase/help_area or http://www.freebase.com/view/freebase/help_section but we're planning to start deleting and redirecting old docs to the wiki soon.
-
Thanks for the links, moving everything to the wiki sounds like a good idea :-)
-
-
-
Please, too many things have disappeared from these 2 pages: 3 books, the dedication, and the record labels. And does he really need TWO almost identical pages ? http://www.freebase.com/view/en/lorenzo_ferrero http://www.freebase.com/view/en/lorenzo_ferrero Thank you
-
The second page has new references but still misses the above:
http://www.freebase.com/view/en/lorenzo_ferrero/-/base/references
-
Odd -- I don't know why the dedication, edited book, and contributing author values aren't being displayed (the data is still there, and you can see them if you go to the edit page). I'll write up a bug for it.
-
Thank you, Jeff. The 72 compositions are missing too. I can see everything on the edit page but that is not what matters on Google and the other search engines...
-
We are not showing all data from all bases in the topic page because there are a lot of bases in the experimental or testing phase. The rules to show up is that your base must have at least 100 topics typed with types of the base to show up. You also need at least 6 views.
-
Michael,
Composer, Author, Dedicator are types from the Commons, these are NOT MY BASES, and the information that is missing now was there for donkey's years ! It only disappeared recently, since the "age 58 years" bit appeared a few days ago. I noticed that sometimes, when new information is added by the computer, other old information disappears. I think this is the case here too.
-
That's probably a bug and we 'll look into it - I was explaining why /base/reference properties don't show up.
-
Here is a list of the missing things:
72 works composed: http://www.freebase.com/view/en/lorenzo_ferrero/-/music/composer/compositions
Record labels: http://www.freebase.com/view/en/lorenzo_ferrero/-/music/artist/label
Book contributions: http://www.freebase.com/view/en/lorenzo_ferrero/-/book/author/contributing_author_to
Works edited: http://www.freebase.com/edit/topic/en/lo_studio_dellorchestrazione
Works translated: http://www.freebase.com/edit/topic/guid/9202a8c04000641f800000000e8f98ca
The dedication: http://www.freebase.com/edit/topic/guid/9202a8c04000641f800000000bdfea91
By the way, in the case of "Album contributions," wouldn't it be nicer to show a list of the ALBUMS instead of the boring list of the roles ?
http://www.freebase.com/view/en/lorenzo_ferrero/-/music/artist/contribution
As you see, a lot is missing and none of it comes from my domains. This is a page which is number 2 worldwide on Google (number 1 on some other search engines), and it has to be perfect.
Thank you
-
Our messages criss-crossed ! I understood all about the Reference base, thank you, but I am not complaining about THAT ! On the contrary, I am happy that it shows AT ALL on the edit page. I am concerned about the rest...
-
Thanks for pointing out the "album contributions" view weirdness. I've fixed it now. That "summary view" is a new feature, and we obviously didn't check every possible view -- let us know if you find others that look like they're highlighting the wrong property.
-
This is incredibly nice of you, Jeff, to do this, THANK YOU, it looks really great and I mean it ! It is amazing how things can improve instantly, isn't it ?
-
It looks EXCELLENT and I thank you both, well done !
-
-
-
-
-
I want to match my dataset of 950,000 items into Freebase. I would like to uses some form of ID for definitive matching.
-
We have a lot of IDs available depending on what sort of data you have. Generally speaking, you can see the IDs available by going to the Explore view for any given topic, eg. http://www.freebase.com/tools/explore/en/blade_runner
(You can get to the Explore view via the developer toolbar.)
-
sounds like a job for the reconciler - http://www.freebase.com/docs/web_services/search
-
-
-
Here I am trying to query all universities to get a list of student_graduates, their names and gender. It pulls the name from "student" but nothing from /people/person [{ "type": "/education/university", "ns0:type": "/education/educational_institution", "name": null, "/education/educational_institution/students_graduates": [{ "student": null, "/people/person/gender": null }] Thanks }]
-
You need to put the gender part under the student node, like this:
[{ "type": "/education/university", "ns0:type": "/education/educational_institution", "name": null, "/education/educational_institution/students_graduates": [{ "student": [{ "name": null, "/people/person/gender": null }] }] }] -
Terrific! Thanks for the speedy reply. ra.
-
-
-
For instance, is there anyway for me to get the number of casualties in WWII after the first year...the second...and on. This graphic [ https://qed.princeton.edu/getfile.php?f=Minard_carte_figurative.jpg ] of the volume of troops over time and place is what drives my curiosity. Another instance, number of loans in default over past 6 months. Is it worthwhile to begin trying to find data like this in Freebase? Is there another place that would be a better consolidated resource or is this stilll information you need to go directly to the industry for? Freebase is sweet. Thanks. :)
-
esamsoe,
You can query Freebase to return dated values for a large number of domains - most are saved as a dated integer, but it depends on the domain. For example, company revenue is stored as a dated money value, but military casualties are stored per conflict- the conflict implying the date information.
Focusing on the military casualties (I'm a fan of the Minard infographic), if the military losses were only incurred during battles we could query for all battles during Napoleon's Invasion of Russia and plot their dates and casualties. Unfortunately, most of the losses were through attrition (malnutrition, cold and disease) which occurred during the long march, which I do not believe Freebase currently has data or a schema for.
If you wanted to model the Minard Infographic, I would suggest creating a new base. Perhaps creating a Attrition base, with a event with attrition type with a time mediated casualties property?
-
Freebase is only as good as the data the people put into it and the quality and coverage of that varies widely by domain.
Someone recently upload (estimated) US HUD foreclosure data for 2008, but there is no set of general loan default data as far as I know. Current data (eg last 6 months) isn't as strong as things which are stable and historic, at least in my experience.
-
-
-
What query is behind the common "Similar topics in Freebase" section? Given a topic, how can I query for similar ones?
-
good question. ... you could always make your own. i would get the topic's wikipedia id and use bfg to get its links eg http://data.labs.freebase.com/bfg/index?path=wex-index&sub=wexen%3Awpid%2F7895744&pred=wex%3Aa%2Flink&obj=&limit=1000
-
Be careful not to rely on BFG since it's an unannounced experimental service.
From my casual observations, it would appear that a large part (all?) of the "related topics" query is just topics which share the same type(s) as the given topic. It's probably constrained to topics which have associated images as well to make for a more interesting display, but other than that, I'm not sure there's a lot of "magic" in the query. It doesn't actually seem to generate topics which are a very close match.
-
That's right, there isn't anything particularly interesting going on here - just other topics that share that type with images.
-
Thanks folk. My underlying interest is in targeting information to a user based on previously registered topics of interest. The more generic (schema-independent) an approach I can find, the better, Are you able to point me at any resources that would help me with this? Much appreciated!
-
Do they use something like Freebase Suggest to choose the topics? If you so, you could constrain the widget to only show types or domains, you could just show them new things in that type or domain. If you let them select a specific instance/topic, you've got a harder problem. It wouldn't be too hard to come up with a similarity metric that would give you a score for two topics, but it'd be a lot harder (impossible?) to get MQL to spit out a list of most similar topics. It's not really set up to do a n-space vector search like that.
Something you could experiment with would be to use reflection to get all properties and their values and then do queries based on that set of properties, relaxing the search criteria (in some unspecified manner) until you get a small, but non-zero, list of results.
You'd probably get more satisfactory results with less work, but just picking some popular cases and hard coding support for them directly. You could probably do Films, Movie Stars, Bands, Sports Teams, and a few other things and cover a good proportion of what people are interested in with relatively little effort compared to coming up with a general purpose algorithm.
-
You might also like to take a look at Shawn's "sets" app: http://sets.freebaseapps.com/
-
-
-
Essentially, I want to add a citation about a topic to the freebase record. Is that possible and appropriate?
-
yes! this is exactly what we're trying to do on freebase. lots of ways to do this, easiest is probably to use the 'webpage' property on /common/topic cheers
-
Alternatively, if the citation is to a printed article as opposed to online, you could use something like Journal article with links to the appropriate journal.
-
-
-
I have a plain database of city/airport/iata translated into differents language. How can I retrive iata codes currently into freebase and add/edit some new? Tkz!
-
hello, http://www.freebase.com/view/aviation/airport edit the view to include the iata property then download as a csv for something cheers
-
-
-
-
-
the user still_alive is deleting things on my base and topics replacing them with offensive images I have deleted them but it will just happen again so I ask you to delete the topics http://www.freebase.com/view/guid/9202a8c04000641f800000000f932239 http://www.freebase.com/view/guid/9202a8c04000641f800000000f5d19fe It seems to much trouble to make sure this abuse does not happen if any user that registers can just remove edit and add pictures like that I want nothing to do with it.
-
Thanks for flagging them for delete. They will be reviewed and deleted shortly.
-
Is there a way to stop this in the future if I start this whole process over again?
-
http://www.freebase.com/history/view/user/still_alive
shows what he did to my bases and topics
-
Please do not respond in kind to abuse. This comment is highly inappropriate. "They started it" is not a valid excuse.
-
You are correct I do apologize.
I was mad, sorry, I spent a lot of time making what I did just to have it whipped out over night.
-
I've deleted the post.
For what it's worth, the Freebase staff have the ability to perform a mass reversion of a user's edits. It's not an instanteous process, but it's certainly something that can be done in the case of vandalism like this.
-
Correct. We can revert all of a user's edits within a given timeframe, and usually it would be
-
OK I will try this again.
What about the user still_alive?
It's not hard to tell he just made the account to deface my base.
-
-
-
okay, firstly, please delete your entry on Gail McKenna, as every now and again I find it with libellous remarks about her and my own website. She will sue the person responsible for this. I will also have to take legal action. So REMOVE IT completely. I don't want to have to keep coming back every month to find its all been re-written again! Also I would like my name and user details deleted permanently once this has been done. Please advise of your actions. Also you should ban the editor of those previous remarks 'Jack Carter'. He is the one who is responsible for them.
-
-
-
Looking at a view with location based data such as British Pubs (http://www.freebase.com/view/base/britishpubs/views/pub) I cannot see country in the columns I could add to filter on. Why is this, given that the country field is one of the fields in the Address type?
-
Country is actually not one of the fields in the Address type; it appears in the address widget in the UI, but there's a bunch of code that handles that as a special case. Country is actually tied to an address via the Postal Code type, so if you expand Postal Code in the column-selection box (using the little ">" icon), you can select country there.
-
-
-
Hi there,
I wonder if it is possible to include a date into the headquarter-property of the organization-type. I think it would be very helpful to describe "old" organizations like the Zionist Organisation (http://www.freebase.com/edit/topic/en/world_zionist_organization). For example, this organization changed its headquarter a few times (Vienna, Berlin, Copenhagen, London, Jerusalem)
Thanx,
f.
-
-
-
I've been working my way through the Bird Taxa view and am running into problems. After several pages of using "next" to go to the next page of results, I'll wind up with an empty list and an statement that there are 0 Organism Classification topics. Pressing "prev" shows the range as the last 60 numbers, but with the same statement and empty list. If I go back to the main page then click my way in via the bases I'm a member of it will go back to saying there are about 20k Organism Classification topics (which seems incorrect -- I've only gone through about 600 and I'm in the 'M's), until I press "next" a few more times and it will go back to zero and stop giving me output. I'm using Firefox 3.5.3 with Firebug disabled, dev mode is off. Does anyone have any ideas? Thank you!
-
My guess is that the query to populate the next page is timing out. In my experience Freebase doesn't give you an error in this case.
The estimated number of entries in the table is nonsense for anything other than a straight type table with no filters (in which case it will be the number counted on the last nightly tallybot run). It should be ignored.
-
According to the details it provides it's a 500, which means it could be pretty much anything on the server side -- my guess is that there is some output on stderr or stdout that's being generated before the HTTP headers that is being logged. I'll file a bug in JIRA after I get home and repro a couple more times to give the admins something to look at.
Thank you for clarifying the count of entries. I'll play with ACRE a bit and see if I can figure out an efficient way to get the actual number of entries. I haven't played with the API yet, and this is as good a way to start as any.
-
I can't reproduce the error but we 'll take a look - thanks. https://bugs.freebase.com/browse/CLI-9196
-
They've just updated my earlier bug report as being fixed. https://bugs.freebase.com/browse/CLI-9047 Not sure if it's been deployed yet and, if not, when it will be. (Also not sure how it got downgraded to P4! I guess we're lucky it bubbled up to the top of the queue.)
-
-
-
Hi there,
At the moment it is not possible to filter collections by address/country. Is this a bug?
best regards,
Frank
-
You have to use the Country property of the Postal Code type; country isn't explicitly represented in the Address type.
-
Thank you,
is there also the possibility to use an operator like "OR", e.g. Country name is "United Kingdom" or "Ireland"?
best regards,
Frank
-
There isn't, unfortunately. There's an open bug for this here: CLI-5221. Please vote for it if you want it fixed!
-
-
-
-
Hi there,
Last days I noticed that postal codes are not shown properly. To give two examples:
the postal code is shown as URL
- In the view: http://www.freebase.com/view/base/jewlib/views/libraries_archives_museums_and_private_judaica_holders the postal code is not shown in every case (check United Kingdom instiution, like Bodleian Library, Durham University Library etc.)
best regards,
Frank
-
The postal code value is actually stored as a property on the Postal Code type (name "postal code"), rather than the name of the topic (this is an anomalous type in Freebase in this regard). You can display this property in the table, which should help work around the lack of display-name issue.
-
Is there any reason not to populate the names of all these topics with their textual values? What was the reason for having a separate field in the first place? The ability to make it unique?
-
-
-
Hi,
we tried to use a boolean-operator within the following type:
http://www.freebase.com/type/schema/base/jewlib/online_jewish_studies_periodical
You can mark the "Complete?"-field as "yes" or "no", but the result is not shown. Can you please help?
thanx,
Frank
-
I get the same problem - I think its a bug. Have you filed it at bugs.freebase.com ?
-
I can't find any topics with this property set to test the problem - do you have any examples?
-
Opened a bug, CLI-9193
It's because the client is not accepting edits to boolean properties that are not set to restricted to a single value.
-
-
-
Can someone look at the following sort results and tell me why the values are not sorting correctly? {"type":"/automotive/model","make":"Ford","name":"Ford Explorer","model_years":null,"sort":"model_years"} { "code": "/api/status/error", "messages": [ { "code": "/api/status/error/mql/result", "info": { "count": 62, "result": [ "2001 Ford Explorer Explorer 2WD", "2002 Ford Explorer SUV FFV 4WD", "2003 Ford Explorer SUV FFV 4WD", "2000 Ford Explorer Explorer 2WD", "1991 Ford Explorer SUV 2WD", "1992 Ford Explorer SUV 2WD", "1993 Ford Explorer SUV 2WD", "1994 Ford Explorer SUV 4WD", "2004 Ford Explorer SUV XLT", "1999 Ford Explorer SUV 2WD", "2005 Ford Explorer SUV 2WD", "1998 Ford Explorer SUV 4WD", "2006 Ford Explorer SUV 2WD", "1997 Ford Explorer SUV 2WD", "1996 Ford Explorer SUV 2WD", "1995 Ford Explorer Explorer 2WD", "2007 Ford Explorer", "2008 Ford Explorer", "2009 Ford Explorer", "2001 Ford Explorer Explorer 4WD", "2001 Ford Explorer SUV Sport 2WD", "2001 Ford Explorer SUV Sport 4WD", "2001 Ford Explorer Explorer Sport FFV 2WD", "2001 Ford Explorer Explorer Sport FFV 4WD", "2001 Ford Explorer Explorer USPS 2WD", "2001 Ford Explorer Explorer USPS 4WD", "2001 Ford Explorer Explorer USPS Electric", "2001 Ford Explorer Explorer USPS FFV 2WD", "2001 Ford Explorer Explorer USPS FFV 4WD", "2000 Ford Explorer Explorer 4WD", "2002 Ford Explorer SUV 2WD", "2002 Ford Explorer SUV 4WD", "2002 Ford Explorer SUV FFV 2WD", "2002 Ford Explorer SUV Sport 2WD", "2002 Ford Explorer SUV USPS Electric", "2002 Ford Explorer SUV Sport 4WD", "2003 Ford Explorer SUV Sport 2WD", "2003 Ford Explorer SUV Sport 4WD", "2003 Ford Explorer SUV 2WD", "2003 Ford Explorer SUV 2WD FFV", "2003 Ford Explorer SUV 4WD", "2004 Ford Explorer SUV NBX", "2004 Ford Explorer SUV XLS", "2004 Ford Explorer SUV Eddie Bauer", "2004 Ford Explorer SUV Limited", "2004 Ford Explorer SUV XLS Sport", "2004 Ford Explorer SUV 4WD FFV", "2004 Ford Explorer SUV 2WD", "2004 Ford Explorer SUV 2WD FFV", "2004 Ford Explorer SUV 4WD", "1999 Ford Explorer SUV 4WD", "1991 Ford Explorer SUV 4WD", "1992 Ford Explorer SUV 4WD", "1993 Ford Explorer SUV 4WD", "1994 Ford Explorer SUV 2WD", "1994 Ford Explorer Sport utility vehicle", "1995 Ford Explorer Explorer 4WD", "2005 Ford Explorer SUV 4WD", "1998 Ford Explorer SUV 2WD", "2006 Ford Explorer SUV 4WD", "1997 Ford Explorer SUV 4WD", "1996 Ford Explorer SUV 4WD" ] }, "message": "Unique query may have at most one result. Got 62", "path": "model_years", "query": { "error_inside": "model_years", "make": "Ford", "model_years": null, "name": "Ford Explorer", "sort": "model_years", "type": "/automotive/model" } } ], "status": "200 OK", "transaction_id": "cache;cache02.p01.sjc1:8101;2009-09-29T16:17:42Z;0029" }
-
"model_years" is a non-unique property, but "null" can only return one value. (There's a quirk in MQL error messages -- I wouldn't call it a bug because it can sometimes be useful -- in that if you do a null query against a property with multiple values, it will return the values in the error message. This "result" can't be sorted, however.)
This query should do what you want:
[ { "type": "/automotive/model", "make": "Ford", "name": "Ford Explorer", "model_years": ["name":null, "sort":"name"] } ] -
The query you are running has multiple model years, so you would need to ask MQL to return a list of them:
{ "type": "/automotive/model", "make": "Ford", "name": "Ford Explorer", "model_years": [{ "name": null, "sort": "name" }] } -
or alternatively limit by 1:
"model_years" : { 'value' : null, 'limit' : 1 }
-
-
-
-
How do I create a network visualization?
-
What type of network do you want to visualize? A lot is going to depend on the source of the data, the form it's in, the type of graph it represents, how you want to visualize it, etc, etc.
As one very specific example, if you wanted to visualize the graph of Freebase types, you could use something like http://schemaviz.freebaseapps.com/?domain=/book It uses GraphViz to create its visualizations which is a package that can be adapted to a lot of different uses, but there are also lots of other choices (including ones which are more interactive in nature).
-
-
-
The base I am looking at has location information such as lon & lat and I am able to see the items on a map. But I do not know how to search items by location ... can someone help?
-
Ok ... I found I needed to further pick a topic w/ location information ... but now I am able to bring up the lot and lan fields in the filter but no matter what I enter, the search button remains disabled ... any help?
-
There is a geosearch API, but there's nothing in the web client that uses it. The best that you can do through the Web interface is use the Location->contains property to constrain things. For example, here's a list of all National Register of Historic Places sites in NH http://www.freebase.com/view/user/tfmorris/default_domain/views/nh_national_register_of_historic_places.
Depending on how the data was populated for the particular type that you're looking at, you may be able to constrain by county (or not at all).
-
question for tfmorris ... does every item in the U.S. National Register of Historic Places Base have the lat and lon information?
-
Thanks for your interest in the National Register of Historic Places. Currently 4,907 properties have no location out of the total of 36,623 properties that we've loaded. There are a couple of possible reasons for things not having a location. They might be tagged in the database as being "in the vicinity of" a location and there's no good way to represent that in Freebase. Another possibility is that the location is restricted, often the case for sensitive archaelogical sites.
Another important thing to note is that not all sites which are considered of only "Local" importance by the National Park Service have been loaded. Only those for which a match could be found in Freebase were loaded. (We also did a load of all identifiable bridges for a special project). If you look at the discussion topics in http://usnris.freebase.com you'll find more information on the number of sites which were loaded.
-
It is awesome to here you chime in 'cause it is the nris database that I am primarily interested in. It was through a recent google search for nris database that I discovered freebase (an awesome find). It is my intention to use the mql api to create a query that I can run through yahoo pipes to build a dynamic georss file for use with the collections section on Bing for windows mobile. But I was hoping that freebase via the web browser would do the heavy lifting, ie create a query and then click the mql link at the bottom of the page. I am kind of surprised that I cannot search freebase for location. They are just number fields anyway. I want to create a rough rectangular area by filtering for lat+- and lon+- to create the initial query.
-
Is this what you need: http://www.freebase.com/docs/geosearch
-
Can you please provide more information about the geosearch, I have read the doc you linked to and am still unsure how to implement this
-
The geo API is an http API that can do shape and proximity queries using the freebase data. The freebase.com site uses that API to produce maps whenever location information is available. For example, here is a map I created that shows all the mexican restaurants that we have locations for in Freebase:
http://www.freebase.com/view/user/masouras/default_domain/views/mexican_restaurants
In the docs that I pointed you to, there are some examples of how to do proximity and shape searches. What exact query are you trying to produce ?
-
Sorry, I am thoroughly confused. How would I run an mql query through simple polygon(square). . Since I am just working with a rough square I might be better of just filtering my mql query with /location/location/geolocation: latitude +- & longitude +- . btw, why am I unable to do this via the web interface? I tried entering the coordinates with greater than and less than, and the search button remained grayed out. This is not a bid deal 'cause at the end of the day I will be using the mql api.
-
The geosearch API doesn't really speak MQL, except for its input and output filters. It's a separate API of its own. Don't feel bad about being confused, I just had a peek at the documentation and it definitely isn't focused on the needs of a newcomer.
Here's a query that you can use as a starting point:
http://www.freebase.com/api/service/geosearch?location=/en/suffolk_county_massachusetts&type=/base/usnris/nris_listing&inside=true&indent=1&mql_output=[{%22id%22:null,%22name%22:null,%22/base/usnris/nris_listing/significance_level%22:null}]
which returns all National Register of Historic Places sites which are in Suffolk County, Massachusetts.
Note that the topic used in the location parameter in this style of query must have a shape stored in Freebase to work. If it doesn't it will silently return no results without telling you why. For example if you use /en/boston_massachusetts in the above query instead of Suffolk county, you'll just get an empty list, despite the fact that there are plenty of listings in Boston. To work around this, use one of the other search forms such as a radius search or a bounding box search.
Hope this helps. Don't forget to send me a pointer to your whizzy new web site that uses all this fancy technology when you're done!
-
Sorry, I probably wasn't clear: you can 't formulate a geo constraint in the freebase.com site. You can just select 'map' and the site will do the geo work for you as you navigate and zoom around the map. You are better off just trying directly using the API.
-
-
-
Hi there,
unfortunately the button next to the edit-button in topic-edit-mode does not work since two days. I already tried different browsers (IE, Firefox, Chrome) on different machines. This button is very helful in case somebody tried to import a bunch of data to a type...
Can somebody tell me what the problem is?
best regards,
Frank
-
That's a bug all right. I've entered it as CLI-9143
-
-
-
I just registered today and want to learn how to edit. I tried to do a very simple addition to a page by filling in a blank item (location of death). But after I fill in the information, I cannot find any way to save it. I searched the entire page very carefully but could not find a save button or any other way to save it. This is very frustrationg. Please help. Thank you
-
Have you seen the help page about editing a topic? There should be a save button right next to the input box, as perthis screenshot.
When entering data, you may have to wait a second or two until the list of possible matches is displayed. You need to click on a match, or create a new topic before the save button is activated.
-
-
-
Hi, please help me. How can I delete the entire bullshit I produced today (19.09.09) since 6:47:22AM UTC? http://www.freebase.com/history/view/user/enno I can still see it at: http://www.freebase.com/view/en/berlin but not there: http://www.freebase.com/edit/topic/en/berlin http://www.freebase.com/view/en/berlin/-/location/citytown/postal_codes I´m Sorry about. Thanx for your help. Enno
-
I think I've done this. Let me know if there is anything I missed.
-
Great. Thank you. I see, I have to learn a lot.
-
There's a sandbox http://www.sandbox-freebase.com/ where you can make as many errors as you like. All the data is scrubbed and refreshed once a week.
-
Do the new topics you created also need to be deleted?
-
Yes Please. Everything I create Yesterday since 6:47:22AM UTC. Thanks to all.
-
-
-
-
-
I've just started using Freebase Suggest and was wondering how the calls are calculated. I did not have to sign up for an API ID to use the plugin. Is it based on IP address?
For example, if I have an application hosted on App Engine that uses your API, does each user of my app get 100,000 calls, or does my domain rack up the calls?
Also, does each event fire a call? For example, if I type "the" does each keydown register so that this is 3 calls, or is it 1 call?
Thanks!
-
-