Simple Question (Direct)
Simple Question
Q209436
P21
Q290
USER
Which sex does Richard Gasquet have ?
(Q209436,P21,c(Q290))
action filter_type
action find
entity Q209436
relation P21
type Q290
['Q209436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q209436 property:P21 ?s . ?s rdf:type ontology:Q290 }
Richard Gasquet
action filter_type
action find
entity Richard Gasquet
relation gender
type sex
['Richard Gasquet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Richard_Gasquet property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q209436,P21,c(Q290))
action filter_type
action find
entity Q209436
relation P21
type Q290
Richard Gasquet has a [ANSWER]
['Q209436', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q209436 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Richard Gasquet has a male
male
action filter_type
action find
entity Richard Gasquet
relation gender
type sex
['Richard Gasquet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Richard_Gasquet property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209436
P734
Q82799
USER
Who has the surname Richard Gasquet ?
(Q209436,P734,c(Q82799))
action filter_type
action find
entity Q209436
relation P734
type Q82799
['Q209436', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q209436 property:P734 ?q }
Richard Gasquet
action filter_type
action find
entity Richard Gasquet
relation family name
type name
['Richard Gasquet', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Richard_Gasquet property:family_name ?q }
[]
name
Q21493421
SYSTEM
Gasquet
Q21493421
(Q209436,P734,c(Q82799))
action filter_type
action find
entity Q209436
relation P734
type Q82799
[ANSWER] has the surname Richard [ANSWER]
['Q209436', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q209436 property:P734 ?q }
Gasquet
Gasquet has the surname Richard Gasquet
Gasquet
action filter_type
action find
entity Richard Gasquet
relation family name
type name
['Richard Gasquet', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Richard_Gasquet property:family_name ?q }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1459827
Q82799
USER
And how about Friedrich Hübner?
(Q1459827,P734,c(Q82799))
action filter_type
action find
entity Q1459827
relation P734
type Q82799
['Q1459827', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q1459827 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Friedrich Hübner
action filter_type
action find
entity Friedrich Hübner
relation family name
type name
['Friedrich Hübner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_Hübner property:family_name ?y . ?y rdf:type ontology:name }
[]
name
Q1652067
SYSTEM
Hübner
Q1652067
(Q1459827,P734,c(Q82799))
action filter_type
action find
entity Q1459827
relation P734
type Q82799
[ANSWER]
['Q1459827', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q1459827 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Hübner
Hübner
action filter_type
action find
entity Friedrich Hübner
relation family name
type name
['Friedrich Hübner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_Hübner property:family_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1459827
P19
Q515
USER
Which city was that person born at ?
(Q1652067,P19,c(Q515))
action filter_type
action find
entity Q1459827
relation P19
type Q515
['Q1652067', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q1459827 property:P19 ?n . ?n rdf:type ontology:Q515 }
Friedrich Hübner
action filter_type
action find
entity Friedrich Hübner
relation place of birth
type city
['Hübner', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Friedrich_Hübner property:place_of_birth ?n . ?n rdf:type ontology:city }
[]
city
Q1355
SYSTEM
Bangalore
Q1355
(Q1652067,P19,c(Q515))
action filter_type
action find
entity Q1459827
relation P19
type Q515
That person was born in [ANSWER]
['Q1652067', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q1459827 property:P19 ?n . ?n rdf:type ontology:Q515 }
Bangalore
That person was born in Bangalore
Bangalore
action filter_type
action find
entity Friedrich Hübner
relation place of birth
type city
['Hübner', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Friedrich_Hübner property:place_of_birth ?n . ?n rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1355 Q668
P17
Q15617994
USER
Is that city present in India ?
(Q1355,P17,Q668)
action is_in
entity Q668
action find
entity Q1355
relation P17
['Q1355', 'P17', 'Q668']
ASK WHERE { resource:Q1355 property:P17 resource:Q668 }
Bangalore India
action is_in
entity India
action find
entity Bangalore
relation country
['Bangalore', 'country', 'India']
ASK WHERE { resource:Bangalore property:country resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1355,P17,Q668)
action is_in
entity Q668
action find
entity Q1355
relation P17
[ANSWER]
['Q1355', 'P17', 'Q668']
ASK WHERE { resource:Q1355 property:P17 resource:Q668 }
Yes
action is_in
entity India
action find
entity Bangalore
relation country
['Bangalore', 'country', 'India']
ASK WHERE { resource:Bangalore property:country resource:India }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21501910
P138
Q15619164 Q79529 Q82799
USER
Which names are the eponym of more number of abstract beings and chemical substances than Boulanger ?
(c(Q82799),P138,c(Q15619164)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action find_tuple_counts
relation P138
type Q82799
type Q79529
action count
action filter_multi_types
action find
entity Q21501910
relation P138
type Q15619164
type Q79529
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?m WHERE { { ?m property:P138 ?s . ?s rdf:type ontology:Q15619164 . ?m rdf:type ontology:Q82799 } UNION { ?m property:P138 ?s . ?m rdf:type ontology:Q82799 . ?s rdf:type ontology:Q79529 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q79529 ) } } . resource:Q21501910 property:P138 ?o } } . FILTER ( ?f > ?x ) }
Boulanger
action greater
action union
action find_tuple_counts
relation named after
type name
type abstract being
action find_tuple_counts
relation named after
type name
type chemical substance
action count
action filter_multi_types
action find
entity Boulanger
relation named after
type abstract being
type chemical substance
[{'concept': 'name'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?m WHERE { { ?m property:named_after ?s . ?s rdf:type ontology:abstract_being . ?m rdf:type ontology:name } UNION { ?m property:named_after ?s . ?m rdf:type ontology:name . ?s rdf:type ontology:chemical_substance } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:chemical_substance ) } } . resource:Boulanger property:named_after ?o } } . FILTER ( ?f > ?x ) }
[]
abstract being chemical substance name
Q1069827 Q17643158 Q20818054
SYSTEM
Rosario, If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned, Giolla Íosa
Q1069827 Q13553585 Q17643158 Q20818054 Q20963077
(c(Q82799),P138,c(Q15619164)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action find_tuple_counts
relation P138
type Q82799
type Q79529
action count
action filter_multi_types
action find
entity Q21501910
relation P138
type Q15619164
type Q79529
[ANSWERS] are the eponym of more number of abstract beings and chemical substances than Boulanger
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?m WHERE { { ?m property:P138 ?s . ?s rdf:type ontology:Q15619164 . ?m rdf:type ontology:Q82799 } UNION { ?m property:P138 ?s . ?m rdf:type ontology:Q82799 . ?s rdf:type ontology:Q79529 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:Q15619164 ) ( ontology:Q79529 ) } } . resource:Q21501910 property:P138 ?o } } . FILTER ( ?f > ?x ) }
Rosario Gold If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman
Rosario, If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned and Giolla Íosa are the eponym of more number of abstract beings and chemical substances than Boulanger
Rosario If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa
action greater
action union
action find_tuple_counts
relation named after
type name
type abstract being
action find_tuple_counts
relation named after
type name
type chemical substance
action count
action filter_multi_types
action find
entity Boulanger
relation named after
type abstract being
type chemical substance
[{'concept': 'name'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) ?m WHERE { { ?m property:named_after ?s . ?s rdf:type ontology:abstract_being . ?m rdf:type ontology:name } UNION { ?m property:named_after ?s . ?m rdf:type ontology:name . ?s rdf:type ontology:chemical_substance } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { ?o rdf:type ?g . VALUES ( ?g ) { ( ontology:abstract_being ) ( ontology:chemical_substance ) } } . resource:Boulanger property:named_after ?o } } . FILTER ( ?f > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q21491815
P138
Q15619164 Q79529 Q82799
USER
And how about Le Guen?
(c(Q82799),P138,c(Q15619164)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action find_tuple_counts
relation P138
type Q82799
type Q79529
action count
action filter_multi_types
action find
entity Q21491815
relation P138
type Q15619164
type Q79529
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q21491815 property:P138 ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15619164 ) ( ontology:Q79529 ) } } } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q79529 ) ( ontology:Q15619164 ) } } GROUP BY ?u } }
Le Guen
action greater
action union
action find_tuple_counts
relation named after
type name
type abstract being
action find_tuple_counts
relation named after
type name
type chemical substance
action count
action filter_multi_types
action find
entity Le Guen
relation named after
type abstract being
type chemical substance
[{'concept': 'name'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Le_Guen property:named_after ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:abstract_being ) ( ontology:chemical_substance ) } } } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:chemical_substance ) ( ontology:abstract_being ) } } GROUP BY ?u } }
[]
abstract being chemical substance name
Q1069827 Q17643158 Q20818054
SYSTEM
Rosario, If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned, Giolla Íosa
Q1069827 Q13553585 Q17643158 Q20818054 Q20963077
(c(Q82799),P138,c(Q15619164)|c(Q79529))
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q15619164
action find_tuple_counts
relation P138
type Q82799
type Q79529
action count
action filter_multi_types
action find
entity Q21491815
relation P138
type Q15619164
type Q79529
[ANSWERS]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15619164'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Q21491815 property:P138 ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:Q15619164 ) ( ontology:Q79529 ) } } } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q79529 ) ( ontology:Q15619164 ) } } GROUP BY ?u } }
Rosario Gold If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa Aryaman
Rosario If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Giolla Íosa
action greater
action union
action find_tuple_counts
relation named after
type name
type abstract being
action find_tuple_counts
relation named after
type name
type chemical substance
action count
action filter_multi_types
action find
entity Le Guen
relation named after
type abstract being
type chemical substance
[{'concept': 'name'}, 'named after', [{'concept': 'abstract being'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { resource:Le_Guen property:named_after ?o . { ?o rdf:type ?m . VALUES ( ?m ) { ( ontology:abstract_being ) ( ontology:chemical_substance ) } } } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?t ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:chemical_substance ) ( ontology:abstract_being ) } } GROUP BY ?u } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q10855271 Q21501910
P734 P166
Q502895
USER
Which people have Boulanger as last name and were not awarded Knight of the Legion of Honour ?
AND((c(Q502895),P734,Q21501910), NOT((c(Q502895),P166,Q10855271)))
action filter_type
action difference
action find_reverse
entity Q21501910
relation P734
action find_reverse
entity Q10855271
relation P166
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21501910'], {'NOT': [[{'concept': 'Q502895'}, 'P166', 'Q10855271']]}]}
SELECT DISTINCT ?n WHERE { FILTER NOT EXISTS { ?n property:P166 resource:Q10855271 } . ?n property:P734 resource:Q21501910 . ?n rdf:type ontology:Q502895 }
Knight of the Legion of Honour Boulanger
action filter_type
action difference
action find_reverse
entity Boulanger
relation family name
action find_reverse
entity Knight of the Legion of Honour
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Boulanger'], {'NOT': [[{'concept': 'common name'}, 'award received', 'Knight of the Legion of Honour']]}]}
SELECT DISTINCT ?n WHERE { FILTER NOT EXISTS { ?n property:award_received resource:Knight_of_the_Legion_of_Honour } . ?n property:family_name resource:Boulanger . ?n rdf:type ontology:common_name }
[]
common name
Q3379406 Q48585 Q556371 Q3056860 Q3480004 Q3441273 Q3113046 Q5072607 Q2847345 Q3063757
SYSTEM
Some of them are Philippe Boulanger, René Boulanger, Jean-Claude Boulanger, Ernest Boulanger, Servais Beaudouin Boulanger, Romuald Boulanger, Graciela Rodo Boulanger, Chantal Boulanger, André Boulanger, Fabiola Boulanger
Q315747 Q3807643 Q15973859 Q3102342 Q3367303 Q15971839 Q1872910 Q3219057 Q1361424 Q3063757 Q3379406 Q524582 Q3383070 Q3570608 Q3564288 Q16065637 Q2959593 Q928295 Q3480004 Q22691566 Q2398058 Q3063823 Q15973886 Q3559494 Q3063822 Q3379403 Q48585 Q3441273 Q726564 Q3056860 Q3407768 Q1986444 Q3113046 Q3425906 Q3017546 Q15973861 Q2847345 Q563579 Q2093271 Q1508827 Q3357004 Q5506676 Q24035098 Q685277 Q18610875 Q3103384 Q3168062 Q2980578 Q3326255 Q5072607 Q230412 Q3123789 Q24932268 Q2958602 Q556371
AND((c(Q502895),P734,Q21501910), NOT((c(Q502895),P166,Q10855271)))
action filter_type
action difference
action find_reverse
entity Q21501910
relation P734
action find_reverse
entity Q10855271
relation P166
type Q502895
[ANSWERS] have Boulanger as last name and were not awarded Knight of the Legion of Honour
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21501910'], {'NOT': [[{'concept': 'Q502895'}, 'P166', 'Q10855271']]}]}
SELECT DISTINCT ?n WHERE { FILTER NOT EXISTS { ?n property:P166 resource:Q10855271 } . ?n property:P734 resource:Q21501910 . ?n rdf:type ontology:Q502895 }
Georges Ernest Boulanger Jean Boulanger Amédée Boulanger Georges Boulanger Pascal Boulanger Jean Boulanger Lucile Boulanger Laurent Boulanger Yoann Le Boulanger Fabiola Boulanger Philippe Boulanger Louis Boulanger Pierre-Gabriel Boulanger Xavier Boulanger Véronique Boulanger Emmanuel Boulanger Charles Le Boulanger Julie Boulanger Servais Beaudouin Boulanger René Boulanger Auguste Boulanger Fabrice Boulanger Narcisse Boulanger Vincent Boulanger Fabrice Boulanger Philippe Boulanger René Boulanger Romuald Boulanger Gustave Boulanger Ernest Boulanger Prosper Boulanger Nicolas Antoine Boulanger Graciela Rodo Boulanger René Boulanger David Boulanger Auguste Boulanger-Bernet André Boulanger Pierre-Jules Boulanger Pierre Boulanger Georges Boulanger Joseph Oscar Lefebre Boulanger Frédéric Boulanger Clotilde Boulanger Daniel Boulanger François Boulanger Georges R. Boulanger Jean-Michel Le Boulanger Clément Boulanger Mousse Boulanger Chantal Boulanger Lili Boulanger Gérard Boulanger Anthony Boulanger Charles Boulanger de Boisfremont Jean-Claude Boulanger
Philippe Boulanger, René Boulanger, Jean-Claude Boulanger, Ernest Boulanger, Servais Beaudouin Boulanger, Romuald Boulanger, Graciela Rodo Boulanger, Chantal Boulanger, André Boulanger and Fabiola Boulanger have Boulanger as last name and were not awarded Knight of the Legion of Honour
Philippe Boulanger René Boulanger Jean-Claude Boulanger Ernest Boulanger Servais Beaudouin Boulanger Romuald Boulanger Graciela Rodo Boulanger Chantal Boulanger André Boulanger Fabiola Boulanger
action filter_type
action difference
action find_reverse
entity Boulanger
relation family name
action find_reverse
entity Knight of the Legion of Honour
relation award received
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Boulanger'], {'NOT': [[{'concept': 'common name'}, 'award received', 'Knight of the Legion of Honour']]}]}
SELECT DISTINCT ?n WHERE { FILTER NOT EXISTS { ?n property:award_received resource:Knight_of_the_Legion_of_Honour } . ?n property:family_name resource:Boulanger . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q48585
P734
Q82799
USER
How many names have the surname René Boulanger ?
(Q48585,P734,c(Q82799))
action count
action filter_type
action find
entity Q48585
relation P734
type Q82799
['Q48585', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q48585 property:P734 ?d . ?d rdf:type ontology:Q82799 }
René Boulanger
action count
action filter_type
action find
entity René Boulanger
relation family name
type name
['René Boulanger', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:René_Boulanger property:family_name ?d . ?d rdf:type ontology:name }
[]
name
SYSTEM
1
Q21501910
(Q48585,P734,c(Q82799))
action count
action filter_type
action find
entity Q48585
relation P734
type Q82799
[ANSWER]
['Q48585', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q48585 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Boulanger
1
action count
action filter_type
action find
entity René Boulanger
relation family name
type name
['René Boulanger', 'family name', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:René_Boulanger property:family_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48585
P641
Q31629
USER
Which type of sport was that person a part of ?
action filter_type
action find
entity Q48585
relation P641
type Q31629
SELECT DISTINCT ?r WHERE { resource:Q48585 property:P641 ?r . ?r rdf:type ontology:Q31629 }
René Boulanger
action filter_type
action find
entity René Boulanger
relation sport
type type of sport
SELECT DISTINCT ?r WHERE { resource:René_Boulanger property:sport ?r . ?r rdf:type ontology:type_of_sport }
[]
type of sport
Q326827
SYSTEM
artistic gymnastics
Q326827
action filter_type
action find
entity Q48585
relation P641
type Q31629
Was [ANSWER] was that person a part of
SELECT DISTINCT ?r WHERE { resource:Q48585 property:P641 ?r . ?r rdf:type ontology:Q31629 }
artistic gymnastics
Was artistic gymnastics was that person a part of
artistic gymnastics
action filter_type
action find
entity René Boulanger
relation sport
type type of sport
SELECT DISTINCT ?r WHERE { resource:René_Boulanger property:sport ?r . ?r rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P641
Q1834475 Q15416
USER
How many gymnastic apparatus  or television programs are known to play that type of sport ?
(c(Q1834475),P641,Q326827) (c(Q15416),P641,Q326827) (c(Q1834475),P641,Q326827) (c(Q15416),P641,Q326827)
action count
action union
action filter_type
action find_reverse
entity Q326827
relation P641
type Q1834475
action filter_type
action find_reverse
entity Q326827
relation P641
type Q15416
[{'concept': 'Q1834475'}, 'P641', 'Q326827'] [{'concept': 'Q15416'}, 'P641', 'Q326827'] [{'concept': 'Q1834475'}, 'P641', 'Q326827'] [{'concept': 'Q15416'}, 'P641', 'Q326827']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:P641 resource:Q326827 . ?w rdf:type ontology:Q1834475 } UNION { ?w property:P641 resource:Q326827 . ?w rdf:type ontology:Q15416 } }
action count
action union
action filter_type
action find_reverse
entity artistic gymnastics
relation sport
type gymnastic apparatus
action filter_type
action find_reverse
entity artistic gymnastics
relation sport
type television program
[{'concept': 'gymnastic apparatus'}, 'sport', 'artistic gymnastics'] [{'concept': 'television program'}, 'sport', 'artistic gymnastics'] [{'concept': 'gymnastic apparatus'}, 'sport', 'artistic gymnastics'] [{'concept': 'television program'}, 'sport', 'artistic gymnastics']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:sport resource:artistic_gymnastics . ?w rdf:type ontology:gymnastic_apparatus } UNION { ?w property:sport resource:artistic_gymnastics . ?w rdf:type ontology:television_program } }
[]
gymnastic apparatus television program
SYSTEM
3
Q854680 Q692104 Q1066201
(c(Q1834475),P641,Q326827) (c(Q15416),P641,Q326827) (c(Q1834475),P641,Q326827) (c(Q15416),P641,Q326827)
action count
action union
action filter_type
action find_reverse
entity Q326827
relation P641
type Q1834475
action filter_type
action find_reverse
entity Q326827
relation P641
type Q15416
[ANSWER]
[{'concept': 'Q1834475'}, 'P641', 'Q326827'] [{'concept': 'Q15416'}, 'P641', 'Q326827'] [{'concept': 'Q1834475'}, 'P641', 'Q326827'] [{'concept': 'Q15416'}, 'P641', 'Q326827']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:P641 resource:Q326827 . ?w rdf:type ontology:Q1834475 } UNION { ?w property:P641 resource:Q326827 . ?w rdf:type ontology:Q15416 } }
Uneven bars Parallel bars Make It or Break It
3
action count
action union
action filter_type
action find_reverse
entity artistic gymnastics
relation sport
type gymnastic apparatus
action filter_type
action find_reverse
entity artistic gymnastics
relation sport
type television program
[{'concept': 'gymnastic apparatus'}, 'sport', 'artistic gymnastics'] [{'concept': 'television program'}, 'sport', 'artistic gymnastics'] [{'concept': 'gymnastic apparatus'}, 'sport', 'artistic gymnastics'] [{'concept': 'television program'}, 'sport', 'artistic gymnastics']
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { ?w property:sport resource:artistic_gymnastics . ?w rdf:type ontology:gymnastic_apparatus } UNION { ?w property:sport resource:artistic_gymnastics . ?w rdf:type ontology:television_program } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q209436
P1344
Q16510064
USER
What did Richard Gasquet participate in ?
(Q209436,P1344,c(Q16510064))
action filter_type
action find
entity Q209436
relation P1344
type Q16510064
['Q209436', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?y WHERE { resource:Q209436 property:P1344 ?y . ?y rdf:type ontology:Q16510064 }
Richard Gasquet
action filter_type
action find
entity Richard Gasquet
relation participant of
type sporting event
['Richard Gasquet', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?y WHERE { resource:Richard_Gasquet property:participant_of ?y . ?y rdf:type ontology:sporting_event }
[]
sporting event
Q374383
SYSTEM
Tennis at the 2012 Summer Olympics – Men's doubles
Q374383
(Q209436,P1344,c(Q16510064))
action filter_type
action find
entity Q209436
relation P1344
type Q16510064
Richard Gasquet participated in [ANSWER]
['Q209436', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?y WHERE { resource:Q209436 property:P1344 ?y . ?y rdf:type ontology:Q16510064 }
Tennis at the 2012 Summer Olympics – Men's doubles
Richard Gasquet participated in Tennis at the 2012 Summer Olympics – Men's doubles
Tennis at the 2012 Summer Olympics – Men's doubles
action filter_type
action find
entity Richard Gasquet
relation participant of
type sporting event
['Richard Gasquet', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?y WHERE { resource:Richard_Gasquet property:participant_of ?y . ?y rdf:type ontology:sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q209436
P710
Q500834
USER
Which tournament did that person participate in ?
(c(Q500834),P710,Q374383)
action filter_type
action find_reverse
entity Q209436
relation P710
type Q500834
[{'concept': 'Q500834'}, 'P710', 'Q374383']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q500834 . ?x property:P710 resource:Q209436 }
Richard Gasquet
action filter_type
action find_reverse
entity Richard Gasquet
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', "Tennis at the 2012 Summer Olympics – Men's doubles"]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:tournament . ?x property:participant resource:Richard_Gasquet }
[]
tournament
Q23766780
SYSTEM
2016 Monte-Carlo Rolex Masters – Singles
Q23766780
(c(Q500834),P710,Q374383)
action filter_type
action find_reverse
entity Q209436
relation P710
type Q500834
That person participated in [ANSWER]
[{'concept': 'Q500834'}, 'P710', 'Q374383']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q500834 . ?x property:P710 resource:Q209436 }
2016 Monte-Carlo Rolex Masters – Singles
That person participated in 2016 Monte-Carlo Rolex Masters – Singles
2016 Monte-Carlo Rolex Masters – Singles
action filter_type
action find_reverse
entity Richard Gasquet
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', "Tennis at the 2012 Summer Olympics – Men's doubles"]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:tournament . ?x property:participant resource:Richard_Gasquet }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23766780
P1346
Q502895
USER
Which person was the champion of that tournament ?
(Q23766780,P1346,c(Q502895))
action filter_type
action find
entity Q23766780
relation P1346
type Q502895
['Q23766780', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q23766780 property:P1346 ?q }
2016 Monte-Carlo Rolex Masters – Singles
action filter_type
action find
entity 2016 Monte-Carlo Rolex Masters – Singles
relation winner
type common name
['2016 Monte-Carlo Rolex Masters – Singles', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:2016_Monte-Carlo_Rolex_Masters_–_Singles property:winner ?q }
[]
common name
Q10132
SYSTEM
Rafael Nadal
Q10132
(Q23766780,P1346,c(Q502895))
action filter_type
action find
entity Q23766780
relation P1346
type Q502895
[ANSWER] was the champion of that tournament
['Q23766780', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q23766780 property:P1346 ?q }
Rafael Nadal
Rafael Nadal was the champion of that tournament
Rafael Nadal
action filter_type
action find
entity 2016 Monte-Carlo Rolex Masters – Singles
relation winner
type common name
['2016 Monte-Carlo Rolex Masters – Singles', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:2016_Monte-Carlo_Rolex_Masters_–_Singles property:winner ?q }
[]