Simple Question (Direct)
Simple Question
Q1703768
P27
Q15617994
USER
Which administrative territory is the native country of Jorge Asís ?
(Q1703768,P27,c(Q15617994))
action filter_type
action find
entity Q1703768
relation P27
type Q15617994
['Q1703768', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1703768 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Jorge Asís
action filter_type
action find
entity Jorge Asís
relation country of citizenship
type designation for an administrative territorial entity
['Jorge Asís', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jorge_Asís property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1703768,P27,c(Q15617994))
action filter_type
action find
entity Q1703768
relation P27
type Q15617994
The [ANSWER] is the native country of Jorge Asís
['Q1703768', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1703768 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Argentina
The Argentina is the native country of Jorge Asís
Argentina
action filter_type
action find
entity Jorge Asís
relation country of citizenship
type designation for an administrative territorial entity
['Jorge Asís', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jorge_Asís property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1703768
P19
Q56061
USER
Where was that person born ?
(Q414,P19,c(Q56061))
action filter_type
action find
entity Q1703768
relation P19
type Q56061
['Q414', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1703768 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Jorge Asís
action filter_type
action find
entity Jorge Asís
relation place of birth
type administrative territorial entity
['Argentina', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jorge_Asís property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q753642
SYSTEM
Avellaneda
Q753642
(Q414,P19,c(Q56061))
action filter_type
action find
entity Q1703768
relation P19
type Q56061
That person was born in [ANSWER]
['Q414', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1703768 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Avellaneda
That person was born in Avellaneda
Avellaneda
action filter_type
action find
entity Jorge Asís
relation place of birth
type administrative territorial entity
['Argentina', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Jorge_Asís property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3300394 Q1703768
P106
Q12737077
USER
Which occupations are the job of Jorge Asís or Maurice Bellet ?
OR((Q1703768,P106,c(Q12737077)), (Q3300394,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1703768
relation P106
action find
entity Q3300394
relation P106
type Q12737077
{'OR': [['Q1703768', 'P106', {'concept': 'Q12737077'}], ['Q3300394', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q1703768 ) ( resource:Q3300394 ) } . ?u property:P106 ?a } . ?a rdf:type ontology:Q12737077 }
Maurice Bellet Jorge Asís
action filter_type
action union
action find
entity Jorge Asís
relation occupation
action find
entity Maurice Bellet
relation occupation
type occupation
{'OR': [['Jorge Asís', 'occupation', {'concept': 'occupation'}], ['Maurice Bellet', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Jorge_Asís ) ( resource:Maurice_Bellet ) } . ?u property:occupation ?a } . ?a rdf:type ontology:occupation }
[]
occupation
Q193391 Q15980158 Q82955 Q1622272 Q831474 Q1930187 Q1234713 Q36180
SYSTEM
diplomat, non-fiction writer, politician, university teacher, presbyter, journalist, theologian, writer
Q193391 Q15980158 Q82955 Q1622272 Q831474 Q1930187 Q1234713 Q36180
OR((Q1703768,P106,c(Q12737077)), (Q3300394,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q1703768
relation P106
action find
entity Q3300394
relation P106
type Q12737077
The [ANSWERS] are the job of Jorge Asís or Maurice Bellet
{'OR': [['Q1703768', 'P106', {'concept': 'Q12737077'}], ['Q3300394', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Q1703768 ) ( resource:Q3300394 ) } . ?u property:P106 ?a } . ?a rdf:type ontology:Q12737077 }
diplomat non-fiction writer politician university teacher presbyter journalist theologian writer
The diplomat, non-fiction writer, politician, university teacher, presbyter, journalist, theologian and writer are the job of Jorge Asís or Maurice Bellet
diplomat non-fiction writer politician university teacher presbyter journalist theologian writer
action filter_type
action union
action find
entity Jorge Asís
relation occupation
action find
entity Maurice Bellet
relation occupation
type occupation
{'OR': [['Jorge Asís', 'occupation', {'concept': 'occupation'}], ['Maurice Bellet', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?u ) { ( resource:Jorge_Asís ) ( resource:Maurice_Bellet ) } . ?u property:occupation ?a } . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q753642
P36
Q1048835
USER
Which political territory is Avellaneda the capital of ?
(c(Q1048835),P36,Q753642)
action filter_type
action find_reverse
entity Q753642
relation P36
type Q1048835
[{'concept': 'Q1048835'}, 'P36', 'Q753642']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q753642 . ?b rdf:type ontology:Q1048835 }
Avellaneda
action filter_type
action find_reverse
entity Avellaneda
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Avellaneda']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Avellaneda . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1882267
SYSTEM
Avellaneda Partido
Q1882267
(c(Q1048835),P36,Q753642)
action filter_type
action find_reverse
entity Q753642
relation P36
type Q1048835
Which political territory is Avellaneda the capital of
[{'concept': 'Q1048835'}, 'P36', 'Q753642']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q753642 . ?b rdf:type ontology:Q1048835 }
Avellaneda Partido
Which political territory is Avellaneda the capital of
Avellaneda Partido
action filter_type
action find_reverse
entity Avellaneda
relation capital
type political territorial entity
[{'concept': 'political territorial entity'}, 'capital', 'Avellaneda']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Avellaneda . ?b rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1882267
P17
Q15617994
USER
Which administrative territory is that political territory a part of ?
(Q1882267,P17,c(Q15617994))
action filter_type
action find
entity Q1882267
relation P17
type Q15617994
['Q1882267', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1882267 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Avellaneda Partido
action filter_type
action find
entity Avellaneda Partido
relation country
type designation for an administrative territorial entity
['Avellaneda Partido', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Avellaneda_Partido property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1882267,P17,c(Q15617994))
action filter_type
action find
entity Q1882267
relation P17
type Q15617994
[ANSWER] is that political territory a part of
['Q1882267', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1882267 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Argentina
Argentina is that political territory a part of
Argentina
action filter_type
action find
entity Avellaneda Partido
relation country
type designation for an administrative territorial entity
['Avellaneda Partido', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Avellaneda_Partido property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q184
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with more number of administrative territories than Belarus ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q184
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?n ) WHERE { ?r property:P530 ?g . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P530 resource:Q184 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?o ) }
Belarus
action count
action greater
action find_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_reverse
entity Belarus
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 ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?n ) WHERE { ?r property:diplomatic_relation ?g . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:diplomatic_relation resource:Belarus . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
63
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q184
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?n ) WHERE { ?r property:P530 ?g . ?r rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P530 resource:Q184 . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?o ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
63
action count
action greater
action find_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_reverse
entity Belarus
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 ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?n ) WHERE { ?r property:diplomatic_relation ?g . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:diplomatic_relation resource:Belarus . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1032
P530
Q15617994 Q15617994
USER
And also tell me about Niger?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1032
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q1032 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?p } }
Niger
action count
action greater
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 Niger
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 ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Niger property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
141
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q37 Q711 Q710 Q717 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q819 Q424 Q1013 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q34020 Q686 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1032
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q1032 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?p } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Lithuania Mongolia Kiribati Venezuela Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Laos Cambodia Lesotho Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Niue Vanuatu East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
141
action count
action greater
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 Niger
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 ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Niger property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P35
Q502895
USER
Who is elected as the head of state of Argentina ?
(Q414,P35,c(Q502895))
action filter_type
action find
entity Q414
relation P35
type Q502895
['Q414', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q414 property:P35 ?m }
Argentina
action filter_type
action find
entity Argentina
relation head of state
type common name
['Argentina', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Argentina property:head_of_state ?m }
[]
common name
Q561837
SYSTEM
Mauricio Macri
Q561837
(Q414,P35,c(Q502895))
action filter_type
action find
entity Q414
relation P35
type Q502895
[ANSWER] is elected as the head of state of Argentina
['Q414', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q414 property:P35 ?m }
Mauricio Macri
Mauricio Macri is elected as the head of state of Argentina
Mauricio Macri
action filter_type
action find
entity Argentina
relation head of state
type common name
['Argentina', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Argentina property:head_of_state ?m }
[]