Simple Question (Direct)
Simple Question
Q2744393
P734
Q82799
USER
Who is associated with Azalaïs Marie-Louise Roulleaux Dugage ?
(Q2744393,P734,c(Q82799))
action filter_type
action find
entity Q2744393
relation P734
type Q82799
['Q2744393', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q2744393 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Azalaïs Marie-Louise Roulleaux Dugage
action filter_type
action find
entity Azalaïs Marie-Louise Roulleaux Dugage
relation family name
type name
['Azalaïs Marie-Louise Roulleaux Dugage', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Azalaïs_Marie-Louise_Roulleaux_Dugage property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q17595543
SYSTEM
Lefèvre
Q17595543
(Q2744393,P734,c(Q82799))
action filter_type
action find
entity Q2744393
relation P734
type Q82799
[ANSWER] is associated with Azalaïs Marie-Louise Roulleaux Dugage
['Q2744393', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q2744393 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Lefèvre
Lefèvre is associated with Azalaïs Marie-Louise Roulleaux Dugage
Lefèvre
action filter_type
action find
entity Azalaïs Marie-Louise Roulleaux Dugage
relation family name
type name
['Azalaïs Marie-Louise Roulleaux Dugage', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Azalaïs_Marie-Louise_Roulleaux_Dugage property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2744393
P27
Q15617994
USER
Which administrative territory is Azalaïs Marie-Louise Roulleaux Dugage an inhabitant of ?
(Q2744393,P27,c(Q15617994))
action filter_type
action find
entity Q2744393
relation P27
type Q15617994
['Q2744393', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2744393 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Azalaïs Marie-Louise Roulleaux Dugage
action filter_type
action find
entity Azalaïs Marie-Louise Roulleaux Dugage
relation country of citizenship
type designation for an administrative territorial entity
['Azalaïs Marie-Louise Roulleaux Dugage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Azalaïs_Marie-Louise_Roulleaux_Dugage property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2744393,P27,c(Q15617994))
action filter_type
action find
entity Q2744393
relation P27
type Q15617994
[ANSWER] is Azalaïs Marie-Louise Roulleaux Dugage an inhabitant of
['Q2744393', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q2744393 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
France
France is Azalaïs Marie-Louise Roulleaux Dugage an inhabitant of
France
action filter_type
action find
entity Azalaïs Marie-Louise Roulleaux Dugage
relation country of citizenship
type designation for an administrative territorial entity
['Azalaïs Marie-Louise Roulleaux Dugage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Azalaïs_Marie-Louise_Roulleaux_Dugage property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2744393
P106
Q12737077
USER
What do that person do for a living ?
(Q142,P106,c(Q12737077))
action filter_type
action find
entity Q2744393
relation P106
type Q12737077
['Q142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2744393 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Azalaïs Marie-Louise Roulleaux Dugage
action filter_type
action find
entity Azalaïs Marie-Louise Roulleaux Dugage
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Azalaïs_Marie-Louise_Roulleaux_Dugage property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q1930187 Q1281618
SYSTEM
journalist, sculptor
Q1930187 Q1281618
(Q142,P106,c(Q12737077))
action filter_type
action find
entity Q2744393
relation P106
type Q12737077
The [ANSWERS] that person do for a living
['Q142', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q2744393 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
journalist sculptor
The journalist and sculptor that person do for a living
journalist sculptor
action filter_type
action find
entity Azalaïs Marie-Louise Roulleaux Dugage
relation occupation
type occupation
['France', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Azalaïs_Marie-Louise_Roulleaux_Dugage property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q10798782 Q1930187
P106
Q502895
USER
Which people have the profession as journalist and television actor ?
AND((c(Q502895),P106,Q1930187), (c(Q502895),P106,Q10798782))
action filter_type
action intersection
action find_reverse
entity Q1930187
relation P106
action find_reverse
entity Q10798782
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1930187'], [{'concept': 'Q502895'}, 'P106', 'Q10798782']]}
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q1930187 . ?l property:P106 resource:Q10798782 . ?l rdf:type ontology:Q502895 }
television actor journalist
action filter_type
action intersection
action find_reverse
entity journalist
relation occupation
action find_reverse
entity television actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'journalist'], [{'concept': 'common name'}, 'occupation', 'television actor']]}
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:journalist . ?l property:occupation resource:television_actor . ?l rdf:type ontology:common_name }
[]
common name
Q352738 Q2393067 Q2374888 Q16832116 Q229957 Q3177495 Q1047230 Q2303647 Q4273978 Q5658371
SYSTEM
Some of them are Mircea Albulescu, Krista Errickson, Jillian Reynolds, Marla Tellez, Mary-Louise Parker, Jerry Penacoli, Casey Kasem, Ton van Duinhoven, Samantha Bee, Adriana Riveramelo
Q5407354 Q20685727 Q3242408 Q19526 Q82246 Q4301671 Q2384259 Q352738 Q5115269 Q4407922 Q211987 Q16991154 Q544618 Q2303647 Q318509 Q456712 Q16832116 Q2636607 Q1928799 Q327426 Q2694741 Q6539375 Q3856110 Q51814 Q849641 Q533795 Q85118 Q11836799 Q2907645 Q2393067 Q964071 Q1181430 Q6193082 Q5658371 Q6490772 Q3026178 Q218718 Q445124 Q2939492 Q4977646 Q4273978 Q550784 Q6412422 Q23705234 Q1374215 Q5271559 Q1047230 Q465695 Q2837916 Q2325737 Q962974 Q234360 Q9003419 Q233618 Q3115415 Q1174682 Q503597 Q273588 Q657790 Q11834803 Q5693722 Q23893949 Q230308 Q5431225 Q2374888 Q6310669 Q3288389 Q3139664 Q229957 Q4172513 Q4760162 Q534183 Q259446 Q325082 Q505743 Q1290892 Q7493182 Q1694314 Q3177495 Q1324800 Q269869 Q6756639 Q6808720 Q7651438 Q314926 Q271324 Q5817785 Q463692 Q622065 Q515904 Q460953 Q55800 Q566466 Q1187274
AND((c(Q502895),P106,Q1930187), (c(Q502895),P106,Q10798782))
action filter_type
action intersection
action find_reverse
entity Q1930187
relation P106
action find_reverse
entity Q10798782
relation P106
type Q502895
[ANSWERS] have the profession as journalist and television actor
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1930187'], [{'concept': 'Q502895'}, 'P106', 'Q10798782']]}
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q1930187 . ?l property:P106 resource:Q10798782 . ?l rdf:type ontology:Q502895 }
Tero Salenius Scott Takeda Lisa Jane Persky Maya Angelou Katja Schuurman Eleanor Mondale Donna Hanover Mircea Albulescu Chubby Johnson Kristin dos Santos Jon Stewart Puntti Valtonen Angus Scrimm Ton van Duinhoven Henry Rollins Veronica Webb Marla Tellez Jaime Maussan Michael O'Donoghue Sean Flynn Pål Bang-Hansen Lia Chang Michael Ausiello Dale Dye Brian Tochi Lycia Naff Vanessa Brown Maria Quiban Bob Ellis Krista Errickson Victor Wong Debbie Matenopoulos Jill Townsend Adriana Riveramelo Larry McCormick Nicolette van Dam Jay Leno Morgan Brittany Carlos Villagrán Bruce Hensel Samantha Bee Lorne Greene Kinga Philipps Enrique Pontón Rex Allen Diane Roter Casey Kasem Kathie Lee Gifford Huell Howser Stacie Chan Lawrence O'Donnell Ruby Dee Heywood Hale Broun Maria Menounos Grant Withers David Hartman James Bacon Andrea Thompson Cristina Saralegui Pleasant Gehman Heather Anne Campbell Coca Crystal Emily Mortimer Faith Salie Jillian Reynolds July Furlong Tracie Savage Maitê Proença Mary-Louise Parker Jessica Barth Andrés Bustamante Samantha Harris Katy Jurado Charles Rocket Andrew Koenig Eduardo Coutinho Sheilah Graham John Zaremba Jerry Penacoli Elaine Dundy Greg Kinnear Marcelo Tas Megan Morrone Suzy McCoppin John Waters Hedda Hopper Edgardo Gazcón Jennifer Schwalbach Smith Alexandria Karlsen Andrzej Żuławski Melissa Francis Oprah Winfrey Anne-Rose Neumann Ralph Garman
Mircea Albulescu, Krista Errickson, Jillian Reynolds, Marla Tellez, Mary-Louise Parker, Jerry Penacoli, Casey Kasem, Ton van Duinhoven, Samantha Bee and Adriana Riveramelo have the profession as journalist and television actor
Mircea Albulescu Krista Errickson Jillian Reynolds Marla Tellez Mary-Louise Parker Jerry Penacoli Casey Kasem Ton van Duinhoven Samantha Bee Adriana Riveramelo
action filter_type
action intersection
action find_reverse
entity journalist
relation occupation
action find_reverse
entity television actor
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'journalist'], [{'concept': 'common name'}, 'occupation', 'television actor']]}
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:journalist . ?l property:occupation resource:television_actor . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q838948
USER
Which works of art have been dubbed by max number of people ?
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s property:P725 ?t . ?s rdf:type ontology:Q838948 . ?t rdf:type ontology:Q502895 } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?o ) WHERE { ?c property:P725 ?m . ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 } GROUP BY ?c } . FILTER ( ?o = ?r ) }
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s property:voice_actor ?t . ?s rdf:type ontology:work_of_art . ?t rdf:type ontology:common_name } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?o ) WHERE { ?c property:voice_actor ?m . ?m rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art } GROUP BY ?c } . FILTER ( ?o = ?r ) }
[]
common name work of art
Q19263748
SYSTEM
The Anthem of the Heart
Q19263748
(c(Q838948),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q838948
type Q502895
[ANSWER] have been dubbed by max number of people
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s property:P725 ?t . ?s rdf:type ontology:Q838948 . ?t rdf:type ontology:Q502895 } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?o ) WHERE { ?c property:P725 ?m . ?m rdf:type ontology:Q502895 . ?c rdf:type ontology:Q838948 } GROUP BY ?c } . FILTER ( ?o = ?r ) }
The Anthem of the Heart
The Anthem of the Heart have been dubbed by max number of people
The Anthem of the Heart
action argmax
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?d ) WHERE { ?s property:voice_actor ?t . ?s rdf:type ontology:work_of_art . ?t rdf:type ontology:common_name } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?o ) WHERE { ?c property:voice_actor ?m . ?m rdf:type ontology:common_name . ?c rdf:type ontology:work_of_art } GROUP BY ?c } . FILTER ( ?o = ?r ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19263748
P462
Q1075
USER
Which color is associated with that work of art ?
(Q19263748,P462,c(Q1075))
action filter_type
action find
entity Q19263748
relation P462
type Q1075
['Q19263748', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?a WHERE { resource:Q19263748 property:P462 ?a . ?a rdf:type ontology:Q1075 }
The Anthem of the Heart
action filter_type
action find
entity The Anthem of the Heart
relation color
type color
['The Anthem of the Heart', 'color', {'concept': 'color'}]
SELECT DISTINCT ?a WHERE { resource:The_Anthem_of_the_Heart property:color ?a . ?a rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q19263748,P462,c(Q1075))
action filter_type
action find
entity Q19263748
relation P462
type Q1075
The [ANSWER] is associated with that work of art
['Q19263748', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?a WHERE { resource:Q19263748 property:P462 ?a . ?a rdf:type ontology:Q1075 }
color
The color is associated with that work of art
color
action filter_type
action find
entity The Anthem of the Heart
relation color
type color
['The Anthem of the Heart', 'color', {'concept': 'color'}]
SELECT DISTINCT ?a WHERE { resource:The_Anthem_of_the_Heart property:color ?a . ?a rdf:type ontology:color }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P462
Q1075 Q201658 Q838948
USER
How many colors are the color of more number of film genres and works of art than that color ?
(c(Q201658)|c(Q838948),P462,c(Q1075))
action count
action greater
action union
action find_reverse_tuple_counts
relation P462
type Q1075
type Q201658
action find_reverse_tuple_counts
relation P462
type Q1075
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q22006653
relation P462
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?z WHERE { VALUES ( ?i ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?x rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P462 resource:Q22006653 . { { ?v rdf:type ontology:Q201658 } UNION { ?v rdf:type ontology:Q838948 } } } } . FILTER ( ?f > ?j ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation color
type color
type film genre
action find_reverse_tuple_counts
relation color
type color
type work of art
action count
action filter_multi_types
action find_reverse
entity color
relation color
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?z WHERE { VALUES ( ?i ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?x rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:color resource:color . { { ?v rdf:type ontology:film_genre } UNION { ?v rdf:type ontology:work_of_art } } } } . FILTER ( ?f > ?j ) }
[]
color film genre work of art
SYSTEM
0
(c(Q201658)|c(Q838948),P462,c(Q1075))
action count
action greater
action union
action find_reverse_tuple_counts
relation P462
type Q1075
type Q201658
action find_reverse_tuple_counts
relation P462
type Q1075
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q22006653
relation P462
type Q201658
type Q838948
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?z WHERE { VALUES ( ?i ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } . ?x rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:P462 resource:Q22006653 . { { ?v rdf:type ontology:Q201658 } UNION { ?v rdf:type ontology:Q838948 } } } } . FILTER ( ?f > ?j ) }
0
action count
action greater
action union
action find_reverse_tuple_counts
relation color
type color
type film genre
action find_reverse_tuple_counts
relation color
type color
type work of art
action count
action filter_multi_types
action find_reverse
entity color
relation color
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'color', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?z WHERE { VALUES ( ?i ) { ( ontology:film_genre ) ( ontology:work_of_art ) } . ?x rdf:type ?i } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { ?v property:color resource:color . { { ?v rdf:type ontology:film_genre } UNION { ?v rdf:type ontology:work_of_art } } } } . FILTER ( ?f > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1359151
P169
Q502895 Q1002697 Q11032
USER
How many people are the CEOs of more number of periodical literatures and newspapers than Lloyd Blankfein ?
(c(Q1002697)|c(Q11032),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q1359151
relation P169
type Q1002697
type Q11032
[[{'concept': 'Q1002697'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P169 ?i . ?i rdf:type ontology:Q502895 . ?u rdf:type ontology:Q1002697 } UNION { ?u property:P169 ?i . ?i rdf:type ontology:Q502895 . ?u rdf:type ontology:Q11032 } } GROUP BY ?i } . FILTER ( ?h > ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P169 resource:Q1359151 . { { ?n rdf:type ontology:Q11032 } UNION { ?n rdf:type ontology:Q1002697 } } } } }
Lloyd Blankfein
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action count
action filter_multi_types
action find_reverse
entity Lloyd Blankfein
relation chief executive officer
type periodical literature
type newspaper
[[{'concept': 'periodical literature'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?u rdf:type ontology:periodical_literature } UNION { ?u property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?u rdf:type ontology:newspaper } } GROUP BY ?i } . FILTER ( ?h > ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:chief_executive_officer resource:Lloyd_Blankfein . { { ?n rdf:type ontology:newspaper } UNION { ?n rdf:type ontology:periodical_literature } } } } }
[]
common name periodical literature newspaper
SYSTEM
16
Q9024946 Q1670490 Q952737 Q16188729 Q1710229 Q111695 Q20203686 Q5872324 Q3047406 Q5675607 Q6070096 Q6161101 Q659356 Q11928620 Q4888662 Q11935031
(c(Q1002697)|c(Q11032),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q1359151
relation P169
type Q1002697
type Q11032
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:P169 ?i . ?i rdf:type ontology:Q502895 . ?u rdf:type ontology:Q1002697 } UNION { ?u property:P169 ?i . ?i rdf:type ontology:Q502895 . ?u rdf:type ontology:Q11032 } } GROUP BY ?i } . FILTER ( ?h > ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:P169 resource:Q1359151 . { { ?n rdf:type ontology:Q11032 } UNION { ?n rdf:type ontology:Q1002697 } } } } }
Luis Bello Wolfgang Büchner Diego Abad de Santillán Jaume Claramunt i Mesa João do Rio Jakob Augstein José María de Mora Félix Lorenzo Joseph Blanco White Andrés Borrego Pedro Sala y Villaret Vicente Díez Canseco Luis José Sartorius, 1st Count of San Luis Josep Laribal Lastortras José Lázaro Galdiano Manuel de Lasarte i Rodríguez-Cardoso
16
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action count
action filter_multi_types
action find_reverse
entity Lloyd Blankfein
relation chief executive officer
type periodical literature
type newspaper
[[{'concept': 'periodical literature'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?h ) WHERE { { ?u property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?u rdf:type ontology:periodical_literature } UNION { ?u property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?u rdf:type ontology:newspaper } } GROUP BY ?i } . FILTER ( ?h > ?c ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { ?n property:chief_executive_officer resource:Lloyd_Blankfein . { { ?n rdf:type ontology:newspaper } UNION { ?n rdf:type ontology:periodical_literature } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20970812
P169
Q502895 Q1002697 Q11032
USER
And what about Jacques Branciard?
(c(Q1002697)|c(Q11032),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q20970812
relation P169
type Q1002697
type Q11032
[[{'concept': 'Q1002697'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:P169 ?i . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q1002697 } UNION { ?k property:P169 ?i . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11032 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q11032 ) } } . ?z property:P169 resource:Q20970812 } } . FILTER ( ?c > ?b ) }
Jacques Branciard
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action count
action filter_multi_types
action find_reverse
entity Jacques Branciard
relation chief executive officer
type periodical literature
type newspaper
[[{'concept': 'periodical literature'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?k rdf:type ontology:periodical_literature } UNION { ?k property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?k rdf:type ontology:newspaper } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:newspaper ) } } . ?z property:chief_executive_officer resource:Jacques_Branciard } } . FILTER ( ?c > ?b ) }
[]
common name periodical literature newspaper
SYSTEM
16
Q9024946 Q1670490 Q952737 Q16188729 Q1710229 Q111695 Q20203686 Q5872324 Q3047406 Q5675607 Q6070096 Q6161101 Q659356 Q11928620 Q4888662 Q11935031
(c(Q1002697)|c(Q11032),P169,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q1002697
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
action count
action filter_multi_types
action find_reverse
entity Q20970812
relation P169
type Q1002697
type Q11032
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:P169 ?i . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q1002697 } UNION { ?k property:P169 ?i . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q11032 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:Q1002697 ) ( ontology:Q11032 ) } } . ?z property:P169 resource:Q20970812 } } . FILTER ( ?c > ?b ) }
Luis Bello Wolfgang Büchner Diego Abad de Santillán Jaume Claramunt i Mesa João do Rio Jakob Augstein José María de Mora Félix Lorenzo Joseph Blanco White Andrés Borrego Pedro Sala y Villaret Vicente Díez Canseco Luis José Sartorius, 1st Count of San Luis Josep Laribal Lastortras José Lázaro Galdiano Manuel de Lasarte i Rodríguez-Cardoso
16
action count
action greater
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type periodical literature
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
action count
action filter_multi_types
action find_reverse
entity Jacques Branciard
relation chief executive officer
type periodical literature
type newspaper
[[{'concept': 'periodical literature'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?c ) WHERE { { ?k property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?k rdf:type ontology:periodical_literature } UNION { ?k property:chief_executive_officer ?i . ?i rdf:type ontology:common_name . ?k rdf:type ontology:newspaper } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z rdf:type ?h . VALUES ( ?h ) { ( ontology:periodical_literature ) ( ontology:newspaper ) } } . ?z property:chief_executive_officer resource:Jacques_Branciard } } . FILTER ( ?c > ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q191067 Q35749 Q502895
USER
Which people have been acknowledged in atleast 1 articles or parliaments ?
(c(Q502895),P248,c(Q191067)|c(Q35749))
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q191067
action find_tuple_counts
relation P248
type Q502895
type Q35749
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q191067'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?a WHERE { VALUES ( ?f ) { ( ontology:Q191067 ) ( ontology:Q35749 ) } . ?v rdf:type ?f } GROUP BY ?a } }
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type article
action find_tuple_counts
relation stated in
type common name
type parliament
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'article'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?a WHERE { VALUES ( ?f ) { ( ontology:article ) ( ontology:parliament ) } . ?v rdf:type ?f } GROUP BY ?a } }
[]
article parliament common name
Q5606262 Q6228730 Q15994621
SYSTEM
Greg Smith, John Davies, John Martin
Q6260667 Q16062974 Q5606264 Q5606262 Q16857953 Q17626521 Q15994621 Q15994622 Q16031816 Q6228730 Q6237308 Q18166520 Q5239885 Q6221424 Q17385895 Q15994581 Q16859187 Q6145005
(c(Q502895),P248,c(Q191067)|c(Q35749))
action atleast
action union
action find_tuple_counts
relation P248
type Q502895
type Q191067
action find_tuple_counts
relation P248
type Q502895
type Q35749
value 1
[ANSWERS] have been acknowledged in atleast 1 articles or parliaments
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q191067'}, {'concept': 'Q35749'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?a WHERE { VALUES ( ?f ) { ( ontology:Q191067 ) ( ontology:Q35749 ) } . ?v rdf:type ?f } GROUP BY ?a } }
John Thompson James Walker Greg Smith Greg Smith John Martin Colin Campbell John Martin John Martin William Walker John Davies John Hall William Thompson David Smith John Bell David Evans John Lewis James Walker James Walker
Greg Smith, John Davies and John Martin have been acknowledged in atleast 1 articles or parliaments
Greg Smith John Davies John Martin
action atleast
action union
action find_tuple_counts
relation stated in
type common name
type article
action find_tuple_counts
relation stated in
type common name
type parliament
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'article'}, {'concept': 'parliament'}]]
SELECT DISTINCT ?a WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) ?a WHERE { VALUES ( ?f ) { ( ontology:article ) ( ontology:parliament ) } . ?v rdf:type ?f } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5606262 Q6228730 Q15994621
P734
Q82799
USER
Which names are associated with Greg Smith, John Davies and John Martin ?
(Q5606262,P734,c(Q82799)) (Q6228730,P734,c(Q82799)) (Q15994621,P734,c(Q82799))
action union
action filter_type
action find
entity Q5606262
relation P734
type Q82799
action filter_type
action find
entity Q6228730
relation P734
type Q82799
action filter_type
action find
entity Q15994621
relation P734
type Q82799
['Q5606262', 'P734', {'concept': 'Q82799'}] ['Q6228730', 'P734', {'concept': 'Q82799'}] ['Q15994621', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?y property:P734 ?p . VALUES ( ?y ) { ( resource:Q5606262 ) ( resource:Q6228730 ) } }
Greg Smith John Davies John Martin
action union
action filter_type
action find
entity Greg Smith
relation family name
type name
action filter_type
action find
entity John Davies
relation family name
type name
action filter_type
action find
entity John Martin
relation family name
type name
['Greg Smith', 'family name', {'concept': 'name'}] ['John Davies', 'family name', {'concept': 'name'}] ['John Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?y property:family_name ?p . VALUES ( ?y ) { ( resource:Greg_Smith ) ( resource:John_Davies ) } }
[]
name
Q1158446 Q1177810 Q17744604
SYSTEM
Smith, Davies, Martin
Q1158446 Q1177810 Q17744604
(Q5606262,P734,c(Q82799)) (Q6228730,P734,c(Q82799)) (Q15994621,P734,c(Q82799))
action union
action filter_type
action find
entity Q5606262
relation P734
type Q82799
action filter_type
action find
entity Q6228730
relation P734
type Q82799
action filter_type
action find
entity Q15994621
relation P734
type Q82799
[ANSWERS] are associated with Greg Smith, John Davies and John Martin
['Q5606262', 'P734', {'concept': 'Q82799'}] ['Q6228730', 'P734', {'concept': 'Q82799'}] ['Q15994621', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?y property:P734 ?p . VALUES ( ?y ) { ( resource:Q5606262 ) ( resource:Q6228730 ) } }
Smith Davies Martin
Smith, Davies and Martin are associated with Greg Smith, John Davies and John Martin
Smith Davies Martin
action union
action filter_type
action find
entity Greg Smith
relation family name
type name
action filter_type
action find
entity John Davies
relation family name
type name
action filter_type
action find
entity John Martin
relation family name
type name
['Greg Smith', 'family name', {'concept': 'name'}] ['John Davies', 'family name', {'concept': 'name'}] ['John Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?y property:family_name ?p . VALUES ( ?y ) { ( resource:Greg_Smith ) ( resource:John_Davies ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1047230
P161
Q15416
USER
What are the name of television programs staring Casey Kasem ?
(c(Q15416),P161,Q1047230)
action filter_type
action find_reverse
entity Q1047230
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q1047230']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1047230 . ?d rdf:type ontology:Q15416 }
Casey Kasem
action filter_type
action find_reverse
entity Casey Kasem
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Casey Kasem']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Casey_Kasem . ?d rdf:type ontology:television_program }
[]
television program
Q1770445 Q592768 Q115285
SYSTEM
Scooby-Doo and the Ghoul School, Scooby-Doo and the Reluctant Werewolf, The Return of the King
Q1770445 Q115285 Q848677 Q592768 Q741791 Q1284299 Q279189
(c(Q15416),P161,Q1047230)
action filter_type
action find_reverse
entity Q1047230
relation P161
type Q15416
The name of television programs staring Casey Kasem are [ANSWERS]
[{'concept': 'Q15416'}, 'P161', 'Q1047230']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q1047230 . ?d rdf:type ontology:Q15416 }
Scooby-Doo and the Ghoul School The Return of the King Shaggy & Scooby-Doo Get a Clue! Scooby-Doo and the Reluctant Werewolf What's New, Scooby-Doo? Josie and the Pussycats A Pup Named Scooby-Doo
The name of television programs staring Casey Kasem are Scooby-Doo and the Ghoul School, Scooby-Doo and the Reluctant Werewolf and The Return of the King
Scooby-Doo and the Ghoul School Scooby-Doo and the Reluctant Werewolf The Return of the King
action filter_type
action find_reverse
entity Casey Kasem
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Casey Kasem']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Casey_Kasem . ?d rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1047230
P22
Q502895
USER
Who has Casey Kasem as a father ?
(c(Q502895),P22,Q1047230)
action filter_type
action find_reverse
entity Q1047230
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1047230']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P22 resource:Q1047230 }
Casey Kasem
action filter_type
action find_reverse
entity Casey Kasem
relation father
type common name
[{'concept': 'common name'}, 'father', 'Casey Kasem']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:father resource:Casey_Kasem }
[]
common name
Q4958236
SYSTEM
Kerri Kasem
Q4958236
(c(Q502895),P22,Q1047230)
action filter_type
action find_reverse
entity Q1047230
relation P22
type Q502895
[ANSWER] has Casey Kasem as a father
[{'concept': 'Q502895'}, 'P22', 'Q1047230']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?e property:P22 resource:Q1047230 }
Kerri Kasem
Kerri Kasem has Casey Kasem as a father
Kerri Kasem
action filter_type
action find_reverse
entity Casey Kasem
relation father
type common name
[{'concept': 'common name'}, 'father', 'Casey Kasem']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?e property:father resource:Casey_Kasem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4958236
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q4958236)
action filter_type
action find_reverse
entity Q4958236
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4958236']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q4958236 . ?x rdf:type ontology:Q502895 }
Kerri Kasem
action filter_type
action find_reverse
entity Kerri Kasem
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kerri Kasem']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Kerri_Kasem . ?x rdf:type ontology:common_name }
[]
common name
Q1047230
SYSTEM
Casey Kasem
Q1047230
(c(Q502895),P40,Q4958236)
action filter_type
action find_reverse
entity Q4958236
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q4958236']
SELECT DISTINCT ?x WHERE { ?x property:P40 resource:Q4958236 . ?x rdf:type ontology:Q502895 }
Casey Kasem
Casey Kasem has that one as a child
Casey Kasem
action filter_type
action find_reverse
entity Kerri Kasem
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kerri Kasem']
SELECT DISTINCT ?x WHERE { ?x property:child resource:Kerri_Kasem . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1047230
P1050
Q2057971
USER
Which health problem does that person suffer from ?
(Q1047230,P1050,c(Q2057971))
action filter_type
action find
entity Q1047230
relation P1050
type Q2057971
['Q1047230', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2057971 . resource:Q1047230 property:P1050 ?r }
Casey Kasem
action filter_type
action find
entity Casey Kasem
relation medical condition
type health problem
['Casey Kasem', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:health_problem . resource:Casey_Kasem property:medical_condition ?r }
[]
health problem
Q1331905
SYSTEM
dementia with Lewy bodies
Q1331905
(Q1047230,P1050,c(Q2057971))
action filter_type
action find
entity Q1047230
relation P1050
type Q2057971
That person suffers from [ANSWER]
['Q1047230', 'P1050', {'concept': 'Q2057971'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2057971 . resource:Q1047230 property:P1050 ?r }
dementia with Lewy bodies
That person suffers from dementia with Lewy bodies
dementia with Lewy bodies
action filter_type
action find
entity Casey Kasem
relation medical condition
type health problem
['Casey Kasem', 'medical condition', {'concept': 'health problem'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:health_problem . resource:Casey_Kasem property:medical_condition ?r }
[]