Simple Question (Direct)
Simple Question
Q6832360
P734
Q82799
USER
Which name is associated with Mikhail Tsetlin ?
(Q6832360,P734,c(Q82799))
action filter_type
action find
entity Q6832360
relation P734
type Q82799
['Q6832360', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6832360 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Mikhail Tsetlin
action filter_type
action find
entity Mikhail Tsetlin
relation family name
type name
['Mikhail Tsetlin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Mikhail_Tsetlin property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q23045446
SYSTEM
Zeitlin
Q23045446
(Q6832360,P734,c(Q82799))
action filter_type
action find
entity Q6832360
relation P734
type Q82799
[ANSWER] is associated with Mikhail Tsetlin
['Q6832360', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q6832360 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Zeitlin
Zeitlin is associated with Mikhail Tsetlin
Zeitlin
action filter_type
action find
entity Mikhail Tsetlin
relation family name
type name
['Mikhail Tsetlin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Mikhail_Tsetlin property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6832360
P21
Q290
USER
Which sex does Mikhail Tsetlin belong to ?
(Q6832360,P21,c(Q290))
action filter_type
action find
entity Q6832360
relation P21
type Q290
['Q6832360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6832360 property:P21 ?k . ?k rdf:type ontology:Q290 }
Mikhail Tsetlin
action filter_type
action find
entity Mikhail Tsetlin
relation gender
type sex
['Mikhail Tsetlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Mikhail_Tsetlin property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6832360,P21,c(Q290))
action filter_type
action find
entity Q6832360
relation P21
type Q290
Mikhail Tsetlin belongs to [ANSWER]
['Q6832360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q6832360 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Mikhail Tsetlin belongs to male
male
action filter_type
action find
entity Mikhail Tsetlin
relation gender
type sex
['Mikhail Tsetlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Mikhail_Tsetlin property:gender ?k . ?k rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6832360
P20
Q56061
USER
How many administrative territories did the demise of Mikhail Tsetlin occur ?
(Q6832360,P20,c(Q56061))
action count
action filter_type
action find
entity Q6832360
relation P20
type Q56061
['Q6832360', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:Q56061 . resource:Q6832360 property:P20 ?b }
Mikhail Tsetlin
action count
action filter_type
action find
entity Mikhail Tsetlin
relation place of death
type administrative territorial entity
['Mikhail Tsetlin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Mikhail_Tsetlin property:place_of_death ?b }
[]
administrative territorial entity
SYSTEM
1
Q649
(Q6832360,P20,c(Q56061))
action count
action filter_type
action find
entity Q6832360
relation P20
type Q56061
[ANSWER]
['Q6832360', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:Q56061 . resource:Q6832360 property:P20 ?b }
Moscow
1
action count
action filter_type
action find
entity Mikhail Tsetlin
relation place of death
type administrative territorial entity
['Mikhail Tsetlin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Mikhail_Tsetlin property:place_of_death ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6832360
P20
Q56061
USER
Where did that person die ?
action filter_type
action find
entity Q6832360
relation P20
type Q56061
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q6832360 property:P20 ?e }
Mikhail Tsetlin
action filter_type
action find
entity Mikhail Tsetlin
relation place of death
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Mikhail_Tsetlin property:place_of_death ?e }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
action filter_type
action find
entity Q6832360
relation P20
type Q56061
That person died in [ANSWER]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q6832360 property:P20 ?e }
Moscow
That person died in Moscow
Moscow
action filter_type
action find
entity Mikhail Tsetlin
relation place of death
type administrative territorial entity
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Mikhail_Tsetlin property:place_of_death ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P276
Q131569 Q483110
USER
How many treaties or stadia are situated at that administrative territory ?
(c(Q131569),P276,Q649) (c(Q483110),P276,Q649) (c(Q131569),P276,Q649) (c(Q483110),P276,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P276
type Q131569
action filter_type
action find_reverse
entity Q649
relation P276
type Q483110
[{'concept': 'Q131569'}, 'P276', 'Q649'] [{'concept': 'Q483110'}, 'P276', 'Q649'] [{'concept': 'Q131569'}, 'P276', 'Q649'] [{'concept': 'Q483110'}, 'P276', 'Q649']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:P276 resource:Q649 . ?h rdf:type ontology:Q131569 } UNION { ?h property:P276 resource:Q649 . ?h rdf:type ontology:Q483110 } }
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location
type treaty
action filter_type
action find_reverse
entity Moscow
relation location
type stadium
[{'concept': 'treaty'}, 'location', 'Moscow'] [{'concept': 'stadium'}, 'location', 'Moscow'] [{'concept': 'treaty'}, 'location', 'Moscow'] [{'concept': 'stadium'}, 'location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:location resource:Moscow . ?h rdf:type ontology:treaty } UNION { ?h property:location resource:Moscow . ?h rdf:type ontology:stadium } }
[]
treaty stadium
SYSTEM
3
Q159644 Q1190634 Q130796
(c(Q131569),P276,Q649) (c(Q483110),P276,Q649) (c(Q131569),P276,Q649) (c(Q483110),P276,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P276
type Q131569
action filter_type
action find_reverse
entity Q649
relation P276
type Q483110
[ANSWER]
[{'concept': 'Q131569'}, 'P276', 'Q649'] [{'concept': 'Q483110'}, 'P276', 'Q649'] [{'concept': 'Q131569'}, 'P276', 'Q649'] [{'concept': 'Q483110'}, 'P276', 'Q649']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:P276 resource:Q649 . ?h rdf:type ontology:Q131569 } UNION { ?h property:P276 resource:Q649 . ?h rdf:type ontology:Q483110 } }
Treaty on the Final Settlement with Respect to Germany Otkrytie Arena Molotov–Ribbentrop Pact
3
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location
type treaty
action filter_type
action find_reverse
entity Moscow
relation location
type stadium
[{'concept': 'treaty'}, 'location', 'Moscow'] [{'concept': 'stadium'}, 'location', 'Moscow'] [{'concept': 'treaty'}, 'location', 'Moscow'] [{'concept': 'stadium'}, 'location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { ?h property:location resource:Moscow . ?h rdf:type ontology:treaty } UNION { ?h property:location resource:Moscow . ?h rdf:type ontology:stadium } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q649
P190
Q56061 Q515
USER
How many administrative territories or cities are a sister city of Moscow ?
(c(Q56061),P190,Q649) (c(Q515),P190,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P190
type Q56061
action filter_type
action find_reverse
entity Q649
relation P190
type Q515
[{'concept': 'Q56061'}, 'P190', 'Q649'] [{'concept': 'Q515'}, 'P190', 'Q649']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a property:P190 resource:Q649 . ?a rdf:type ontology:Q56061 } UNION { ?a property:P190 resource:Q649 . ?a rdf:type ontology:Q515 } }
Moscow
action count
action union
action filter_type
action find_reverse
entity Moscow
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Moscow
relation sister city
type city
[{'concept': 'administrative territorial entity'}, 'sister city', 'Moscow'] [{'concept': 'city'}, 'sister city', 'Moscow']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a property:sister_city resource:Moscow . ?a rdf:type ontology:administrative_territorial_entity } UNION { ?a property:sister_city resource:Moscow . ?a rdf:type ontology:city } }
[]
administrative territorial entity city
SYSTEM
61
Q41572 Q437 Q131290 Q994 Q807 Q987 Q1353 Q727 Q1486 Q3572 Q472 Q23564 Q179830 Q13498 Q178373 Q42308 Q1770 Q1773 Q1718 Q18808 Q1297 Q9005 Q8684 Q25409 Q1524 Q19660 Q1780 Q1520 Q3616 Q1741 Q64 Q3630 Q140147 Q33935 Q3640 Q3561 Q1490 Q5582862 Q1461 Q84 Q85 Q216 Q1218 Q19689 Q1861 Q133026 Q486282 Q43070 Q3004 Q270 Q239 Q1953 Q2807 Q956 Q196678 Q3805 Q1491 Q19566 Q3820 Q186576 Q1085
(c(Q56061),P190,Q649) (c(Q515),P190,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P190
type Q56061
action filter_type
action find_reverse
entity Q649
relation P190
type Q515
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q649'] [{'concept': 'Q515'}, 'P190', 'Q649']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a property:P190 resource:Q649 . ?a rdf:type ontology:Q56061 } UNION { ?a property:P190 resource:Q649 . ?a rdf:type ontology:Q515 } }
Mykolaiv Ljubljana Ganja Tbilisi Lausanne New Delhi Delhi Amsterdam Buenos Aires Tunis Sofia Podgorica Jelgava Taranto Rasht Kharkiv Tallinn Riga Düsseldorf Pyongyang Chicago Brussels Seoul Košice Athens Bucharest Bratislava Astana Tehran Vienna Berlin Jakarta Brest Tel Aviv Ankara Algiers Tokyo Cusco Manila London Cairo Vilnius Jerusalem Tirana Bangkok Kolomna Pavlodar Donetsk Ingolstadt Warsaw Brussels Yerevan Madrid Beijing Torzhok Amman La Paz Simferopol Beirut Pazardzhik Prague
61
action count
action union
action filter_type
action find_reverse
entity Moscow
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Moscow
relation sister city
type city
[{'concept': 'administrative territorial entity'}, 'sister city', 'Moscow'] [{'concept': 'city'}, 'sister city', 'Moscow']
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { ?a property:sister_city resource:Moscow . ?a rdf:type ontology:administrative_territorial_entity } UNION { ?a property:sister_city resource:Moscow . ?a rdf:type ontology:city } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q8035707 Q6832360
P184 P1346
Q502895
USER
Which people were the doctoral advisors of Mikhail Tsetlin or won World Fantasy Special Award: Professional ?
OR((Q6832360,P184,c(Q502895)), (Q8035707,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q6832360
relation P184
action find
entity Q8035707
relation P1346
type Q502895
{'OR': [['Q6832360', 'P184', {'concept': 'Q502895'}], ['Q8035707', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q8035707 property:P1346 ?b } UNION { resource:Q6832360 property:P184 ?b } } . ?b rdf:type ontology:Q502895 }
World Fantasy Special Award: Professional Mikhail Tsetlin
action filter_type
action union
action find
entity Mikhail Tsetlin
relation doctoral advisor
action find
entity World Fantasy Special Award: Professional
relation winner
type common name
{'OR': [['Mikhail Tsetlin', 'doctoral advisor', {'concept': 'common name'}], ['World Fantasy Special Award: Professional', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:World_Fantasy_Special_Award:_Professional property:winner ?b } UNION { resource:Mikhail_Tsetlin property:doctoral_advisor ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q5528159 Q628482 Q16121664 Q5233934 Q5980830 Q7350932 Q272748 Q7173464 Q765918 Q625272
SYSTEM
Some of them are Gavin Grant, George H. Scithers, Pat LoBrutto, David G. Hartwell, Ian Ballantine, Robert Weinberg, Joy Chant, Peter Crowther, Lucia Graves, S. T. Joshi
Q704553 Q16121664 Q95120 Q5233934 Q2394387 Q315414 Q4898710 Q5980830 Q1810264 Q765918 Q6274539 Q6198618 Q628482 Q4942268 Q7173464 Q5528159 Q5294729 Q4160428 Q3181632 Q4521762 Q3518754 Q7441515 Q6770117 Q908589 Q6755577 Q2389424 Q1190926 Q5364740 Q3133864 Q7350932 Q2350792 Q625272 Q272748 Q5321850
OR((Q6832360,P184,c(Q502895)), (Q8035707,P1346,c(Q502895)))
action filter_type
action union
action find
entity Q6832360
relation P184
action find
entity Q8035707
relation P1346
type Q502895
[ANSWERS] were the doctoral advisors of Mikhail Tsetlin or won World Fantasy Special Award: Professional
{'OR': [['Q6832360', 'P184', {'concept': 'Q502895'}], ['Q8035707', 'P1346', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q8035707 property:P1346 ?b } UNION { resource:Q6832360 property:P184 ?b } } . ?b rdf:type ontology:Q502895 }
Chris Van Allsburg Pat LoBrutto Tom Shippey David G. Hartwell Jane Yolen Israel Gelfand Betty Ballantine Ian Ballantine Ellen Datlow Lucia Graves Jonathan Strahan Jim Turner George H. Scithers Jeanne Cavelos Peter Crowther Gavin Grant Donald M. Grant Stephen Jones John Grant Darrell Schweitzer Terri Windling Sean Wallace Mark V. Ziesing Donald Allen Wollheim Marc Gascoigne Gordon Van Gelder Kelly Link Ellen Asher John Clute Robert Weinberg Edward L. Ferman S. T. Joshi Joy Chant E. F. Bleiler
Gavin Grant, George H. Scithers, Pat LoBrutto, David G. Hartwell, Ian Ballantine, Robert Weinberg, Joy Chant, Peter Crowther, Lucia Graves and S. T. Joshi were the doctoral advisors of Mikhail Tsetlin or won World Fantasy Special Award: Professional
Gavin Grant George H. Scithers Pat LoBrutto David G. Hartwell Ian Ballantine Robert Weinberg Joy Chant Peter Crowther Lucia Graves S. T. Joshi
action filter_type
action union
action find
entity Mikhail Tsetlin
relation doctoral advisor
action find
entity World Fantasy Special Award: Professional
relation winner
type common name
{'OR': [['Mikhail Tsetlin', 'doctoral advisor', {'concept': 'common name'}], ['World Fantasy Special Award: Professional', 'winner', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:World_Fantasy_Special_Award:_Professional property:winner ?b } UNION { resource:Mikhail_Tsetlin property:doctoral_advisor ?b } } . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q182529
P1346
Q618779
USER
Were those people decalred as a champion of FIFA World Player of the Year ?
(Q182529,P1346,Q5528159) (Q182529,P1346,Q628482) (Q182529,P1346,Q16121664) (Q182529,P1346,Q5233934) (Q182529,P1346,Q5980830) (Q182529,P1346,Q7350932) (Q182529,P1346,Q272748) (Q182529,P1346,Q7173464) (Q182529,P1346,Q765918) (Q182529,P1346,Q625272)
action is_in
entity prev_answer
action find
entity Q182529
relation P1346
['Q182529', 'P1346', 'Q5528159'] ['Q182529', 'P1346', 'Q628482'] ['Q182529', 'P1346', 'Q16121664'] ['Q182529', 'P1346', 'Q5233934'] ['Q182529', 'P1346', 'Q5980830'] ['Q182529', 'P1346', 'Q7350932'] ['Q182529', 'P1346', 'Q272748'] ['Q182529', 'P1346', 'Q7173464'] ['Q182529', 'P1346', 'Q765918'] ['Q182529', 'P1346', 'Q625272']
ASK WHERE { VALUES ( ?d ) { ( resource:Q704553 ) ( resource:Q16121664 ) ( resource:Q95120 ) } . resource:Q182529 property:P1346 ?d }
FIFA World Player of the Year
action is_in
entity prev_answer
action find
entity FIFA World Player of the Year
relation winner
['FIFA World Player of the Year', 'winner', 'Gavin Grant'] ['FIFA World Player of the Year', 'winner', 'George H. Scithers'] ['FIFA World Player of the Year', 'winner', 'Pat LoBrutto'] ['FIFA World Player of the Year', 'winner', 'David G. Hartwell'] ['FIFA World Player of the Year', 'winner', 'Ian Ballantine'] ['FIFA World Player of the Year', 'winner', 'Robert Weinberg'] ['FIFA World Player of the Year', 'winner', 'Joy Chant'] ['FIFA World Player of the Year', 'winner', 'Peter Crowther'] ['FIFA World Player of the Year', 'winner', 'Lucia Graves'] ['FIFA World Player of the Year', 'winner', 'S. T. Joshi']
ASK WHERE { VALUES ( ?d ) { ( resource:Chris_Van_Allsburg ) ( resource:Pat_LoBrutto ) ( resource:Tom_Shippey ) } . resource:FIFA_World_Player_of_the_Year property:winner ?d }
[]
award
SYSTEM
NO
(Q182529,P1346,Q5528159) (Q182529,P1346,Q628482) (Q182529,P1346,Q16121664) (Q182529,P1346,Q5233934) (Q182529,P1346,Q5980830) (Q182529,P1346,Q7350932) (Q182529,P1346,Q272748) (Q182529,P1346,Q7173464) (Q182529,P1346,Q765918) (Q182529,P1346,Q625272)
action is_in
entity prev_answer
action find
entity Q182529
relation P1346
[ANSWER]
['Q182529', 'P1346', 'Q5528159'] ['Q182529', 'P1346', 'Q628482'] ['Q182529', 'P1346', 'Q16121664'] ['Q182529', 'P1346', 'Q5233934'] ['Q182529', 'P1346', 'Q5980830'] ['Q182529', 'P1346', 'Q7350932'] ['Q182529', 'P1346', 'Q272748'] ['Q182529', 'P1346', 'Q7173464'] ['Q182529', 'P1346', 'Q765918'] ['Q182529', 'P1346', 'Q625272']
ASK WHERE { VALUES ( ?d ) { ( resource:Q704553 ) ( resource:Q16121664 ) ( resource:Q95120 ) } . resource:Q182529 property:P1346 ?d }
No
action is_in
entity prev_answer
action find
entity FIFA World Player of the Year
relation winner
['FIFA World Player of the Year', 'winner', 'Gavin Grant'] ['FIFA World Player of the Year', 'winner', 'George H. Scithers'] ['FIFA World Player of the Year', 'winner', 'Pat LoBrutto'] ['FIFA World Player of the Year', 'winner', 'David G. Hartwell'] ['FIFA World Player of the Year', 'winner', 'Ian Ballantine'] ['FIFA World Player of the Year', 'winner', 'Robert Weinberg'] ['FIFA World Player of the Year', 'winner', 'Joy Chant'] ['FIFA World Player of the Year', 'winner', 'Peter Crowther'] ['FIFA World Player of the Year', 'winner', 'Lucia Graves'] ['FIFA World Player of the Year', 'winner', 'S. T. Joshi']
ASK WHERE { VALUES ( ?d ) { ( resource:Chris_Van_Allsburg ) ( resource:Pat_LoBrutto ) ( resource:Tom_Shippey ) } . resource:FIFA_World_Player_of_the_Year property:winner ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5528159 Q4584477 Q1190926
P26
Q502895
USER
Is Gavin Grant married to Ole Landmark and Kelly Link ?
(Q5528159,P26,Q4584477) (Q5528159,P26,Q1190926)
action is_in
entity Q5528159
action intersection
action find_reverse
entity Q4584477
relation P26
action find_reverse
entity Q1190926
relation P26
['Q5528159', 'P26', 'Q4584477'] ['Q5528159', 'P26', 'Q1190926']
ASK WHERE { resource:Q5528159 property:P26 resource:Q4584477 . resource:Q5528159 property:P26 resource:Q1190926 }
Gavin Grant Ole Landmark Kelly Link
action is_in
entity Gavin Grant
action intersection
action find_reverse
entity Ole Landmark
relation spouse
action find_reverse
entity Kelly Link
relation spouse
['Gavin Grant', 'spouse', 'Ole Landmark'] ['Gavin Grant', 'spouse', 'Kelly Link']
ASK WHERE { resource:Gavin_Grant property:spouse resource:Ole_Landmark . resource:Gavin_Grant property:spouse resource:Kelly_Link }
[]
common name
SYSTEM
NO and YES respectively
(Q5528159,P26,Q4584477) (Q5528159,P26,Q1190926)
action is_in
entity Q5528159
action intersection
action find_reverse
entity Q4584477
relation P26
action find_reverse
entity Q1190926
relation P26
[ANSWER]
['Q5528159', 'P26', 'Q4584477'] ['Q5528159', 'P26', 'Q1190926']
ASK WHERE { resource:Q5528159 property:P26 resource:Q4584477 . resource:Q5528159 property:P26 resource:Q1190926 }
NO and YES respectively
action is_in
entity Gavin Grant
action intersection
action find_reverse
entity Ole Landmark
relation spouse
action find_reverse
entity Kelly Link
relation spouse
['Gavin Grant', 'spouse', 'Ole Landmark'] ['Gavin Grant', 'spouse', 'Kelly Link']
ASK WHERE { resource:Gavin_Grant property:spouse resource:Ole_Landmark . resource:Gavin_Grant property:spouse resource:Kelly_Link }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5980830 Q19946
P27
Q15617994
USER
Is Cherasco the country of citizenship of Ian Ballantine ?
(Q5980830,P27,Q19946)
action is_in
entity Q19946
action find
entity Q5980830
relation P27
['Q5980830', 'P27', 'Q19946']
ASK WHERE { resource:Q5980830 property:P27 resource:Q19946 }
Ian Ballantine Cherasco
action is_in
entity Cherasco
action find
entity Ian Ballantine
relation country of citizenship
['Ian Ballantine', 'country of citizenship', 'Cherasco']
ASK WHERE { resource:Ian_Ballantine property:country_of_citizenship resource:Cherasco }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5980830,P27,Q19946)
action is_in
entity Q19946
action find
entity Q5980830
relation P27
[ANSWER]
['Q5980830', 'P27', 'Q19946']
ASK WHERE { resource:Q5980830 property:P27 resource:Q19946 }
No
action is_in
entity Cherasco
action find
entity Ian Ballantine
relation country of citizenship
['Ian Ballantine', 'country of citizenship', 'Cherasco']
ASK WHERE { resource:Ian_Ballantine property:country_of_citizenship resource:Cherasco }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 1245 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1245
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?z >= 1245 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1245
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?z >= 1245 ) }
[]
musical instrument common name
Q5994 Q46185 Q8338
SYSTEM
piano, bass guitar, trumpet
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1245
The [ANSWERS] are played by atleast 1245 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?z >= 1245 ) }
bass guitar piano trumpet violin organ drum kit
The piano, bass guitar and trumpet are played by atleast 1245 people
piano bass guitar trumpet
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1245
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?z ) WHERE { ?d property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?z >= 1245 ) }
[]