Simple Question (Direct)
Simple Question
Q4207471
P184
Q502895
USER
Who was the doctoral advisor of Aleksandr Kazhikhov ?
(Q4207471,P184,c(Q502895))
action filter_type
action find
entity Q4207471
relation P184
type Q502895
['Q4207471', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q4207471 property:P184 ?k . ?k rdf:type ontology:Q502895 }
Aleksandr Kazhikhov
action filter_type
action find
entity Aleksandr Kazhikhov
relation doctoral advisor
type common name
['Aleksandr Kazhikhov', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Aleksandr_Kazhikhov property:doctoral_advisor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q4301582
SYSTEM
Valentin Monakhov
Q4301582
(Q4207471,P184,c(Q502895))
action filter_type
action find
entity Q4207471
relation P184
type Q502895
The doctoral advisor of Aleksandr Kazhikhov was the [ANSWER]
['Q4207471', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q4207471 property:P184 ?k . ?k rdf:type ontology:Q502895 }
Valentin Monakhov
The doctoral advisor of Aleksandr Kazhikhov was the Valentin Monakhov
Valentin Monakhov
action filter_type
action find
entity Aleksandr Kazhikhov
relation doctoral advisor
type common name
['Aleksandr Kazhikhov', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Aleksandr_Kazhikhov property:doctoral_advisor ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4301582
P20
Q56061
USER
Where did the demise of that person occur ?
(Q4301582,P20,c(Q56061))
action filter_type
action find
entity Q4301582
relation P20
type Q56061
['Q4301582', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q4301582 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Valentin Monakhov
action filter_type
action find
entity Valentin Monakhov
relation place of death
type administrative territorial entity
['Valentin Monakhov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Valentin_Monakhov property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q883
SYSTEM
Novosibirsk
Q883
(Q4301582,P20,c(Q56061))
action filter_type
action find
entity Q4301582
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q4301582', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q4301582 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Novosibirsk
The demise of that person occurred in Novosibirsk
Novosibirsk
action filter_type
action find
entity Valentin Monakhov
relation place of death
type administrative territorial entity
['Valentin Monakhov', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Valentin_Monakhov property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q883
P190
Q5119
USER
Which capital is the sister city of that administrative territory ?
(Q883,P190,c(Q5119))
action filter_type
action find
entity Q883
relation P190
type Q5119
['Q883', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5119 . resource:Q883 property:P190 ?z }
Novosibirsk
action filter_type
action find
entity Novosibirsk
relation sister city
type capital
['Novosibirsk', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:capital . resource:Novosibirsk property:sister_city ?z }
[]
capital
Q36091
SYSTEM
Minneapolis
Q36091
(Q883,P190,c(Q5119))
action filter_type
action find
entity Q883
relation P190
type Q5119
[ANSWER] is the sister city of that administrative territory
['Q883', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q5119 . resource:Q883 property:P190 ?z }
Minneapolis
Minneapolis is the sister city of that administrative territory
Minneapolis
action filter_type
action find
entity Novosibirsk
relation sister city
type capital
['Novosibirsk', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:capital . resource:Novosibirsk property:sister_city ?z }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q883
Q515
USER
And which city?
(Q883,P190,c(Q515))
action filter_type
action find
entity Q883
relation P190
type Q515
['Q883', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q883 property:P190 ?z . ?z rdf:type ontology:Q515 }
Novosibirsk
action filter_type
action find
entity Novosibirsk
relation sister city
type city
['Novosibirsk', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Novosibirsk property:sister_city ?z . ?z rdf:type ontology:city }
[]
city
Q20921
SYSTEM
Daejeon
Q20921
(Q883,P190,c(Q515))
action filter_type
action find
entity Q883
relation P190
type Q515
[ANSWER]
['Q883', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q883 property:P190 ?z . ?z rdf:type ontology:Q515 }
Daejeon
Daejeon
action filter_type
action find
entity Novosibirsk
relation sister city
type city
['Novosibirsk', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Novosibirsk property:sister_city ?z . ?z rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20921 Q2266316
P190
Q56061
USER
Is Gabrje, Tolmin sister town of that city ?
(Q2266316,P190,Q20921)
action is_in
entity Q2266316
action find
entity Q20921
relation P190
['Q2266316', 'P190', 'Q20921']
ASK WHERE { resource:Q20921 property:P190 resource:Q2266316 }
Daejeon Gabrje, Tolmin
action is_in
entity Gabrje, Tolmin
action find
entity Daejeon
relation sister city
['Gabrje, Tolmin', 'sister city', 'Daejeon']
ASK WHERE { resource:Daejeon property:sister_city resource:Gabrje,_Tolmin }
[]
administrative territorial entity
SYSTEM
NO
(Q2266316,P190,Q20921)
action is_in
entity Q2266316
action find
entity Q20921
relation P190
[ANSWER]
['Q2266316', 'P190', 'Q20921']
ASK WHERE { resource:Q20921 property:P190 resource:Q2266316 }
No
action is_in
entity Gabrje, Tolmin
action find
entity Daejeon
relation sister city
['Gabrje, Tolmin', 'sister city', 'Daejeon']
ASK WHERE { resource:Daejeon property:sister_city resource:Gabrje,_Tolmin }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4301582 Q4251921
P27
Q15617994
USER
Is Labunino the country of citizenship of Valentin Monakhov ?
(Q4301582,P27,Q4251921)
action is_in
entity Q4251921
action find
entity Q4301582
relation P27
['Q4301582', 'P27', 'Q4251921']
ASK WHERE { resource:Q4301582 property:P27 resource:Q4251921 }
Valentin Monakhov Labunino
action is_in
entity Labunino
action find
entity Valentin Monakhov
relation country of citizenship
['Valentin Monakhov', 'country of citizenship', 'Labunino']
ASK WHERE { resource:Valentin_Monakhov property:country_of_citizenship resource:Labunino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4301582,P27,Q4251921)
action is_in
entity Q4251921
action find
entity Q4301582
relation P27
[ANSWER]
['Q4301582', 'P27', 'Q4251921']
ASK WHERE { resource:Q4301582 property:P27 resource:Q4251921 }
No
action is_in
entity Labunino
action find
entity Valentin Monakhov
relation country of citizenship
['Valentin Monakhov', 'country of citizenship', 'Labunino']
ASK WHERE { resource:Valentin_Monakhov property:country_of_citizenship resource:Labunino }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20921 Q1781
P190
Q56061
USER
Is Budapest partner town of Daejeon ?
(Q20921,P190,Q1781)
action is_in
entity Q1781
action find
entity Q20921
relation P190
['Q20921', 'P190', 'Q1781']
ASK WHERE { resource:Q20921 property:P190 resource:Q1781 }
Daejeon Budapest
action is_in
entity Budapest
action find
entity Daejeon
relation sister city
['Daejeon', 'sister city', 'Budapest']
ASK WHERE { resource:Daejeon property:sister_city resource:Budapest }
[]
administrative territorial entity
SYSTEM
YES
(Q20921,P190,Q1781)
action is_in
entity Q1781
action find
entity Q20921
relation P190
[ANSWER]
['Q20921', 'P190', 'Q1781']
ASK WHERE { resource:Q20921 property:P190 resource:Q1781 }
Yes
action is_in
entity Budapest
action find
entity Daejeon
relation sister city
['Daejeon', 'sister city', 'Budapest']
ASK WHERE { resource:Daejeon property:sister_city resource:Budapest }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36091
P159
Q43229 Q874405
USER
How many organizations or social groups have HQ at Minneapolis ?
(c(Q43229),P159,Q36091) (c(Q874405),P159,Q36091)
action count
action union
action filter_type
action find_reverse
entity Q36091
relation P159
type Q43229
action filter_type
action find_reverse
entity Q36091
relation P159
type Q874405
[{'concept': 'Q43229'}, 'P159', 'Q36091'] [{'concept': 'Q874405'}, 'P159', 'Q36091']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?d rdf:type ?o }
Minneapolis
action count
action union
action filter_type
action find_reverse
entity Minneapolis
relation headquarters location
type organization
action filter_type
action find_reverse
entity Minneapolis
relation headquarters location
type social group
[{'concept': 'organization'}, 'headquarters location', 'Minneapolis'] [{'concept': 'social group'}, 'headquarters location', 'Minneapolis']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:organization ) ( ontology:social_group ) } . ?d rdf:type ?o }
[]
organization social group
SYSTEM
88
Q6037573 Q17108572 Q5450259 Q5141345 Q4654921 Q4732681 Q48822 Q1423726 Q5039494 Q16986355 Q3389022 Q7309325 Q4042484 Q7437072 Q682047 Q19868046 Q6532286 Q1046951 Q5896900 Q5591659 Q4833953 Q1409553 Q7447640 Q6291141 Q5243467 Q5281487 Q7757471 Q22674047 Q17105977 Q7562832 Q18150584 Q8036488 Q7104393 Q17142350 Q7057417 Q5357379 Q5501841 Q7101941 Q7134593 Q5245832 Q5028121 Q9058233 Q5597147 Q7407535 Q1879651 Q17082992 Q7983208 Q5209468 Q5133159 Q7157350 Q8069278 Q8035970 Q6974262 Q4698435 Q4674563 Q5266106 Q7334373 Q7621807 Q8023296 Q3337323 Q7602960 Q7201670 Q467330 Q5295350 Q17145436 Q7303543 Q4664372 Q1486956 Q6776895 Q632694 Q642189 Q7057781 Q16974219 Q739084 Q7096250 Q7884617 Q6554228 Q6939033 Q4915390 Q19884156 Q5643021 Q5519650 Q17093255 Q5513697 Q4906564 Q7897301 Q6979423 Q8063291
(c(Q43229),P159,Q36091) (c(Q874405),P159,Q36091)
action count
action union
action filter_type
action find_reverse
entity Q36091
relation P159
type Q43229
action filter_type
action find_reverse
entity Q36091
relation P159
type Q874405
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q36091'] [{'concept': 'Q874405'}, 'P159', 'Q36091']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:Q43229 ) ( ontology:Q874405 ) } . ?d rdf:type ?o }
Inside Edge Miracle-Ear Fingerhut Coherent Solutions ATS Medical Allina Health Valspar Pillsbury Company Caribou Coffee Insignia Systems, Inc. Piper Jaffray Regis Corporation LORAM Maintenance of Way, Inc. Scott Political SuperValu Sportradar US Let's Dish! Target Corporation Honor the Earth Graco B. Dalton Ellerbe Becket Select Comfort Jostens Dayton's Disciplined Growth Investors The Playwrights' Center Mortenson Construction Spell Capital Partners Sopheon Exosite World Wide Pictures OrthoCor Metropolitan Music Co. North Woods Advertising Electric Fetus French Meadow Bakery Organization for Human Brain Mapping Paragon Cable DealDash Campbell Mithun PepsiAmericas Graphic Universe Sam Goody Victory Motorcycles SPS Commerce Werc Werk Works Dain Rauscher Wessels CliftonLarsonAllen Peace Coffee Zeos World Mission Prayer League National Marrow Donor Program Airborne Athletics Acorn Stores DeucesCracked Rimage Corporation Strategic Name Development Wilsons Leather Navitaire Stat-Ease Plantscape Inc. American Wrestling Association Donaldson's Viridian Green Laser Sights RedBrick Health Abbott Northwestern Hospital Xcel Energy Martin Williams Advertising Archer Daniels Midland Medtronic Northcountry Cooperative Development Fund Minnesota International Center U.S. Bancorp Open Systems International Uni-Systems LinkUp Murphy Warehouse Company Biovest Tennant Company Hallmark Business Connections Gamble-Skogmo Solve GMAC ResCap Big Time Attic Unplugged Cities National Wind ZTR Control Systems
88
action count
action union
action filter_type
action find_reverse
entity Minneapolis
relation headquarters location
type organization
action filter_type
action find_reverse
entity Minneapolis
relation headquarters location
type social group
[{'concept': 'organization'}, 'headquarters location', 'Minneapolis'] [{'concept': 'social group'}, 'headquarters location', 'Minneapolis']
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { VALUES ( ?o ) { ( ontology:organization ) ( ontology:social_group ) } . ?d rdf:type ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q883 Q171882
P190
Q56061
USER
Is Larnaca twin town of Novosibirsk ?
(Q883,P190,Q171882)
action is_in
entity Q171882
action find
entity Q883
relation P190
['Q883', 'P190', 'Q171882']
ASK WHERE { resource:Q883 property:P190 resource:Q171882 }
Novosibirsk Larnaca
action is_in
entity Larnaca
action find
entity Novosibirsk
relation sister city
['Novosibirsk', 'sister city', 'Larnaca']
ASK WHERE { resource:Novosibirsk property:sister_city resource:Larnaca }
[]
administrative territorial entity
SYSTEM
YES
(Q883,P190,Q171882)
action is_in
entity Q171882
action find
entity Q883
relation P190
[ANSWER]
['Q883', 'P190', 'Q171882']
ASK WHERE { resource:Q883 property:P190 resource:Q171882 }
Yes
action is_in
entity Larnaca
action find
entity Novosibirsk
relation sister city
['Novosibirsk', 'sister city', 'Larnaca']
ASK WHERE { resource:Novosibirsk property:sister_city resource:Larnaca }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q883
P740
Q4830453
USER
Which business enterprise originated at Novosibirsk ?
action filter_type
action find_reverse
entity Q883
relation P740
type Q4830453
SELECT DISTINCT ?t WHERE { ?t property:P740 resource:Q883 . ?t rdf:type ontology:Q4830453 }
Novosibirsk
action filter_type
action find_reverse
entity Novosibirsk
relation location of formation
type business enterprise
SELECT DISTINCT ?t WHERE { ?t property:location_of_formation resource:Novosibirsk . ?t rdf:type ontology:business_enterprise }
[]
business enterprise
Q212268
SYSTEM
Antonov
Q212268
action filter_type
action find_reverse
entity Q883
relation P740
type Q4830453
As [ANSWER] originated at Novosibirsk
SELECT DISTINCT ?t WHERE { ?t property:P740 resource:Q883 . ?t rdf:type ontology:Q4830453 }
Antonov
As Antonov originated at Novosibirsk
Antonov
action filter_type
action find_reverse
entity Novosibirsk
relation location of formation
type business enterprise
SELECT DISTINCT ?t WHERE { ?t property:location_of_formation resource:Novosibirsk . ?t rdf:type ontology:business_enterprise }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q80985 Q1781
P190
Q56061
USER
Which administrative territories are twin cities of Budapest or Fes ?
OR((Q1781,P190,c(Q56061)), (Q80985,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1781
relation P190
action find
entity Q80985
relation P190
type Q56061
{'OR': [['Q1781', 'P190', {'concept': 'Q56061'}], ['Q80985', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1781 property:P190 ?u } UNION { resource:Q80985 property:P190 ?u } } . ?u rdf:type ontology:Q56061 }
Fes Budapest
action filter_type
action union
action find
entity Budapest
relation sister city
action find
entity Fes
relation sister city
type administrative territorial entity
{'OR': [['Budapest', 'sister city', {'concept': 'administrative territorial entity'}], ['Fes', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Budapest property:sister_city ?u } UNION { resource:Fes property:sister_city ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634 Q45412 Q36036 Q216 Q6441 Q25409 Q2044 Q1218 Q1019424 Q1741
SYSTEM
Some of them are Naples, Coimbra, Lviv, Vilnius, Montpellier, Košice, Florence, Jerusalem, Rufisque, Vienna
Q3766 Q5818 Q273779 Q25409 Q223761 Q2634 Q1218 Q179570 Q1741 Q20714 Q13386 Q2044 Q33935 Q45412 Q406 Q1861 Q174 Q216 Q270 Q16558 Q2807 Q597 Q956 Q1019424 Q214178 Q64 Q1492 Q6441 Q60 Q36036
OR((Q1781,P190,c(Q56061)), (Q80985,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1781
relation P190
action find
entity Q80985
relation P190
type Q56061
[ANSWERS] are twin cities of Budapest or Fes
{'OR': [['Q1781', 'P190', {'concept': 'Q56061'}], ['Q80985', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q1781 property:P190 ?u } UNION { resource:Q80985 property:P190 ?u } } . ?u rdf:type ontology:Q56061 }
Damascus Córdoba Saint-Louis Košice Bobo Dioulasso Naples Jerusalem Kairouan Vienna Suwon Lecce Florence Tel Aviv Coimbra Istanbul Bangkok São Paulo Vilnius Warsaw Fort Worth Madrid Lisbon Beijing Rufisque Nablus Berlin Barcelona Montpellier New York City Lviv
Naples, Coimbra, Lviv, Vilnius, Montpellier, Košice, Florence, Jerusalem, Rufisque and Vienna are twin cities of Budapest or Fes
Naples Coimbra Lviv Vilnius Montpellier Košice Florence Jerusalem Rufisque Vienna
action filter_type
action union
action find
entity Budapest
relation sister city
action find
entity Fes
relation sister city
type administrative territorial entity
{'OR': [['Budapest', 'sister city', {'concept': 'administrative territorial entity'}], ['Fes', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Budapest property:sister_city ?u } UNION { resource:Fes property:sister_city ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]