Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6760535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T14:04:31+00:00 2026-05-26T14:04:31+00:00

In addition to this question: link i’m asking if i can retrieve data like

  • 0

In addition to this question:link i’m asking if i can retrieve data like the text or even geolocation from topics that seems that they have not any info been entered(but there is text description from wikipedia)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T14:04:32+00:00Added an answer on May 26, 2026 at 2:04 pm

    So, the problem is that when you run the following query you don’t get any results:

    [{
      "name": "River Thames",
      "type": "/location/location",
      "geolocation": [{
        "latitude":  null,
        "longitude": null
      }],
      "/common/topic/article": [{
        "text": {
          "maxlength": 16384,
          "chars":     null
        }
      }]
    }]​
    

    Try it out

    This is because Freebase doesn’t have geocoordinates (yet) for a topic called “River Thames”. In other words, there are no combination of facts in Freebase that will match this query structure exactly so it returns nothing. It does however have coordinates for the mouth of the river so you will get results for this similar query:

    [{
      "name": "River Thames",
      "type": "/location/location",
      "/geography/river/mouth_long_lat": [{
        "latitude":  null,
        "longitude": null
      }],
      "/common/topic/article": [{
        "text": {
          "maxlength": 16384,
          "chars":     null
        }
      }]
    }]​
    

    Try it out

    But what should you do if you don’t know beforehand whether the data that you’re looking for is completely filled out in Freebase yet?

    You can mark certain parts of a query as being “optional” which means that they should be returned if the data is present but that the query should still return results even if that data isn’t present. So for your original query that would look like this:

    [{
      "name": "River Thames",
      "type": "/location/location",
      "geolocation": [{
        "latitude":  null,
        "longitude": null,
        "optional":  true
      }],
      "/common/topic/article": [{
        "text": {
          "maxlength": 16384,
          "chars":     null
        }
      }]
    }]​
    

    Try it out

    Now you should get results with the text of the article present but the geolocation returned as an empty array.

    One more thing I should point out is that you should be aware that the query you’ve written is asking for a list of ALL topics in Freebase with the name “River Thames”. Right now, that query only returns one result but in the future, when more data is added to Freebase, it may return multiple results. If you’re really only interested in THIS River Thames, you should query it using its unique MID like this:

    {
      "id": "/m/0d2kt"
      "name": null,
      "type": "/location/location",
      "geolocation": [{
        "latitude":  null,
        "longitude": null,
        "optional":  true
      }],
      "/common/topic/article": [{
        "text": {
          "maxlength": 16384,
          "chars":     null
        }
      }]
    }​
    

    Try it out

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In addition to this question: iPhone network performance , I would like to know
This question may look like a duplicate of: How to uninstall postgresql on my
(See this question and this question for background...) Given: grid = new Slick.Grid(#myGrid, data,
Previous question which links onto this and has any addition code ref should I
This feels like an extremely n00b question, but here goes... I have a series
My q and a page sucks - it's this: http://rankingclimber.com/qa.php I checked out http://www.text-link-ads.com/r/faq
In addition to this question Find number range intersection I want to get the
So I asked this question recently on the existence of link submission + reputation
This question is the non spam bible. Anyway in addition to that when generating
this is a small addition to the previous script, and this time I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.