Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Watson×

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Processing complex question with Watson

310001NB97 gravatar image
Question by guoyangrui  (3) | Feb 19, 2016 at 11:26 AM watsonretrieve-and-ranknatural-language-classifierconcept-insights

Hello I would like to use Watson to parse compound questions from user. For example, "Which movie was directed by director who also directed Apocalypse Now". The functionality should be able to identify what thing was asked by the user (movie) and related conditions, possibly resulting in a hierarchal structure:

{movie directed by:{ director directed:{ Apocalypse Now } }

Does Watson have such features

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

2 answers

  • Sort: 
110000PNBC gravatar image
Accepted answer

Answer by @chughts (12979) | Feb 19, 2016 at 12:23 PM

There is no single Watson service that will do this, but it is possible to craft such an application using a combination of the natural language classifier, concept insights and retrieve and rank services. You will need to train the classifier and load in your documents and craft a ranker. I would probably create the retrieve capability with documents that provide you with search parameters into something like IMDb.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
060000DJKN gravatar image

Answer by Simon ODoherty (906) | Feb 21, 2016 at 08:31 PM

You could use Alchemy API to do keyword extraction. Using your question above returns this with knowledge graph switch on.

 "Which movie was directed by director who also directed Apocalypse Now"
 
  Apocalypse -> 0.922952 -> /books/apocalypse
  movie -> 0.789507 -> /industries/media/movie
  director -> 0.778883 -> organizations/individuals/participants/representatives/director

On the face of it, it appears to almost capture the items you need to generate your structure. You would probably need to play with it a bit more.

Another option is to use Watson Explorer Studio to create custom annotators (UIMA) and then reference them in your application. It means you could easily create a movies dictionary, or any other that has custom domain terms. There is a free unsupported old version, which should at least work with earlier UIMA versions. It will give you a feel to what it can do. I'd recommend watching the training videos. I also did a video before (again not the latest version). It shows you can use it with a Java application.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

48 people are following this question.

Answers

Answers & comments

Related questions

Re-training Approach for NLC or R&R 0 Answers

Commercial use of Watson generally available services 1 Answer

How can I use Natural Language Classifier and Retrieve and Rank together? using same set of data 1 Answer

Is there a plan to allow customized training for the Q and A service of Bluemix? 2 Answers

Ingesting Data Options 2 Answers

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges