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 3681218
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T03:39:58+00:00 2026-05-19T03:39:58+00:00

I am trying to get the data from Wikipedia’s infoboxes into a hash or

  • 0

I am trying to get the data from Wikipedia’s infoboxes into a hash or something so that I can use it in my Ruby on Rails program. Specifically I’m interested in the Infobox company and Infobox person. The example I have been using is “Ford Motor Company”. I want to get the company info for that and the person info for the people linked to in Ford’s company box.

I’ve tried figuring out how to do this from the Wikipedia API or DBPedia but I haven’t had much luck. I know wikipedia can return some things as json which I could parse with ruby but I haven’t been able to figure out how to get the infobox. In the case of DBPedia I am kind of lost on how to even query it to get the info for Ford Motor Company.

  • 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-19T03:39:58+00:00Added an answer on May 19, 2026 at 3:39 am

    I vote for DBpedia.

    A simple explanation is:

    The dbpedia naming scheme is http://dbpedia.org/resource/WikipediaArticleName (unique identifier) with spaces replaced by _.

    http://dbpedia.org/page/ArticleName (the html preview) and http://dbpedia.org/data/ArticleName(.json/.jsod) are the JSON representation for the information about the article you want. (.rdf etc. might be confusing for you right now.)

    For Ford Motor Company you should ask for:

    http://dbpedia.org/data/Ford_Motor_Company.json
    

    or:

    http://dbpedia.org/data/Ford_Motor_Company.jsod
    

    (Whichever is simpler for you)

    Now, depending on the article type, person or company, there are different properties that define them that depend on the dbpedia ontology (http://wiki.dbpedia.org/Ontology).

    A more advanced step could be to use SPARQL queries to get your data.

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

Sidebar

Related Questions

I am trying to use Rails to extract data from Wikipedia, based on a
I am trying to get my data from a query string, but use it
I'm trying to get data from multiple XML feeds and copy that data to
I'm trying to get data from textbox but it says undefined id or something
I'm trying to get data from a webpage that serves a XML file periodically
I'm trying to get data from a web-page into my sidebar gadget via: $.get(http://localhost/index.php,
I am trying to get data from one row in a table into three
I am trying to get data from two different table and put into on
I'm trying to get data from DB. I must use to queries. From the
I am trying to get data from an informix database into a Sql Server

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.