Simple Question (Direct)
Simple Question
Q88078
P21
Q290
USER
What is the sex of Inge Merkel ?
(Q88078,P21,c(Q290))
action filter_type
action find
entity Q88078
relation P21
type Q290
['Q88078', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q88078 property:P21 ?t . ?t rdf:type ontology:Q290 }
Inge Merkel
action filter_type
action find
entity Inge Merkel
relation gender
type sex
['Inge Merkel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Inge_Merkel property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q88078,P21,c(Q290))
action filter_type
action find
entity Q88078
relation P21
type Q290
The sex of Inge Merkel is the [ANSWER]
['Q88078', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q88078 property:P21 ?t . ?t rdf:type ontology:Q290 }
female
The sex of Inge Merkel is the female
female
action filter_type
action find
entity Inge Merkel
relation gender
type sex
['Inge Merkel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Inge_Merkel property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q88078
P20
Q486972
USER
Where did that person die ?
(Q6581072,P20,c(Q486972))
action filter_type
action find
entity Q88078
relation P20
type Q486972
['Q6581072', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q486972 . resource:Q88078 property:P20 ?y }
Inge Merkel
action filter_type
action find
entity Inge Merkel
relation place of death
type human settlement
['female', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:human_settlement . resource:Inge_Merkel property:place_of_death ?y }
[]
human settlement
Q753891
SYSTEM
San Miguel de Allende
Q753891
(Q6581072,P20,c(Q486972))
action filter_type
action find
entity Q88078
relation P20
type Q486972
That person died in [ANSWER]
['Q6581072', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q486972 . resource:Q88078 property:P20 ?y }
San Miguel de Allende
That person died in San Miguel de Allende
San Miguel de Allende
action filter_type
action find
entity Inge Merkel
relation place of death
type human settlement
['female', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:human_settlement . resource:Inge_Merkel property:place_of_death ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q753891 Q96
P17
Q15617994
USER
Is that human settlement situated in Mexico ?
(Q753891,P17,Q96)
action is_in
entity Q96
action find
entity Q753891
relation P17
['Q753891', 'P17', 'Q96']
ASK WHERE { resource:Q753891 property:P17 resource:Q96 }
San Miguel de Allende Mexico
action is_in
entity Mexico
action find
entity San Miguel de Allende
relation country
['San Miguel de Allende', 'country', 'Mexico']
ASK WHERE { resource:San_Miguel_de_Allende property:country resource:Mexico }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q753891,P17,Q96)
action is_in
entity Q96
action find
entity Q753891
relation P17
[ANSWER]
['Q753891', 'P17', 'Q96']
ASK WHERE { resource:Q753891 property:P17 resource:Q96 }
Yes
action is_in
entity Mexico
action find
entity San Miguel de Allende
relation country
['San Miguel de Allende', 'country', 'Mexico']
ASK WHERE { resource:San_Miguel_de_Allende property:country resource:Mexico }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q753891
P190
Q1048835
USER
Which political territory is twin town of San Miguel de Allende ?
(c(Q1048835),P190,Q753891)
action filter_type
action find
entity Q753891
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', 'Q753891']
SELECT DISTINCT ?c WHERE { resource:Q753891 property:P190 ?c . ?c rdf:type ontology:Q1048835 }
San Miguel de Allende
action filter_type
action find
entity San Miguel de Allende
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', 'San Miguel de Allende']
SELECT DISTINCT ?c WHERE { resource:San_Miguel_de_Allende property:sister_city ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q615722
SYSTEM
Santa Fe
Q615722
(c(Q1048835),P190,Q753891)
action filter_type
action find
entity Q753891
relation P190
type Q1048835
[ANSWER] is twin town of San Miguel de Allende
[{'concept': 'Q1048835'}, 'P190', 'Q753891']
SELECT DISTINCT ?c WHERE { resource:Q753891 property:P190 ?c . ?c rdf:type ontology:Q1048835 }
Santa Fe
Santa Fe is twin town of San Miguel de Allende
Santa Fe
action filter_type
action find
entity San Miguel de Allende
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', 'San Miguel de Allende']
SELECT DISTINCT ?c WHERE { resource:San_Miguel_de_Allende property:sister_city ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q615722
P19
Q502895
USER
Which person has place of birth as that political territory ?
(c(Q502895),P19,Q615722)
action filter_type
action find_reverse
entity Q615722
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q615722']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P19 resource:Q615722 }
Santa Fe
action filter_type
action find_reverse
entity Santa Fe
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Santa Fe']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:place_of_birth resource:Santa_Fe }
[]
common name
Q3322965
SYSTEM
Manuel Pavón
Q3322965
(c(Q502895),P19,Q615722)
action filter_type
action find_reverse
entity Q615722
relation P19
type Q502895
[ANSWER] has place of birth as that political territory
[{'concept': 'Q502895'}, 'P19', 'Q615722']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P19 resource:Q615722 }
Manuel Pavón
Manuel Pavón has place of birth as that political territory
Manuel Pavón
action filter_type
action find_reverse
entity Santa Fe
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Santa Fe']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:place_of_birth resource:Santa_Fe }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q615722
P47
Q1048835
USER
Which political territories are bordered by that one ?
(c(Q1048835),P47,Q3322965)
action filter_type
action find
entity Q615722
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q3322965']
SELECT DISTINCT ?u WHERE { resource:Q615722 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Santa Fe
action filter_type
action find
entity Santa Fe
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Manuel Pavón']
SELECT DISTINCT ?u WHERE { resource:Santa_Fe property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q557953 Q611199 Q574340
SYSTEM
Chimeneas, Pinos Puente, Las Gabias
Q574340 Q574513 Q611199 Q618377 Q550974 Q557953 Q555943
(c(Q1048835),P47,Q3322965)
action filter_type
action find
entity Q615722
relation P47
type Q1048835
[ANSWERS] are bordered by that one
[{'concept': 'Q1048835'}, 'P47', 'Q3322965']
SELECT DISTINCT ?u WHERE { resource:Q615722 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Las Gabias Fuente Vaqueros Pinos Puente Vegas del Genil Atarfe Chimeneas Chauchina
Chimeneas, Pinos Puente and Las Gabias are bordered by that one
Chimeneas Pinos Puente Las Gabias
action filter_type
action find
entity Santa Fe
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Manuel Pavón']
SELECT DISTINCT ?u WHERE { resource:Santa_Fe property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q3947 Q43229
USER
Which political territories do approximately 1 houses or organizations belong to ?
(c(Q3947)|c(Q43229),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
value 1
[[{'concept': 'Q3947'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?r WHERE { VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q3947 ) } . ?p rdf:type ?s } GROUP BY ?r } . FILTER ( ?f = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
value 1
[[{'concept': 'house'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?r WHERE { VALUES ( ?s ) { ( ontology:organization ) ( ontology:house ) } . ?p rdf:type ?s } GROUP BY ?r } . FILTER ( ?f = 1 ) }
[]
political territorial entity house organization
Q408 Q16 Q40
SYSTEM
Australia, Canada, Austria
Q170322 Q6040 Q6053 Q8543 Q6041 Q2379199 Q8178 Q8551 Q40 Q6047 Q6045 Q8182 Q408 Q16
(c(Q3947)|c(Q43229),P127,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q43229
value 1
[ANSWERS] approximately 1 houses or organizations belong to
[[{'concept': 'Q3947'}, {'concept': 'Q43229'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?r WHERE { VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q3947 ) } . ?p rdf:type ?s } GROUP BY ?r } . FILTER ( ?f = 1 ) }
Qingdao Goslar Gifhorn Germersheim Wolfenbüttel politics of Edinburgh Karlsruhe Südliche Weinstraße Austria Helmstedt Peine Rastatt Australia Canada
Australia, Canada and Austria approximately 1 houses or organizations belong to
Australia Canada Austria
action approx
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type organization
value 1
[[{'concept': 'house'}, {'concept': 'organization'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) ?r WHERE { VALUES ( ?s ) { ( ontology:organization ) ( ontology:house ) } . ?p rdf:type ?s } GROUP BY ?r } . FILTER ( ?f = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5184169
P530
Q15617994
USER
Are Crenshaw County School District known to have diplomatic connections with those political territories ?
(Q5184169,P530,Q408) (Q5184169,P530,Q16) (Q5184169,P530,Q40)
action is_in
entity prev_answer
action find
entity Q5184169
relation P530
['Q5184169', 'P530', 'Q408'] ['Q5184169', 'P530', 'Q16'] ['Q5184169', 'P530', 'Q40']
ASK WHERE { resource:Q5184169 property:P530 ?s . VALUES ( ?s ) { ( resource:Q170322 ) ( resource:Q6040 ) ( resource:Q6053 ) } }
Crenshaw County School District
action is_in
entity prev_answer
action find
entity Crenshaw County School District
relation diplomatic relation
['Crenshaw County School District', 'diplomatic relation', 'Australia'] ['Crenshaw County School District', 'diplomatic relation', 'Canada'] ['Crenshaw County School District', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Crenshaw_County_School_District property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Qingdao ) ( resource:Goslar ) ( resource:Gifhorn ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5184169,P530,Q408) (Q5184169,P530,Q16) (Q5184169,P530,Q40)
action is_in
entity prev_answer
action find
entity Q5184169
relation P530
[ANSWER]
['Q5184169', 'P530', 'Q408'] ['Q5184169', 'P530', 'Q16'] ['Q5184169', 'P530', 'Q40']
ASK WHERE { resource:Q5184169 property:P530 ?s . VALUES ( ?s ) { ( resource:Q170322 ) ( resource:Q6040 ) ( resource:Q6053 ) } }
No
action is_in
entity prev_answer
action find
entity Crenshaw County School District
relation diplomatic relation
['Crenshaw County School District', 'diplomatic relation', 'Australia'] ['Crenshaw County School District', 'diplomatic relation', 'Canada'] ['Crenshaw County School District', 'diplomatic relation', 'Austria']
ASK WHERE { resource:Crenshaw_County_School_District property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Qingdao ) ( resource:Goslar ) ( resource:Gifhorn ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q801
P530
Q1048835 Q15617994
USER
How many administrative territories have ambassadorial relations with around the same number of political territories as Israel ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q801
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?t property:P530 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?e } } }
Israel
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?t property:diplomatic_relation ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?e } } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
81
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q851 Q733 Q734 Q736 Q233 Q20 Q1041 Q27 Q843 Q184 Q1029 Q1028 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q801
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?t property:P530 ?z . ?t rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?t } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?e } } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Saudi Arabia Paraguay Guyana Ecuador Malta Norway Senegal Ireland Pakistan Belarus Mozambique Morocco Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
81
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?s ) WHERE { ?t property:diplomatic_relation ?z . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?t } . FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?e } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q611199 Q202173
P19
Q502895
USER
How many people have place of birth as Pinos Puente or hordeolum ?
(c(Q502895),P19,Q611199) (c(Q502895),P19,Q202173)
action count
action union
action filter_type
action find_reverse
entity Q611199
relation P19
type Q502895
action filter_type
action find_reverse
entity Q202173
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q611199'] [{'concept': 'Q502895'}, 'P19', 'Q202173']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P19 ?b . VALUES ( ?b ) { ( resource:Q202173 ) ( resource:Q611199 ) } }
Pinos Puente hordeolum
action count
action union
action filter_type
action find_reverse
entity Pinos Puente
relation place of birth
type common name
action filter_type
action find_reverse
entity hordeolum
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pinos Puente'] [{'concept': 'common name'}, 'place of birth', 'hordeolum']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:place_of_birth ?b . VALUES ( ?b ) { ( resource:hordeolum ) ( resource:Pinos_Puente ) } }
[]
common name
SYSTEM
3
Q22328550 Q16027162 Q5831304
(c(Q502895),P19,Q611199) (c(Q502895),P19,Q202173)
action count
action union
action filter_type
action find_reverse
entity Q611199
relation P19
type Q502895
action filter_type
action find_reverse
entity Q202173
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q611199'] [{'concept': 'Q502895'}, 'P19', 'Q202173']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P19 ?b . VALUES ( ?b ) { ( resource:Q202173 ) ( resource:Q611199 ) } }
Mesa de León Victor Pidoux Emilio Ruiz Baena
3
action count
action union
action filter_type
action find_reverse
entity Pinos Puente
relation place of birth
type common name
action filter_type
action find_reverse
entity hordeolum
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Pinos Puente'] [{'concept': 'common name'}, 'place of birth', 'hordeolum']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:place_of_birth ?b . VALUES ( ?b ) { ( resource:hordeolum ) ( resource:Pinos_Puente ) } }
[]