Simple Question (Direct)
Simple Question
Q2157311
P641
Q349
USER
What was the sport that Robert Golemac was a part of ?
(Q2157311,P641,c(Q349))
action filter_type
action find
entity Q2157311
relation P641
type Q349
['Q2157311', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2157311 property:P641 ?n . ?n rdf:type ontology:Q349 }
Robert Golemac
action filter_type
action find
entity Robert Golemac
relation sport
type sport
['Robert Golemac', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Golemac property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2157311,P641,c(Q349))
action filter_type
action find
entity Q2157311
relation P641
type Q349
The sport that Robert Golemac was a part of was [ANSWER]
['Q2157311', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2157311 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
The sport that Robert Golemac was a part of was association football
association football
action filter_type
action find
entity Robert Golemac
relation sport
type sport
['Robert Golemac', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Golemac property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2157311
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q2157311
relation P27
type Q1048835
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q2157311 property:P27 ?n }
Robert Golemac
action filter_type
action find
entity Robert Golemac
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Robert_Golemac property:country_of_citizenship ?n }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q2157311
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . resource:Q2157311 property:P27 ?n }
Austria
Austria is that person a civilian of
Austria
action filter_type
action find
entity Robert Golemac
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . resource:Robert_Golemac property:country_of_citizenship ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q40 Q7082352
P137
Q811979
USER
How many architectural structures are the administrator of Austria or Oklahoma State Fair ?
(c(Q811979),P137,Q40) (c(Q811979),P137,Q7082352)
action count
action union
action filter_type
action find_reverse
entity Q40
relation P137
type Q811979
action filter_type
action find_reverse
entity Q7082352
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q40'] [{'concept': 'Q811979'}, 'P137', 'Q7082352']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:P137 resource:Q40 . ?z rdf:type ontology:Q811979 } UNION { ?z rdf:type ontology:Q811979 . ?z property:P137 resource:Q7082352 } }
Austria Oklahoma State Fair
action count
action union
action filter_type
action find_reverse
entity Austria
relation operator
type architectural structure
action filter_type
action find_reverse
entity Oklahoma State Fair
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Austria'] [{'concept': 'architectural structure'}, 'operator', 'Oklahoma State Fair']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:operator resource:Austria . ?z rdf:type ontology:architectural_structure } UNION { ?z rdf:type ontology:architectural_structure . ?z property:operator resource:Oklahoma_State_Fair } }
[]
architectural structure
SYSTEM
2
Q4729662 Q2017347
(c(Q811979),P137,Q40) (c(Q811979),P137,Q7082352)
action count
action union
action filter_type
action find_reverse
entity Q40
relation P137
type Q811979
action filter_type
action find_reverse
entity Q7082352
relation P137
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q40'] [{'concept': 'Q811979'}, 'P137', 'Q7082352']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:P137 resource:Q40 . ?z rdf:type ontology:Q811979 } UNION { ?z rdf:type ontology:Q811979 . ?z property:P137 resource:Q7082352 } }
All Sports Stadium Oklahoma State Fair Arena
2
action count
action union
action filter_type
action find_reverse
entity Austria
relation operator
type architectural structure
action filter_type
action find_reverse
entity Oklahoma State Fair
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Austria'] [{'concept': 'architectural structure'}, 'operator', 'Oklahoma State Fair']
SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { { ?z property:operator resource:Austria . ?z rdf:type ontology:architectural_structure } UNION { ?z rdf:type ontology:architectural_structure . ?z property:operator resource:Oklahoma_State_Fair } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q145 Q40
P27
Q502895
USER
Which people are civilians of Austria and United Kingdom ?
AND((c(Q502895),P27,Q40), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q40'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P27 resource:Q145 . ?o property:P27 resource:Q40 }
United Kingdom Austria
action filter_type
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Austria'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:country_of_citizenship resource:United_Kingdom . ?o property:country_of_citizenship resource:Austria }
[]
common name
Q761067 Q24039480 Q1874407 Q78815 Q86716 Q78632 Q90472 Q113316 Q509601 Q2283267
SYSTEM
Some of them are August Closs, Herta Groves, Ludwig Freyberger, Friedrich von Hügel, Siegfried Frederick Nadel, Richard Tauber, Hella Pick, Hersch Lauterpacht, Tamara Lees, Siegfried Charoux
Q1247683 Q85180 Q1337589 Q93645 Q86279 Q24039480 Q89922 Q112583 Q1929060 Q3656215 Q321443 Q78632 Q86502 Q78559 Q113316 Q81244 Q1671206 Q1289033 Q84393 Q761067 Q1608369 Q18386819 Q15110696 Q3611315 Q2158085 Q78485 Q1325 Q2062674 Q1357952 Q86716 Q85695 Q446382 Q2262817 Q78886 Q1507363 Q9391 Q85948 Q78504 Q84842 Q1711760 Q2337891 Q1874407 Q3557487 Q586987 Q1456158 Q214391 Q509601 Q89512 Q78815 Q2283267 Q90472 Q93683 Q78480 Q1716796 Q84679 Q94031 Q89289 Q86905
AND((c(Q502895),P27,Q40), (c(Q502895),P27,Q145))
action filter_type
action intersection
action find_reverse
entity Q40
relation P27
action find_reverse
entity Q145
relation P27
type Q502895
[ANSWERS] are civilians of Austria and United Kingdom
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q40'], [{'concept': 'Q502895'}, 'P27', 'Q145']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P27 resource:Q145 . ?o property:P27 resource:Q40 }
Erwin Stein Joseph Edgar Boehm Emily Cox Joy Adamson Robert Kronfeld Herta Groves Robert Neumann Alfred Perlès Michael Rosenauer Ernst L. Freud Abisch Meisels Richard Tauber Rudolf Bing Otto Erich Deutsch Hersch Lauterpacht Karl Popper Peter G. J. Pulzer Eduard von Klischnigg Erich Fried August Closs Herbert Gurschner Ben Jakober Dave Okumu Alfreda Benge Robert Lucas Anna Freud Friedrich Hayek Paul Tabori Ernst Eisenmayer Siegfried Frederick Nadel Alfred Francis Pribram Marianne Stokes Sebastian Isepp Aloys Sprenger George Frankl Ludwig Wittgenstein Rudolf Schwarz Ernst Gombrich George Weidenfeld, Baron Weidenfeld Jules Thorn Stefan Weinstock Ludwig Freyberger Vic Oliver Antoine Seilern Friderica Derra de Moroda Lucie Rie Tamara Lees Frederick Hertz Friedrich von Hügel Siegfried Charoux Hella Pick Johann Löwenthal Max Perutz Paul Abel Eric Pohlmann Rudolf Kompfner Berthold P. Wiesner Czernin, Count Manfred Beckett
August Closs, Herta Groves, Ludwig Freyberger, Friedrich von Hügel, Siegfried Frederick Nadel, Richard Tauber, Hella Pick, Hersch Lauterpacht, Tamara Lees and Siegfried Charoux are civilians of Austria and United Kingdom
August Closs Herta Groves Ludwig Freyberger Friedrich von Hügel Siegfried Frederick Nadel Richard Tauber Hella Pick Hersch Lauterpacht Tamara Lees Siegfried Charoux
action filter_type
action intersection
action find_reverse
entity Austria
relation country of citizenship
action find_reverse
entity United Kingdom
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Austria'], [{'concept': 'common name'}, 'country of citizenship', 'United Kingdom']]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:country_of_citizenship resource:United_Kingdom . ?o property:country_of_citizenship resource:Austria }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q560482 Q2157311
P39 P106
Q12737077
USER
Which occupations have Robert Golemac as his/her as a career or were the positions for which Cathal Brugha were appointed ?
OR((Q2157311,P106,c(Q12737077)), (Q560482,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q2157311
relation P106
action find
entity Q560482
relation P39
type Q12737077
{'OR': [['Q2157311', 'P106', {'concept': 'Q12737077'}], ['Q560482', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2157311 property:P106 ?p } UNION { resource:Q560482 property:P39 ?p } } . ?p rdf:type ontology:Q12737077 }
Cathal Brugha Robert Golemac
action filter_type
action union
action find
entity Robert Golemac
relation occupation
action find
entity Cathal Brugha
relation position held
type occupation
{'OR': [['Robert Golemac', 'occupation', {'concept': 'occupation'}], ['Cathal Brugha', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Robert_Golemac property:occupation ?p } UNION { resource:Cathal_Brugha property:position_held ?p } } . ?p rdf:type ontology:occupation }
[]
occupation
Q7241266 Q1052201 Q937857 Q654291 Q16707842 Q6865781
SYSTEM
President of Dáil Éireann, Ceann Comhairle, association football player, Deputy to the Dáil, Member of Parliament in the United Kingdom, Minister for Defence
Q7241266 Q1052201 Q937857 Q654291 Q16707842 Q6865781
OR((Q2157311,P106,c(Q12737077)), (Q560482,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q2157311
relation P106
action find
entity Q560482
relation P39
type Q12737077
[ANSWERS] have Robert Golemac as his/her as a career or were the positions for which Cathal Brugha were appointed
{'OR': [['Q2157311', 'P106', {'concept': 'Q12737077'}], ['Q560482', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2157311 property:P106 ?p } UNION { resource:Q560482 property:P39 ?p } } . ?p rdf:type ontology:Q12737077 }
President of Dáil Éireann Ceann Comhairle association football player Deputy to the Dáil Member of Parliament in the United Kingdom Minister for Defence
President of Dáil Éireann, Ceann Comhairle, association football player, Deputy to the Dáil, Member of Parliament in the United Kingdom and Minister for Defence have Robert Golemac as his/her as a career or were the positions for which Cathal Brugha were appointed
President of Dáil Éireann Ceann Comhairle association football player Deputy to the Dáil Member of Parliament in the United Kingdom Minister for Defence
action filter_type
action union
action find
entity Robert Golemac
relation occupation
action find
entity Cathal Brugha
relation position held
type occupation
{'OR': [['Robert Golemac', 'occupation', {'concept': 'occupation'}], ['Cathal Brugha', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Robert_Golemac property:occupation ?p } UNION { resource:Cathal_Brugha property:position_held ?p } } . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3091
Q3745054 Q502895 Q502895
USER
How many people use around 6 horse breeds or people as steed ?
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 6
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?k WHERE { { ?k property:P3091 ?r . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q3745054 } UNION { ?k property:P3091 ?r . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?s = 6 ) }
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 6
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?k WHERE { { ?k property:mount ?r . ?k rdf:type ontology:common_name . ?r rdf:type ontology:horse_breed } UNION { ?k property:mount ?r . ?k rdf:type ontology:common_name . ?r rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?s = 6 ) }
[]
horse breed common name common name
SYSTEM
1
Q724288
(c(Q502895),P3091,c(Q3745054)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action find_tuple_counts
relation P3091
type Q502895
type Q502895
value 6
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q3745054'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?k WHERE { { ?k property:P3091 ?r . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q3745054 } UNION { ?k property:P3091 ?r . ?k rdf:type ontology:Q502895 . ?r rdf:type ontology:Q502895 } } GROUP BY ?k } . FILTER ( ?s = 6 ) }
Rodrigo Pessoa
1
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type horse breed
action find_tuple_counts
relation mount
type common name
type common name
value 6
[{'concept': 'common name'}, 'mount', [{'concept': 'horse breed'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?k WHERE { { ?k property:mount ?r . ?k rdf:type ontology:common_name . ?r rdf:type ontology:horse_breed } UNION { ?k property:mount ?r . ?k rdf:type ontology:common_name . ?r rdf:type ontology:common_name } } GROUP BY ?k } . FILTER ( ?s = 6 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q230 Q78632
P530 P27
Q15617994
USER
Which administrative territories are the native countriesof Richard Tauber and have a diplomatic relationship with Georgia ?
AND((Q78632,P27,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q78632
relation P27
action find
entity Q230
relation P530
type Q15617994
{'AND': [['Q78632', 'P27', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q78632 property:P27 ?k . resource:Q230 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
Georgia Richard Tauber
action filter_type
action intersection
action find
entity Richard Tauber
relation country of citizenship
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Richard Tauber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Richard_Tauber property:country_of_citizenship ?k . resource:Georgia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q78632,P27,c(Q15617994)), (Q230,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q78632
relation P27
action find
entity Q230
relation P530
type Q15617994
[ANSWER] is the native countriesof Richard Tauber and have a diplomatic relationship with Georgia
{'AND': [['Q78632', 'P27', {'concept': 'Q15617994'}], ['Q230', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q78632 property:P27 ?k . resource:Q230 property:P530 ?k . ?k rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native countriesof Richard Tauber and have a diplomatic relationship with Georgia
United Kingdom
action filter_type
action intersection
action find
entity Richard Tauber
relation country of citizenship
action find
entity Georgia
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Richard Tauber', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Richard_Tauber property:country_of_citizenship ?k . resource:Georgia property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q12973014
USER
Which sports did atleast 17350 people or sports teams participate in ?
(c(Q502895)|c(Q12973014),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 17350
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?f WHERE { { ?a property:P641 ?f . ?a rdf:type ontology:Q502895 . ?f rdf:type ontology:Q349 } UNION { ?a property:P641 ?f . ?f rdf:type ontology:Q349 . ?a rdf:type ontology:Q12973014 } } GROUP BY ?f } . FILTER ( ?h >= 17350 ) }
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 17350
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?f WHERE { { ?a property:sport ?f . ?a rdf:type ontology:common_name . ?f rdf:type ontology:sport } UNION { ?a property:sport ?f . ?f rdf:type ontology:sport . ?a rdf:type ontology:sports_team } } GROUP BY ?f } . FILTER ( ?h >= 17350 ) }
[]
sport common name sports team
Q5372 Q2736
SYSTEM
basketball, association football
Q5372 Q2736
(c(Q502895)|c(Q12973014),P641,c(Q349))
action atleast
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
value 17350
Atleast 17350 people or sports teams participated in [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q12973014'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?f WHERE { { ?a property:P641 ?f . ?a rdf:type ontology:Q502895 . ?f rdf:type ontology:Q349 } UNION { ?a property:P641 ?f . ?f rdf:type ontology:Q349 . ?a rdf:type ontology:Q12973014 } } GROUP BY ?f } . FILTER ( ?h >= 17350 ) }
basketball association football
Atleast 17350 people or sports teams participated in basketball and association football
basketball association football
action atleast
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type sports team
value 17350
[[{'concept': 'common name'}, {'concept': 'sports team'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) ?f WHERE { { ?a property:sport ?f . ?a rdf:type ontology:common_name . ?f rdf:type ontology:sport } UNION { ?a property:sport ?f . ?f rdf:type ontology:sport . ?a rdf:type ontology:sports_team } } GROUP BY ?f } . FILTER ( ?h >= 17350 ) }
[]