Simple Question (Direct)
Simple Question
Q14906940
P641
Q349
USER
What was the sport that Daniel Kerschbaumer was a part of ?
(Q14906940,P641,c(Q349))
action filter_type
action find
entity Q14906940
relation P641
type Q349
['Q14906940', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q14906940 property:P641 ?p . ?p rdf:type ontology:Q349 }
Daniel Kerschbaumer
action filter_type
action find
entity Daniel Kerschbaumer
relation sport
type sport
['Daniel Kerschbaumer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Daniel_Kerschbaumer property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q14906940,P641,c(Q349))
action filter_type
action find
entity Q14906940
relation P641
type Q349
The sport that Daniel Kerschbaumer was a part of was the [ANSWER]
['Q14906940', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q14906940 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
The sport that Daniel Kerschbaumer was a part of was the association football
association football
action filter_type
action find
entity Daniel Kerschbaumer
relation sport
type sport
['Daniel Kerschbaumer', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Daniel_Kerschbaumer property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14906940
P19
Q1048835
USER
Which political territory is the birthplace of Daniel Kerschbaumer ?
(Q14906940,P19,c(Q1048835))
action filter_type
action find
entity Q14906940
relation P19
type Q1048835
['Q14906940', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q14906940 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Daniel Kerschbaumer
action filter_type
action find
entity Daniel Kerschbaumer
relation place of birth
type political territorial entity
['Daniel Kerschbaumer', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Daniel_Kerschbaumer property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q14906940,P19,c(Q1048835))
action filter_type
action find
entity Q14906940
relation P19
type Q1048835
[ANSWER] is the birthplace of Daniel Kerschbaumer
['Q14906940', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q14906940 property:P19 ?q . ?q rdf:type ontology:Q1048835 }
Austria
Austria is the birthplace of Daniel Kerschbaumer
Austria
action filter_type
action find
entity Daniel Kerschbaumer
relation place of birth
type political territorial entity
['Daniel Kerschbaumer', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Daniel_Kerschbaumer property:place_of_birth ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q961526
P841
Q186081 Q573 Q502895
USER
How many people have lesser number of time intervals and days as principal feast day than Giovanni Battista Piamarta ?
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q961526
relation P841
type Q186081
type Q573
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?d rdf:type ?t } GROUP BY ?q } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q961526 property:P841 ?k . { VALUES ( ?n ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?k rdf:type ?n } } } }
Giovanni Battista Piamarta
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Giovanni Battista Piamarta
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:time_interval ) ( ontology:day ) } . ?d rdf:type ?t } GROUP BY ?q } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Giovanni_Battista_Piamarta property:feast_day ?k . { VALUES ( ?n ) { ( ontology:time_interval ) ( ontology:day ) } . ?k rdf:type ?n } } } }
[]
time interval day common name
SYSTEM
11
Q384117 Q365797 Q3483257 Q679784 Q3483161 Q3483259 Q3483263 Q167477 Q3047912 Q269889 Q2701365
(c(Q502895),P841,c(Q186081)|c(Q573))
action count
action less
action union
action find_tuple_counts
relation P841
type Q502895
type Q186081
action find_tuple_counts
relation P841
type Q502895
type Q573
action count
action filter_multi_types
action find
entity Q961526
relation P841
type Q186081
type Q573
[ANSWER]
[{'concept': 'Q502895'}, 'P841', [{'concept': 'Q186081'}, {'concept': 'Q573'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?d rdf:type ?t } GROUP BY ?q } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q961526 property:P841 ?k . { VALUES ( ?n ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?k rdf:type ?n } } } }
Aignan of Orleans Ahmad al-Tijani Sidi M'hamed Bou Qobrine Pier Giorgio Frassati Sidi Abder Rahman El Thaelebi Sidi M'hand Oumalek Sidi Mansour Anthony of Padua Seraphina Sforza Joanna, wife of Chuza Thomas Percy, 7th Earl of Northumberland
11
action count
action less
action union
action find_tuple_counts
relation feast day
type common name
type time interval
action find_tuple_counts
relation feast day
type common name
type day
action count
action filter_multi_types
action find
entity Giovanni Battista Piamarta
relation feast day
type time interval
type day
[{'concept': 'common name'}, 'feast day', [{'concept': 'time interval'}, {'concept': 'day'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?m ) WHERE { VALUES ( ?t ) { ( ontology:time_interval ) ( ontology:day ) } . ?d rdf:type ?t } GROUP BY ?q } . FILTER ( ?m < ?h ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Giovanni_Battista_Piamarta property:feast_day ?k . { VALUES ( ?n ) { ( ontology:time_interval ) ( ontology:day ) } . ?k rdf:type ?n } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40
P551
Q502895
USER
Which people have residence at Austria ?
(c(Q502895),P551,Q40)
action filter_type
action find_reverse
entity Q40
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q40']
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q40 . ?x rdf:type ontology:Q502895 }
Austria
action filter_type
action find_reverse
entity Austria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Austria']
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Austria . ?x rdf:type ontology:common_name }
[]
common name
Q26922710 Q25865472 Q114060
SYSTEM
Aline Gohard-Radenkovic, Michaël Magne, Hedwig Schlichter
Q25865472 Q114060 Q4895819 Q26922710
(c(Q502895),P551,Q40)
action filter_type
action find_reverse
entity Q40
relation P551
type Q502895
[ANSWERS] have residence at Austria
[{'concept': 'Q502895'}, 'P551', 'Q40']
SELECT DISTINCT ?x WHERE { ?x property:P551 resource:Q40 . ?x rdf:type ontology:Q502895 }
Michaël Magne Hedwig Schlichter Bertram Steinberger Aline Gohard-Radenkovic
Aline Gohard-Radenkovic, Michaël Magne and Hedwig Schlichter have residence at Austria
Aline Gohard-Radenkovic Michaël Magne Hedwig Schlichter
action filter_type
action find_reverse
entity Austria
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Austria']
SELECT DISTINCT ?x WHERE { ?x property:residence resource:Austria . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q26922710 Q25865472 Q114060
P27
Q15617994
USER
Which administrative territories are the native countriesof Aline Gohard-Radenkovic, Michaël Magne and Hedwig Schlichter ?
(Q26922710,P27,c(Q15617994)) (Q25865472,P27,c(Q15617994)) (Q114060,P27,c(Q15617994))
action union
action filter_type
action find
entity Q26922710
relation P27
type Q15617994
action filter_type
action find
entity Q25865472
relation P27
type Q15617994
action filter_type
action find
entity Q114060
relation P27
type Q15617994
['Q26922710', 'P27', {'concept': 'Q15617994'}] ['Q25865472', 'P27', {'concept': 'Q15617994'}] ['Q114060', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { resource:Q26922710 property:P27 ?j . ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q15617994 . resource:Q25865472 property:P27 ?j } }
Aline Gohard-Radenkovic Michaël Magne Hedwig Schlichter
action union
action filter_type
action find
entity Aline Gohard-Radenkovic
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Michaël Magne
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Hedwig Schlichter
relation country of citizenship
type designation for an administrative territorial entity
['Aline Gohard-Radenkovic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Michaël Magne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Hedwig Schlichter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { resource:Aline_Gohard-Radenkovic property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Michaël_Magne property:country_of_citizenship ?j } }
[]
designation for an administrative territorial entity
Q142 Q142 Q414
SYSTEM
France for 1st, 2nd, Argentina for 3rd
Q142 Q142 Q414
(Q26922710,P27,c(Q15617994)) (Q25865472,P27,c(Q15617994)) (Q114060,P27,c(Q15617994))
action union
action filter_type
action find
entity Q26922710
relation P27
type Q15617994
action filter_type
action find
entity Q25865472
relation P27
type Q15617994
action filter_type
action find
entity Q114060
relation P27
type Q15617994
[ANSWERS]
['Q26922710', 'P27', {'concept': 'Q15617994'}] ['Q25865472', 'P27', {'concept': 'Q15617994'}] ['Q114060', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { resource:Q26922710 property:P27 ?j . ?j rdf:type ontology:Q15617994 } UNION { ?j rdf:type ontology:Q15617994 . resource:Q25865472 property:P27 ?j } }
France France Argentina
France, France and Argentina are the native countriesof Aline Gohard-Radenkovic, Michaël Magne and Hedwig Schlichter
France France Argentina
action union
action filter_type
action find
entity Aline Gohard-Radenkovic
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Michaël Magne
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Hedwig Schlichter
relation country of citizenship
type designation for an administrative territorial entity
['Aline Gohard-Radenkovic', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Michaël Magne', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Hedwig Schlichter', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { resource:Aline_Gohard-Radenkovic property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Michaël_Magne property:country_of_citizenship ?j } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P276
Q198
USER
Which wars have their location as that administrative territory ?
(c(Q198),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q198
[{'concept': 'Q198'}, 'P276', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q142 . ?g rdf:type ontology:Q198 }
France
action filter_type
action find_reverse
entity France
relation location
type war
[{'concept': 'war'}, 'location', 'France']
SELECT DISTINCT ?g WHERE { ?g property:location resource:France . ?g rdf:type ontology:war }
[]
war
Clarification for simple ques.
Q414
SYSTEM
Did you mean Argentina ?
Q142 Q142 Q414
(c(Q198),P276,Q142) (c(Q198),P276,Q142) (c(Q198),P276,Q414)
[ANSWER]
[{'concept': 'Q198'}, 'P276', 'Q142'] [{'concept': 'Q198'}, 'P276', 'Q142'] [{'concept': 'Q198'}, 'P276', 'Q414']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q142 . ?g rdf:type ontology:Q198 }
France France Argentina
Did you mean Argentina ?
Argentina
[{'concept': 'war'}, 'location', 'France'] [{'concept': 'war'}, 'location', 'France'] [{'concept': 'war'}, 'location', 'Argentina']
SELECT DISTINCT ?g WHERE { ?g property:location resource:France . ?g rdf:type ontology:war }
[]
Simple Question (Coreferenced)
USER
No, I meant France. Could you tell me the answer for that?
(c(Q198),P276,Q142)
Q142
[{'concept': 'Q198'}, 'P276', 'Q142']
[{'concept': 'war'}, 'location', 'France']
[]
Q1021160 Q17507684
SYSTEM
Armagnac–Burgundian Civil War, military intervention against ISIL
Q1021160 Q17507684
(c(Q198),P276,Q142)
action filter_type
action find_reverse
entity Q142
relation P276
type Q198
[ANSWERS] have their location as that administrative territory
[{'concept': 'Q198'}, 'P276', 'Q142']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q142 . ?g rdf:type ontology:Q198 }
Armagnac–Burgundian Civil War military intervention against ISIL
Armagnac–Burgundian Civil War and military intervention against ISIL have their location as that administrative territory
Armagnac–Burgundian Civil War military intervention against ISIL
action filter_type
action find_reverse
entity France
relation location
type war
[{'concept': 'war'}, 'location', 'France']
SELECT DISTINCT ?g WHERE { ?g property:location resource:France . ?g rdf:type ontology:war }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with atmost 5 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 5
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?n <= 5 ) }
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?n <= 5 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
145
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 5
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P530 ?r . ?r rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?n <= 5 ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
145
action count
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 5
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?n <= 5 ) }
[]