Simple Question (Direct)
Simple Question
Q4403356
P172
Q2472587
USER
What is the ethnicity of Georgy Saakyan ?
(Q4403356,P172,c(Q2472587))
action filter_type
action find
entity Q4403356
relation P172
type Q2472587
['Q4403356', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?n WHERE { resource:Q4403356 property:P172 ?n . ?n rdf:type ontology:Q2472587 }
Georgy Saakyan
action filter_type
action find
entity Georgy Saakyan
relation ethnic group
type people
['Georgy Saakyan', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?n WHERE { resource:Georgy_Saakyan property:ethnic_group ?n . ?n rdf:type ontology:people }
[]
people
Q79797
SYSTEM
Armenians
Q79797
(Q4403356,P172,c(Q2472587))
action filter_type
action find
entity Q4403356
relation P172
type Q2472587
The ethnicity of Georgy Saakyan is ethnic [ANSWER]
['Q4403356', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?n WHERE { resource:Q4403356 property:P172 ?n . ?n rdf:type ontology:Q2472587 }
Armenians
The ethnicity of Georgy Saakyan is ethnic Armenians
Armenians
action filter_type
action find
entity Georgy Saakyan
relation ethnic group
type people
['Georgy Saakyan', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?n WHERE { resource:Georgy_Saakyan property:ethnic_group ?n . ?n rdf:type ontology:people }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4403356
P21
Q290
USER
Which sex does that person possess ?
(Q79797,P21,c(Q290))
action filter_type
action find
entity Q4403356
relation P21
type Q290
['Q79797', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4403356 property:P21 ?r . ?r rdf:type ontology:Q290 }
Georgy Saakyan
action filter_type
action find
entity Georgy Saakyan
relation gender
type sex
['Armenians', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Georgy_Saakyan property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q79797,P21,c(Q290))
action filter_type
action find
entity Q4403356
relation P21
type Q290
That person possesses a [ANSWER]
['Q79797', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4403356 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Georgy Saakyan
relation gender
type sex
['Armenians', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Georgy_Saakyan property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4403356
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q4403356
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4403356 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Georgy Saakyan
action filter_type
action find
entity Georgy Saakyan
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Georgy_Saakyan property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q4403356
relation P106
type Q12737077
That person does an [ANSWER] for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4403356 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
actor
That person does an actor for a living
actor
action filter_type
action find
entity Georgy Saakyan
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Georgy_Saakyan property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q33999 Q5525686
P106
Q502895
USER
Does Gary O'Neill have career as that occupation ?
(Q5525686,P106,Q33999)
action is_in
entity Q5525686
action find
entity Q33999
relation P106
['Q5525686', 'P106', 'Q33999']
ASK WHERE { resource:Q33999 property:P106 resource:Q5525686 }
actor Gary O'Neill
action is_in
entity Gary O'Neill
action find
entity actor
relation occupation
["Gary O'Neill", 'occupation', 'actor']
ASK WHERE { resource:actor property:occupation resource:Gary_O'Neill }
[]
common name
SYSTEM
NO
(Q5525686,P106,Q33999)
action is_in
entity Q5525686
action find
entity Q33999
relation P106
[ANSWER]
['Q5525686', 'P106', 'Q33999']
ASK WHERE { resource:Q33999 property:P106 resource:Q5525686 }
No
action is_in
entity Gary O'Neill
action find
entity actor
relation occupation
["Gary O'Neill", 'occupation', 'actor']
ASK WHERE { resource:actor property:occupation resource:Gary_O'Neill }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19519173 Q4403356
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Georgy Saakyan or Ana María Ramírez Cerda ?
OR((Q4403356,P27,c(Q15617994)), (Q19519173,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4403356
relation P27
action find
entity Q19519173
relation P27
type Q15617994
{'OR': [['Q4403356', 'P27', {'concept': 'Q15617994'}], ['Q19519173', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?b property:P27 ?v . VALUES ( ?b ) { ( resource:Q4403356 ) ( resource:Q19519173 ) } } . ?v rdf:type ontology:Q15617994 }
Ana María Ramírez Cerda Georgy Saakyan
action filter_type
action union
action find
entity Georgy Saakyan
relation country of citizenship
action find
entity Ana María Ramírez Cerda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Georgy Saakyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ana María Ramírez Cerda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?b property:country_of_citizenship ?v . VALUES ( ?b ) { ( resource:Georgy_Saakyan ) ( resource:Ana_María_Ramírez_Cerda ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q159
SYSTEM
Mexico, Russia
Q96 Q159
OR((Q4403356,P27,c(Q15617994)), (Q19519173,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4403356
relation P27
action find
entity Q19519173
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Georgy Saakyan or Ana María Ramírez Cerda
{'OR': [['Q4403356', 'P27', {'concept': 'Q15617994'}], ['Q19519173', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?b property:P27 ?v . VALUES ( ?b ) { ( resource:Q4403356 ) ( resource:Q19519173 ) } } . ?v rdf:type ontology:Q15617994 }
Mexico Russia
Mexico and Russia are the countries of citizenship of Georgy Saakyan or Ana María Ramírez Cerda
Mexico Russia
action filter_type
action union
action find
entity Georgy Saakyan
relation country of citizenship
action find
entity Ana María Ramírez Cerda
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Georgy Saakyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ana María Ramírez Cerda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?b property:country_of_citizenship ?v . VALUES ( ?b ) { ( resource:Georgy_Saakyan ) ( resource:Ana_María_Ramírez_Cerda ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q463833
P1029
Q502895 Q12973014 Q1656682
USER
How many people were the team members of more number of sports teams or events than Vance D. Brand ?
(c(Q12973014)|c(Q1656682),P1029,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action count
action filter_multi_types
action find_reverse
entity Q463833
relation P1029
type Q12973014
type Q1656682
[[{'concept': 'Q12973014'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q12973014 ) ( ontology:Q1656682 ) } . ?h rdf:type ?y } GROUP BY ?g } . FILTER ( ?m > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P1029 resource:Q463833 . { VALUES ( ?r ) { ( ontology:Q1656682 ) ( ontology:Q12973014 ) } . ?n rdf:type ?r } } } }
Vance D. Brand
action count
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type event
action count
action filter_multi_types
action find_reverse
entity Vance D. Brand
relation crew member
type sports team
type event
[[{'concept': 'sports team'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?g WHERE { VALUES ( ?y ) { ( ontology:sports_team ) ( ontology:event ) } . ?h rdf:type ?y } GROUP BY ?g } . FILTER ( ?m > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:crew_member resource:Vance_D._Brand . { VALUES ( ?r ) { ( ontology:event ) ( ontology:sports_team ) } . ?n rdf:type ?r } } } }
[]
common name sports team event
SYSTEM
116
Q97007 Q704398 Q11813619 Q927249 Q172001 Q257778 Q153242 Q554538 Q61395 Q173190 Q362174 Q107667 Q17541629 Q70928 Q349365 Q18431930 Q111240 Q78499 Q121797 Q115985 Q719441 Q82798 Q3183604 Q1400906 Q82864 Q173317 Q716981 Q17519 Q671886 Q1693251 Q1680121 Q18762 Q4715991 Q445419 Q529119 Q15613580 Q23664664 Q171294 Q731751 Q115552 Q453542 Q23663985 Q82667 Q719413 Q158486 Q116294 Q19242 Q510394 Q961419 Q977386 Q461881 Q7322657 Q68329 Q1365511 Q971052 Q70033 Q1361680 Q4252659 Q361113 Q172783 Q64052 Q229674 Q1448596 Q1878433 Q2093835 Q124809 Q578675 Q3180801 Q1914370 Q73081 Q616303 Q23664678 Q1853048 Q17542124 Q3339766 Q247508 Q82901 Q49284 Q85493 Q171310 Q1333070 Q316417 Q364476 Q3189408 Q141651 Q315730 Q25981 Q87102 Q23664692 Q17385517 Q278656 Q382202 Q23664385 Q363506 Q174979 Q2279606 Q1985717 Q466522 Q23664799 Q2050429 Q84178 Q466075 Q7146575 Q977664 Q317643 Q1872734 Q382013 Q171302 Q172838 Q906626 Q75810 Q64684 Q723989 Q320047 Q171319 Q442910
(c(Q12973014)|c(Q1656682),P1029,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action count
action filter_multi_types
action find_reverse
entity Q463833
relation P1029
type Q12973014
type Q1656682
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?g WHERE { VALUES ( ?y ) { ( ontology:Q12973014 ) ( ontology:Q1656682 ) } . ?h rdf:type ?y } GROUP BY ?g } . FILTER ( ?m > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:P1029 resource:Q463833 . { VALUES ( ?r ) { ( ontology:Q1656682 ) ( ontology:Q12973014 ) } . ?n rdf:type ?r } } } }
Alexandre Imperatori Nicolas Lapierre Paul-Loup Chatin Oleg Skripochka Tiago Monteiro Danny Watts Sam Bird Nicolas Minassian André Lotterer Gianmaria Bruni Ho-Pin Tung John Young Vincent Capillaire Daniel Abt Ellison Onizuka Matt Rao Jim Lovell Alexander Wurz Mathias Beche Simon Trummer Olivier Pla Kamui Kobayashi Jonny Kane Tom Dillmann Bruno Senna Stéphane Sarrazin Filipe Albuquerque Anousheh Ansari Nicolas Prost Nick Tandy James Calado Frank Borman Aleksey Ovchinin Andy Priaulx James Rossiter Gustavo Menezes Ed Brown Vitantonio Liuzzi Marino Franchitti Neel Jani Davide Rigon Billy Johnson Mark Webber David Heinemeier Hansson Eugene Cernan Marcel Fässler Bill Anders Scott Sharp John Martin Roberto Merhi Mike Conway Ricardo González Stefan Mücke Nelson Panciatici Ryan Dalziel Marc Lieb Nathanaël Berthon Kirill Ladygin Brendon Hartley Lucas di Grassi René Rast Christa McAuliffe Harry Tincknell Pipo Derani Pierre Ragues Mathéo Tuscher Benoît Tréluyer Johannes van Overbeek Oliver Webb Pierre Kaffer Stéphane Richelmi Chris Cumming Michael Christensen Viktor Shaitar Nick Leventis Marco Bonanomi Vitaly Petrov Judith Resnik Richard Lietz Sébastien Buemi Oliver Jarvis Thomas P. Stafford James McDivitt Julien Canal Roman Rusinov Ronald McNair Michael J. Smith Dominik Kraihamer David Cheng Matthew Howson David Scott Jeffrey Williams Maurizio Mediani Rusty Schweickart Alan Shepard Jon Fogarty Nicki Thiim Gustavo Yacamán Yutaka Yamagishi Paolo Ruberti Christian Klien Pavel Vinogradov Richard Bradley Marco Sørensen Marcos Pontes Loïc Duval Gregory Jarvis Kazuki Nakajima Nelson Piquet Jr. Romain Dumas Nick Heidfeld Timo Bernhard Tsugio Matsuda Dick Scobee Anthony Davidson Darren Turner
116
action count
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type event
action count
action filter_multi_types
action find_reverse
entity Vance D. Brand
relation crew member
type sports team
type event
[[{'concept': 'sports team'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) ?g WHERE { VALUES ( ?y ) { ( ontology:sports_team ) ( ontology:event ) } . ?h rdf:type ?y } GROUP BY ?g } . FILTER ( ?m > ?x ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n property:crew_member resource:Vance_D._Brand . { VALUES ( ?r ) { ( ontology:event ) ( ontology:sports_team ) } . ?n rdf:type ?r } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7468
P1029
Q502895 Q12973014 Q1656682
USER
And how about Catherine Coleman?
(c(Q12973014)|c(Q1656682),P1029,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action count
action filter_multi_types
action find_reverse
entity Q7468
relation P1029
type Q12973014
type Q1656682
[[{'concept': 'Q12973014'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?l WHERE { { ?a property:P1029 ?l . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1656682 } UNION { ?a property:P1029 ?l . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12973014 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P1029 resource:Q7468 . { { ?u rdf:type ontology:Q12973014 } UNION { ?u rdf:type ontology:Q1656682 } } } } . FILTER ( ?b > ?m ) }
Catherine Coleman
action count
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type event
action count
action filter_multi_types
action find_reverse
entity Catherine Coleman
relation crew member
type sports team
type event
[[{'concept': 'sports team'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?l WHERE { { ?a property:crew_member ?l . ?l rdf:type ontology:common_name . ?a rdf:type ontology:event } UNION { ?a property:crew_member ?l . ?l rdf:type ontology:common_name . ?a rdf:type ontology:sports_team } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:crew_member resource:Catherine_Coleman . { { ?u rdf:type ontology:sports_team } UNION { ?u rdf:type ontology:event } } } } . FILTER ( ?b > ?m ) }
[]
common name sports team event
SYSTEM
116
Q97007 Q704398 Q11813619 Q927249 Q172001 Q257778 Q153242 Q554538 Q61395 Q173190 Q362174 Q107667 Q17541629 Q70928 Q349365 Q18431930 Q111240 Q78499 Q121797 Q115985 Q719441 Q82798 Q3183604 Q1400906 Q82864 Q173317 Q716981 Q17519 Q671886 Q1693251 Q1680121 Q18762 Q4715991 Q445419 Q529119 Q15613580 Q23664664 Q171294 Q731751 Q115552 Q453542 Q23663985 Q82667 Q719413 Q158486 Q116294 Q19242 Q510394 Q961419 Q977386 Q461881 Q7322657 Q68329 Q1365511 Q971052 Q70033 Q1361680 Q4252659 Q361113 Q172783 Q64052 Q229674 Q1448596 Q1878433 Q2093835 Q124809 Q578675 Q3180801 Q1914370 Q73081 Q616303 Q23664678 Q1853048 Q17542124 Q3339766 Q247508 Q82901 Q49284 Q85493 Q171310 Q1333070 Q316417 Q364476 Q3189408 Q141651 Q315730 Q25981 Q87102 Q23664692 Q17385517 Q278656 Q382202 Q23664385 Q363506 Q174979 Q2279606 Q1985717 Q466522 Q23664799 Q2050429 Q84178 Q466075 Q7146575 Q977664 Q317643 Q1872734 Q382013 Q171302 Q172838 Q906626 Q75810 Q64684 Q723989 Q320047 Q171319 Q442910
(c(Q12973014)|c(Q1656682),P1029,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action count
action filter_multi_types
action find_reverse
entity Q7468
relation P1029
type Q12973014
type Q1656682
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q1656682'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?l WHERE { { ?a property:P1029 ?l . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1656682 } UNION { ?a property:P1029 ?l . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12973014 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:P1029 resource:Q7468 . { { ?u rdf:type ontology:Q12973014 } UNION { ?u rdf:type ontology:Q1656682 } } } } . FILTER ( ?b > ?m ) }
Alexandre Imperatori Nicolas Lapierre Paul-Loup Chatin Oleg Skripochka Tiago Monteiro Danny Watts Sam Bird Nicolas Minassian André Lotterer Gianmaria Bruni Ho-Pin Tung John Young Vincent Capillaire Daniel Abt Ellison Onizuka Matt Rao Jim Lovell Alexander Wurz Mathias Beche Simon Trummer Olivier Pla Kamui Kobayashi Jonny Kane Tom Dillmann Bruno Senna Stéphane Sarrazin Filipe Albuquerque Anousheh Ansari Nicolas Prost Nick Tandy James Calado Frank Borman Aleksey Ovchinin Andy Priaulx James Rossiter Gustavo Menezes Ed Brown Vitantonio Liuzzi Marino Franchitti Neel Jani Davide Rigon Billy Johnson Mark Webber David Heinemeier Hansson Eugene Cernan Marcel Fässler Bill Anders Scott Sharp John Martin Roberto Merhi Mike Conway Ricardo González Stefan Mücke Nelson Panciatici Ryan Dalziel Marc Lieb Nathanaël Berthon Kirill Ladygin Brendon Hartley Lucas di Grassi René Rast Christa McAuliffe Harry Tincknell Pipo Derani Pierre Ragues Mathéo Tuscher Benoît Tréluyer Johannes van Overbeek Oliver Webb Pierre Kaffer Stéphane Richelmi Chris Cumming Michael Christensen Viktor Shaitar Nick Leventis Marco Bonanomi Vitaly Petrov Judith Resnik Richard Lietz Sébastien Buemi Oliver Jarvis Thomas P. Stafford James McDivitt Julien Canal Roman Rusinov Ronald McNair Michael J. Smith Dominik Kraihamer David Cheng Matthew Howson David Scott Jeffrey Williams Maurizio Mediani Rusty Schweickart Alan Shepard Jon Fogarty Nicki Thiim Gustavo Yacamán Yutaka Yamagishi Paolo Ruberti Christian Klien Pavel Vinogradov Richard Bradley Marco Sørensen Marcos Pontes Loïc Duval Gregory Jarvis Kazuki Nakajima Nelson Piquet Jr. Romain Dumas Nick Heidfeld Timo Bernhard Tsugio Matsuda Dick Scobee Anthony Davidson Darren Turner
116
action count
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type sports team
action find_reverse_tuple_counts
relation crew member
type common name
type event
action count
action filter_multi_types
action find_reverse
entity Catherine Coleman
relation crew member
type sports team
type event
[[{'concept': 'sports team'}, {'concept': 'event'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) ?l WHERE { { ?a property:crew_member ?l . ?l rdf:type ontology:common_name . ?a rdf:type ontology:event } UNION { ?a property:crew_member ?l . ?l rdf:type ontology:common_name . ?a rdf:type ontology:sports_team } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { ?u property:crew_member resource:Catherine_Coleman . { { ?u rdf:type ontology:sports_team } UNION { ?u rdf:type ontology:event } } } } . FILTER ( ?b > ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with around 62 administrative territories and political territories ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 62
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?g WHERE { { ?g property:P530 ?z . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } UNION { ?g property:P530 ?z . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?g } . FILTER ( ?r = 62 ) }
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 62
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?g WHERE { { ?g property:diplomatic_relation ?z . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:diplomatic_relation ?z . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?g } . FILTER ( ?r = 62 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
1
Q155
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 62
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?g WHERE { { ?g property:P530 ?z . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } UNION { ?g property:P530 ?z . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } } GROUP BY ?g } . FILTER ( ?r = 62 ) }
Brazil
1
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 62
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?g WHERE { { ?g property:diplomatic_relation ?z . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:diplomatic_relation ?z . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } } GROUP BY ?g } . FILTER ( ?r = 62 ) }
[]