Simple Question (Direct)
Simple Question
Q6249744
P641
Q349
USER
What was the sport that John Mulholland was a part of ?
(Q6249744,P641,c(Q349))
action filter_type
action find
entity Q6249744
relation P641
type Q349
['Q6249744', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q6249744 property:P641 ?f . ?f rdf:type ontology:Q349 }
John Mulholland
action filter_type
action find
entity John Mulholland
relation sport
type sport
['John Mulholland', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:John_Mulholland property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6249744,P641,c(Q349))
action filter_type
action find
entity Q6249744
relation P641
type Q349
The sport that John Mulholland was a part of was [ANSWER]
['Q6249744', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q6249744 property:P641 ?f . ?f rdf:type ontology:Q349 }
association football
The sport that John Mulholland was a part of was association football
association football
action filter_type
action find
entity John Mulholland
relation sport
type sport
['John Mulholland', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:John_Mulholland property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6249744
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q6249744
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6249744 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
John Mulholland
action filter_type
action find
entity John Mulholland
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_Mulholland property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q6249744
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6249744 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity John Mulholland
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:John_Mulholland property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with max number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o property:P530 ?f . ?o rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?b ) WHERE { ?c property:P530 ?j . ?c rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?b = ?y ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o property:diplomatic_relation ?f . ?o rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?b ) WHERE { ?c property:diplomatic_relation ?j . ?c rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?b = ?y ) }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have diplomatic relations with max number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o property:P530 ?f . ?o rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?b ) WHERE { ?c property:P530 ?j . ?c rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?b = ?y ) }
Germany
Germany have diplomatic relations with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?y ) { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?t ) WHERE { ?o property:diplomatic_relation ?f . ?o rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?b ) WHERE { ?c property:diplomatic_relation ?j . ?c rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?b = ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P194
Q1752346 Q701632 Q15617994
USER
Which administrative territories have max number of assemblies or municipal councils as their legislative body ?
(c(Q15617994),P194,c(Q1752346)|c(Q701632))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?s WHERE { VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q701632 ) } . ?g rdf:type ?b } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?l WHERE { { ?l property:P194 ?c . ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1752346 } UNION { ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q701632 . ?l property:P194 ?c } } GROUP BY ?l } . FILTER ( ?n = ?v ) }
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?s WHERE { VALUES ( ?b ) { ( ontology:assembly ) ( ontology:municipal_council ) } . ?g rdf:type ?b } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?l WHERE { { ?l property:legislative_body ?c . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:assembly } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:municipal_council . ?l property:legislative_body ?c } } GROUP BY ?l } . FILTER ( ?n = ?v ) }
[]
assembly municipal council designation for an administrative territorial entity
Q794 Q6465
SYSTEM
Iran, department of France
Q794 Q6465
(c(Q15617994),P194,c(Q1752346)|c(Q701632))
action argmax
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q701632
[ANSWERS] have max number of assemblies or municipal councils as their legislative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?s WHERE { VALUES ( ?b ) { ( ontology:Q1752346 ) ( ontology:Q701632 ) } . ?g rdf:type ?b } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?l WHERE { { ?l property:P194 ?c . ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1752346 } UNION { ?l rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q701632 . ?l property:P194 ?c } } GROUP BY ?l } . FILTER ( ?n = ?v ) }
Iran department of France
Iran and department of France have max number of assemblies or municipal councils as their legislative body
Iran department of France
action argmax
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?m ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?s WHERE { VALUES ( ?b ) { ( ontology:assembly ) ( ontology:municipal_council ) } . ?g rdf:type ?b } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) ?l WHERE { { ?l property:legislative_body ?c . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:assembly } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:municipal_council . ?l property:legislative_body ?c } } GROUP BY ?l } . FILTER ( ?n = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q28
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Hungary ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q28 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?x } }
Hungary
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Hungary property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
154
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 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 Q347 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 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q28
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Q28 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?x } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran 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 Liechtenstein 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 Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
154
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Hungary
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { resource:Hungary property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?e ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1902550
P17
Q15617994
USER
Which administrative territory does Slatina nad Zdobnicí belong to ?
(Q1902550,P17,c(Q15617994))
action filter_type
action find
entity Q1902550
relation P17
type Q15617994
['Q1902550', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1902550 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Slatina nad Zdobnicí
action filter_type
action find
entity Slatina nad Zdobnicí
relation country
type designation for an administrative territorial entity
['Slatina nad Zdobnicí', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Slatina_nad_Zdobnicí property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1902550,P17,c(Q15617994))
action filter_type
action find
entity Q1902550
relation P17
type Q15617994
Slatina nad Zdobnicí belongs to [ANSWER]
['Q1902550', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q1902550 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Czech Republic
Slatina nad Zdobnicí belongs to Czech Republic
Czech Republic
action filter_type
action find
entity Slatina nad Zdobnicí
relation country
type designation for an administrative territorial entity
['Slatina nad Zdobnicí', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Slatina_nad_Zdobnicí property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P163
Q14660
USER
What is the name of flag associated with Germany ?
(Q183,P163,c(Q14660))
action filter_type
action find
entity Q183
relation P163
type Q14660
['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { resource:Q183 property:P163 ?n . ?n rdf:type ontology:Q14660 }
Germany
action filter_type
action find
entity Germany
relation flag
type flag
['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { resource:Germany property:flag ?n . ?n rdf:type ontology:flag }
[]
flag
Q48160
SYSTEM
flag of Germany
Q48160
(Q183,P163,c(Q14660))
action filter_type
action find
entity Q183
relation P163
type Q14660
The name of flag associated with Germany is the [ANSWER]
['Q183', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?n WHERE { resource:Q183 property:P163 ?n . ?n rdf:type ontology:Q14660 }
flag of Germany
The name of flag associated with Germany is the flag of Germany
flag of Germany
action filter_type
action find
entity Germany
relation flag
type flag
['Germany', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?n WHERE { resource:Germany property:flag ?n . ?n rdf:type ontology:flag }
[]