Simple Question (Direct)
Simple Question
Q105050
P19
Q56061
USER
Which administrative territory is the birthplace of Jörg Pleva ?
(Q105050,P19,c(Q56061))
action filter_type
action find
entity Q105050
relation P19
type Q56061
['Q105050', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q105050 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Jörg Pleva
action filter_type
action find
entity Jörg Pleva
relation place of birth
type administrative territorial entity
['Jörg Pleva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jörg_Pleva property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1022
SYSTEM
Stuttgart
Q1022
(Q105050,P19,c(Q56061))
action filter_type
action find
entity Q105050
relation P19
type Q56061
[ANSWER] is the birthplace of Jörg Pleva
['Q105050', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q105050 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Stuttgart
Stuttgart is the birthplace of Jörg Pleva
Stuttgart
action filter_type
action find
entity Jörg Pleva
relation place of birth
type administrative territorial entity
['Jörg Pleva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Jörg_Pleva property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q105050
P937
Q486972
USER
Where did that person work ?
(Q1022,P937,c(Q486972))
action filter_type
action find
entity Q105050
relation P937
type Q486972
['Q1022', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { resource:Q105050 property:P937 ?j . ?j rdf:type ontology:Q486972 }
Jörg Pleva
action filter_type
action find
entity Jörg Pleva
relation work location
type human settlement
['Stuttgart', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { resource:Jörg_Pleva property:work_location ?j . ?j rdf:type ontology:human_settlement }
[]
human settlement
Q1055
SYSTEM
Hamburg
Q1055
(Q1022,P937,c(Q486972))
action filter_type
action find
entity Q105050
relation P937
type Q486972
That person worked in [ANSWER]
['Q1022', 'P937', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { resource:Q105050 property:P937 ?j . ?j rdf:type ontology:Q486972 }
Hamburg
That person worked in Hamburg
Hamburg
action filter_type
action find
entity Jörg Pleva
relation work location
type human settlement
['Stuttgart', 'work location', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { resource:Jörg_Pleva property:work_location ?j . ?j rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P206
Q355304
USER
How many watercourses are situated in the neighbourhood of that human settlement ?
(Q1055,P206,c(Q355304))
action count
action filter_type
action find
entity Q1055
relation P206
type Q355304
['Q1055', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q1055 property:P206 ?r . ?r rdf:type ontology:Q355304 }
action count
action filter_type
action find
entity Hamburg
relation located next to body of water
type watercourse
['Hamburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Hamburg property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]
watercourse
SYSTEM
12
Q3339 Q316450 Q430677 Q877543 Q2225573 Q1464580 Q317889 Q321993 Q882922 Q316958 Q1219 Q1644
(Q1055,P206,c(Q355304))
action count
action filter_type
action find
entity Q1055
relation P206
type Q355304
[ANSWER]
['Q1055', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q1055 property:P206 ?r . ?r rdf:type ontology:Q355304 }
Bille Wandse Este Rodenbek Saselbek Isebekkanal Tarpenbek Osterbek Bredenbek Flottbek Alster Elbe
12
action count
action filter_type
action find
entity Hamburg
relation located next to body of water
type watercourse
['Hamburg', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Hamburg property:located_next_to_body_of_water ?r . ?r rdf:type ontology:watercourse }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q170390
P1376
Q1048835 Q486972
USER
Which political territories have greater number of human settlements as their capital than County of Oldenburg ?
(c(Q486972),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q170390
relation P1376
type Q1048835
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P1376 ?l . ?l rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q486972 } GROUP BY ?l } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q170390 property:P1376 ?w } } }
County of Oldenburg
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find
entity County of Oldenburg
relation capital of
type political territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:capital_of ?l . ?l rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:human_settlement } GROUP BY ?l } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:County_of_Oldenburg property:capital_of ?w } } }
[]
political territorial entity human settlement
Q10485 Q170672 Q35086
SYSTEM
Deggendorf, Dnipropetrovsk Oblast, South Georgia and the South Sandwich Islands
Q7130037 Q3321945 Q10500690 Q3317759 Q3312902 Q2702993 Q6156 Q10469 Q10462 Q10466 Q971457 Q2846059 Q6319070 Q2718534 Q5455586 Q6319759 Q3313430 Q5088519 Q6318695 Q3826003 Q7258563 Q8050384 Q3314201 Q1468315 Q7414539 Q1769672 Q1229942 Q5444794 Q593806 Q201697 Q7827062 Q4694508 Q170672 Q3824193 Q571947 Q48106 Q2307775 Q5856660 Q2697637 Q10480 Q10485 Q6013498 Q5924968 Q35086
(c(Q486972),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q170390
relation P1376
type Q1048835
[ANSWERS] have greater number of human settlements as their capital than County of Oldenburg
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P1376 ?l . ?l rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q486972 } GROUP BY ?l } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:Q1048835 . resource:Q170390 property:P1376 ?w } } }
Panao District Acarí District San Miguel District Putumayo District Coya District Haquira District Oberspreewald-Lausitz Main-Spessart Haßberge Bad Kissingen Lunahuaná District Andahuaylillas District Magdalena de Cao District Lurigancho Fitzcarrald Sicaya District Antioquia District Chavinillo District Pimentel Chucuito District Puerto Inca District Yavari District Achoma District Pozuzo District San José de Sisa District La Sotonera La Jalca District Fernando Lores District Llata District Leimebamba District Torres Causana District Aguas Verdes Dnipropetrovsk Oblast Querobamba District Bautzen Suhl District Sepahua Mito District San Marcos District Dingolfing-Landau Deggendorf Inambari Huacaybamba South Georgia and the South Sandwich Islands
Deggendorf, Dnipropetrovsk Oblast and South Georgia and the South Sandwich Islands have greater number of human settlements as their capital than County of Oldenburg
Deggendorf Dnipropetrovsk Oblast South Georgia and the South Sandwich Islands
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find
entity County of Oldenburg
relation capital of
type political territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:capital_of ?l . ?l rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:human_settlement } GROUP BY ?l } . FILTER ( ?q > ?p ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w rdf:type ontology:political_territorial_entity . resource:County_of_Oldenburg property:capital_of ?w } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3826135
P1376
Q1048835 Q486972
USER
And what about Puquio District?
(c(Q486972),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q3826135
relation P1376
type Q1048835
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P1376 ?l . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q486972 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q1048835 . resource:Q3826135 property:P1376 ?c } } . FILTER ( ?z > ?u ) }
Puquio District
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Puquio District
relation capital of
type political territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:capital_of ?l . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:human_settlement } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Puquio_District property:capital_of ?c } } . FILTER ( ?z > ?u ) }
[]
political territorial entity human settlement
Q10485 Q170672 Q35086
SYSTEM
Deggendorf, Dnipropetrovsk Oblast, South Georgia and the South Sandwich Islands
Q7130037 Q3321945 Q10500690 Q3317759 Q3312902 Q2702993 Q6156 Q10469 Q10462 Q10466 Q971457 Q2846059 Q6319070 Q2718534 Q5455586 Q6319759 Q3313430 Q5088519 Q6318695 Q3826003 Q7258563 Q8050384 Q3314201 Q1468315 Q7414539 Q1769672 Q1229942 Q5444794 Q593806 Q201697 Q7827062 Q4694508 Q170672 Q3824193 Q571947 Q48106 Q2307775 Q5856660 Q2697637 Q10480 Q10485 Q6013498 Q5924968 Q35086
(c(Q486972),P1376,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action count
action filter_type
action find
entity Q3826135
relation P1376
type Q1048835
[ANSWERS]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P1376 ?l . ?l rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q486972 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:Q1048835 . resource:Q3826135 property:P1376 ?c } } . FILTER ( ?z > ?u ) }
Panao District Acarí District San Miguel District Putumayo District Coya District Haquira District Oberspreewald-Lausitz Main-Spessart Haßberge Bad Kissingen Lunahuaná District Andahuaylillas District Magdalena de Cao District Lurigancho Fitzcarrald Sicaya District Antioquia District Chavinillo District Pimentel Chucuito District Puerto Inca District Yavari District Achoma District Pozuzo District San José de Sisa District La Sotonera La Jalca District Fernando Lores District Llata District Leimebamba District Torres Causana District Aguas Verdes Dnipropetrovsk Oblast Querobamba District Bautzen Suhl District Sepahua Mito District San Marcos District Dingolfing-Landau Deggendorf Inambari Huacaybamba South Georgia and the South Sandwich Islands
Deggendorf Dnipropetrovsk Oblast South Georgia and the South Sandwich Islands
action greater
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action count
action filter_type
action find
entity Puquio District
relation capital of
type political territorial entity
[{'concept': 'human settlement'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:capital_of ?l . ?l rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:human_settlement } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { ?c rdf:type ontology:political_territorial_entity . resource:Puquio_District property:capital_of ?c } } . FILTER ( ?z > ?u ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10485
P610
Q14524493
USER
Which terrain is the highest point of that political territory ?
(Q10485,P610,c(Q14524493))
action filter_type
action find
entity Q10485
relation P610
type Q14524493
['Q10485', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q14524493 . resource:Q10485 property:P610 ?a }
Deggendorf
action filter_type
action find
entity Deggendorf
relation highest point
type terrain
['Deggendorf', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:terrain . resource:Deggendorf property:highest_point ?a }
[]
terrain
Clarification for simple ques.
Q10485
SYSTEM
Did you mean Deggendorf ?
Q10485 Q170672 Q35086
(Q10485,P610,c(Q14524493)) (Q170672,P610,c(Q14524493)) (Q35086,P610,c(Q14524493))
[ANSWER]
['Q10485', 'P610', {'concept': 'Q14524493'}] ['Q170672', 'P610', {'concept': 'Q14524493'}] ['Q35086', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q14524493 . resource:Q10485 property:P610 ?a }
Deggendorf Dnipropetrovsk Oblast South Georgia and the South Sandwich Islands
Did you mean Deggendorf ?
Deggendorf
['Deggendorf', 'highest point', {'concept': 'terrain'}] ['Dnipropetrovsk Oblast', 'highest point', {'concept': 'terrain'}] ['South Georgia and the South Sandwich Islands', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:terrain . resource:Deggendorf property:highest_point ?a }
[]
Simple Question (Coreferenced)
USER
Yes
(Q10485,P610,c(Q14524493))
['Q10485', 'P610', {'concept': 'Q14524493'}]
['Deggendorf', 'highest point', {'concept': 'terrain'}]
[]
Q1310425
SYSTEM
Einödriegel
Q1310425
(Q10485,P610,c(Q14524493))
action filter_type
action find
entity Q10485
relation P610
type Q14524493
[ANSWER] is the highest point of that political territory
['Q10485', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q14524493 . resource:Q10485 property:P610 ?a }
Einödriegel
Einödriegel is the highest point of that political territory
Einödriegel
action filter_type
action find
entity Deggendorf
relation highest point
type terrain
['Deggendorf', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:terrain . resource:Deggendorf property:highest_point ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1310425 Q183
P17
Q1048835
USER
Is Einödriegel located in Germany ?
(Q1310425,P17,Q183)
action is_in
entity Q183
action find
entity Q1310425
relation P17
['Q1310425', 'P17', 'Q183']
ASK WHERE { resource:Q1310425 property:P17 resource:Q183 }
Einödriegel Germany
action is_in
entity Germany
action find
entity Einödriegel
relation country
['Einödriegel', 'country', 'Germany']
ASK WHERE { resource:Einödriegel property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1310425,P17,Q183)
action is_in
entity Q183
action find
entity Q1310425
relation P17
[ANSWER]
['Q1310425', 'P17', 'Q183']
ASK WHERE { resource:Q1310425 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Einödriegel
relation country
['Einödriegel', 'country', 'Germany']
ASK WHERE { resource:Einödriegel property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1022 Q1156
P190
Q56061
USER
Is Mumbai the sister city of Stuttgart ?
(Q1022,P190,Q1156)
action is_in
entity Q1156
action find
entity Q1022
relation P190
['Q1022', 'P190', 'Q1156']
ASK WHERE { resource:Q1022 property:P190 resource:Q1156 }
Stuttgart Mumbai
action is_in
entity Mumbai
action find
entity Stuttgart
relation sister city
['Stuttgart', 'sister city', 'Mumbai']
ASK WHERE { resource:Stuttgart property:sister_city resource:Mumbai }
[]
administrative territorial entity
SYSTEM
YES
(Q1022,P190,Q1156)
action is_in
entity Q1156
action find
entity Q1022
relation P190
[ANSWER]
['Q1022', 'P190', 'Q1156']
ASK WHERE { resource:Q1022 property:P190 resource:Q1156 }
Yes
action is_in
entity Mumbai
action find
entity Stuttgart
relation sister city
['Stuttgart', 'sister city', 'Mumbai']
ASK WHERE { resource:Stuttgart property:sister_city resource:Mumbai }
[]