Simple Question (Direct)
Simple Question
Q1379366
P57
Q502895
USER
Which person directed Genealogies of a Crime ?
(Q1379366,P57,c(Q502895))
action filter_type
action find
entity Q1379366
relation P57
type Q502895
['Q1379366', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1379366 property:P57 ?l . ?l rdf:type ontology:Q502895 }
Genealogies of a Crime
action filter_type
action find
entity Genealogies of a Crime
relation director
type common name
['Genealogies of a Crime', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Genealogies_of_a_Crime property:director ?l . ?l rdf:type ontology:common_name }
[]
common name
Q459299
SYSTEM
Raúl Ruiz
Q459299
(Q1379366,P57,c(Q502895))
action filter_type
action find
entity Q1379366
relation P57
type Q502895
[ANSWER] directed Genealogies of a Crime
['Q1379366', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1379366 property:P57 ?l . ?l rdf:type ontology:Q502895 }
Raúl Ruiz
Raúl Ruiz directed Genealogies of a Crime
Raúl Ruiz
action filter_type
action find
entity Genealogies of a Crime
relation director
type common name
['Genealogies of a Crime', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Genealogies_of_a_Crime property:director ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1379366
P495
Q15617994
USER
Where did Genealogies of a Crime originate ?
(Q1379366,P495,c(Q15617994))
action filter_type
action find
entity Q1379366
relation P495
type Q15617994
['Q1379366', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1379366 property:P495 ?n }
Genealogies of a Crime
action filter_type
action find
entity Genealogies of a Crime
relation country of origin
type designation for an administrative territorial entity
['Genealogies of a Crime', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Genealogies_of_a_Crime property:country_of_origin ?n }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1379366,P495,c(Q15617994))
action filter_type
action find
entity Q1379366
relation P495
type Q15617994
Genealogies of a Crime originated in [ANSWER]
['Q1379366', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1379366 property:P495 ?n }
France
Genealogies of a Crime originated in France
France
action filter_type
action find
entity Genealogies of a Crime
relation country of origin
type designation for an administrative territorial entity
['Genealogies of a Crime', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Genealogies_of_a_Crime property:country_of_origin ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q459299
P26
Q502895
USER
Who is the spouse of Raúl Ruiz ?
(Q459299,P26,c(Q502895))
action filter_type
action find
entity Q459299
relation P26
type Q502895
['Q459299', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q459299 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Raúl Ruiz
action filter_type
action find
entity Raúl Ruiz
relation spouse
type common name
['Raúl Ruiz', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Raúl_Ruiz property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3553698
SYSTEM
Valeria Sarmiento
Q3553698
(Q459299,P26,c(Q502895))
action filter_type
action find
entity Q459299
relation P26
type Q502895
The spouse of Raúl Ruiz is the [ANSWER]
['Q459299', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q459299 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Valeria Sarmiento
The spouse of Raúl Ruiz is the Valeria Sarmiento
Valeria Sarmiento
action filter_type
action find
entity Raúl Ruiz
relation spouse
type common name
['Raúl Ruiz', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Raúl_Ruiz property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1350588
Q502895
USER
And also tell me about Gil Gerard?
(Q1350588,P26,c(Q502895))
action filter_type
action find
entity Q1350588
relation P26
type Q502895
['Q1350588', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1350588 property:P26 ?m }
Gil Gerard
action filter_type
action find
entity Gil Gerard
relation spouse
type common name
['Gil Gerard', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Gil_Gerard property:spouse ?m }
[]
common name
Q262580
SYSTEM
Connie Sellecca
Q262580
(Q1350588,P26,c(Q502895))
action filter_type
action find
entity Q1350588
relation P26
type Q502895
[ANSWER]
['Q1350588', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1350588 property:P26 ?m }
Connie Sellecca
Connie Sellecca
action filter_type
action find
entity Gil Gerard
relation spouse
type common name
['Gil Gerard', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Gil_Gerard property:spouse ?m }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q262580 Q3182586 Q1350588
P26
Q502895
USER
Is Connie Sellecca married to John Tesh and Gil Gerard ?
(Q262580,P26,Q3182586) (Q262580,P26,Q1350588)
action is_in
entity Q262580
action intersection
action find_reverse
entity Q3182586
relation P26
action find_reverse
entity Q1350588
relation P26
['Q262580', 'P26', 'Q3182586'] ['Q262580', 'P26', 'Q1350588']
ASK WHERE { resource:Q262580 property:P26 resource:Q3182586 . resource:Q262580 property:P26 resource:Q1350588 }
Connie Sellecca John Tesh Gil Gerard
action is_in
entity Connie Sellecca
action intersection
action find_reverse
entity John Tesh
relation spouse
action find_reverse
entity Gil Gerard
relation spouse
['Connie Sellecca', 'spouse', 'John Tesh'] ['Connie Sellecca', 'spouse', 'Gil Gerard']
ASK WHERE { resource:Connie_Sellecca property:spouse resource:John_Tesh . resource:Connie_Sellecca property:spouse resource:Gil_Gerard }
[]
common name
SYSTEM
YES
(Q262580,P26,Q3182586) (Q262580,P26,Q1350588)
action is_in
entity Q262580
action intersection
action find_reverse
entity Q3182586
relation P26
action find_reverse
entity Q1350588
relation P26
[ANSWER]
['Q262580', 'P26', 'Q3182586'] ['Q262580', 'P26', 'Q1350588']
ASK WHERE { resource:Q262580 property:P26 resource:Q3182586 . resource:Q262580 property:P26 resource:Q1350588 }
Yes
action is_in
entity Connie Sellecca
action intersection
action find_reverse
entity John Tesh
relation spouse
action find_reverse
entity Gil Gerard
relation spouse
['Connie Sellecca', 'spouse', 'John Tesh'] ['Connie Sellecca', 'spouse', 'Gil Gerard']
ASK WHERE { resource:Connie_Sellecca property:spouse resource:John_Tesh . resource:Connie_Sellecca property:spouse resource:Gil_Gerard }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q459299 Q734335 Q20899923
P166
Q618779
USER
Was Raúl Ruiz honoured with Louis Delluc Prize and Order of the Polar Star - Commander ?
(Q459299,P166,Q734335) (Q459299,P166,Q20899923)
action is_in
entity Q459299
action intersection
action find_reverse
entity Q734335
relation P166
action find_reverse
entity Q20899923
relation P166
['Q459299', 'P166', 'Q734335'] ['Q459299', 'P166', 'Q20899923']
ASK WHERE { resource:Q459299 property:P166 resource:Q20899923 . resource:Q459299 property:P166 resource:Q734335 }
Raúl Ruiz Louis Delluc Prize Order of the Polar Star - Commander
action is_in
entity Raúl Ruiz
action intersection
action find_reverse
entity Louis Delluc Prize
relation award received
action find_reverse
entity Order of the Polar Star - Commander
relation award received
['Raúl Ruiz', 'award received', 'Louis Delluc Prize'] ['Raúl Ruiz', 'award received', 'Order of the Polar Star - Commander']
ASK WHERE { resource:Raúl_Ruiz property:award_received resource:Order_of_the_Polar_Star_-_Commander . resource:Raúl_Ruiz property:award_received resource:Louis_Delluc_Prize }
[]
award
SYSTEM
YES and NO respectively
(Q459299,P166,Q734335) (Q459299,P166,Q20899923)
action is_in
entity Q459299
action intersection
action find_reverse
entity Q734335
relation P166
action find_reverse
entity Q20899923
relation P166
[ANSWER]
['Q459299', 'P166', 'Q734335'] ['Q459299', 'P166', 'Q20899923']
ASK WHERE { resource:Q459299 property:P166 resource:Q20899923 . resource:Q459299 property:P166 resource:Q734335 }
YES and NO respectively
action is_in
entity Raúl Ruiz
action intersection
action find_reverse
entity Louis Delluc Prize
relation award received
action find_reverse
entity Order of the Polar Star - Commander
relation award received
['Raúl Ruiz', 'award received', 'Louis Delluc Prize'] ['Raúl Ruiz', 'award received', 'Order of the Polar Star - Commander']
ASK WHERE { resource:Raúl_Ruiz property:award_received resource:Order_of_the_Polar_Star_-_Commander . resource:Raúl_Ruiz property:award_received resource:Louis_Delluc_Prize }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q399
P463
Q484652
USER
How many international organizations were France and Armenia a member of ?
(Q142,P463,c(Q484652)) (Q399,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q484652
action filter_type
action find
entity Q399
relation P463
type Q484652
['Q142', 'P463', {'concept': 'Q484652'}] ['Q399', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q142 property:P463 ?w . ?w rdf:type ontology:Q484652 . resource:Q399 property:P463 ?w . ?w rdf:type ontology:Q484652 }
France Armenia
action count
action intersection
action filter_type
action find
entity France
relation member of
type international organization
action filter_type
action find
entity Armenia
relation member of
type international organization
['France', 'member of', {'concept': 'international organization'}] ['Armenia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:France property:member_of ?w . ?w rdf:type ontology:international_organization . resource:Armenia property:member_of ?w . ?w rdf:type ontology:international_organization }
[]
international organization
SYSTEM
4
Q81299 Q1065 Q188822 Q1043527
(Q142,P463,c(Q484652)) (Q399,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q142
relation P463
type Q484652
action filter_type
action find
entity Q399
relation P463
type Q484652
[ANSWER]
['Q142', 'P463', {'concept': 'Q484652'}] ['Q399', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q142 property:P463 ?w . ?w rdf:type ontology:Q484652 . resource:Q399 property:P463 ?w . ?w rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Asian Development Bank Multilateral Investment Guarantee Agency
4
action count
action intersection
action filter_type
action find
entity France
relation member of
type international organization
action filter_type
action find
entity Armenia
relation member of
type international organization
['France', 'member of', {'concept': 'international organization'}] ['Armenia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:France property:member_of ?w . ?w rdf:type ontology:international_organization . resource:Armenia property:member_of ?w . ?w rdf:type ontology:international_organization }
[]