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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:30:14+00:00 2026-06-10T05:30:14+00:00

Say for example a person writes as a query – d dark knight rses.

  • 0

Say for example a person writes as a query – “d dark knight rses”. I want to find the nearest wikipedia page that is – http://en.wikipedia.org/wiki/The_Dark_Knight_Rises

What are possible ways to do that?

One simple way that I could think of is that search the given query on google appended with the term wikipedia. Then in the results look for the first wikipedia page. If there is no wikipedia page even in top 5 pages, return Sorry.

But is there any other convenient method or API call which avoids using Google.

Edit : CLOSEST – For example “d dark night” might result in “The Dark Night” or “The Dark Knight”. Both of these are valid answers. Even though the former is closer to the query, but I guess the later is a better answer because that is what user query is likely to be.

  • 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-06-10T05:30:16+00:00Added an answer on June 10, 2026 at 5:30 am

    Maybe you can use the official Wikipedia API, here an example of opensearch call with dark night query:

    $ curl "https://en.wikipedia.org/w/api.php?action=opensearch&search=dark%20night"
    

    This returns:

    [
        "dark night", 
        [
            "Dark Night", 
            "Dark Night of the Soul", 
            "Dark Night of the Soul (album)", 
            "Dark Night of the Scarecrow", 
            "Dark Night (song)", 
            "Dark Night (film)", 
            "Dark night rises", 
            "Dark night (roller coaster)", 
            "Dark night sky paradox"
        ]
    ]
    

    UPDATE: also another approach is to download Wikipedia data dump and do some searching locally.

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

Sidebar

Related Questions

Say for example this is my code: $query = SELECT * FROM ...; $exec_query
Say for example you had a shell script that utilises inotifywait in the following
Example: say I want to open a file. If I get a FileNotFoundException ,
Lets say for example there are 5 records shown on screen. I want the
Say for example, I have an XML file with 100 person nodes, and I
Let's say I have a URL: http://example.com/person/list This website will display a list of
For the sake of the example, let's say that I have to model the
An example: Say, I have an AJAX chat on a page where people can
Say I have a Person object that has a first name, a last name
Lets say there is a Person class that holds some attributes and some other

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.