Simple Question (Direct)
Simple Question
Q3840039
P20
Q56061
USER
Where did Luigi Poggi die ?
(Q3840039,P20,c(Q56061))
action filter_type
action find
entity Q3840039
relation P20
type Q56061
['Q3840039', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3840039 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Luigi Poggi
action filter_type
action find
entity Luigi Poggi
relation place of death
type administrative territorial entity
['Luigi Poggi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Luigi_Poggi property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1449
SYSTEM
Genoa
Q1449
(Q3840039,P20,c(Q56061))
action filter_type
action find
entity Q3840039
relation P20
type Q56061
Luigi Poggi died in [ANSWER]
['Q3840039', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q3840039 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Genoa
Luigi Poggi died in Genoa
Genoa
action filter_type
action find
entity Luigi Poggi
relation place of death
type administrative territorial entity
['Luigi Poggi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Luigi_Poggi property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1449
P190
Q15617994
USER
Which administrative territories are twin cities of that administrative territory ?
(Q1449,P190,c(Q15617994))
action filter_type
action find
entity Q1449
relation P190
type Q15617994
['Q1449', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q1449 property:P190 ?d }
Genoa
action filter_type
action find
entity Genoa
relation sister city
type designation for an administrative territorial entity
['Genoa', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Genoa property:sister_city ?d }
[]
designation for an administrative territorial entity
Q17244 Q52337
SYSTEM
Acqui Terme, Tursi
Q17244 Q52337
(Q1449,P190,c(Q15617994))
action filter_type
action find
entity Q1449
relation P190
type Q15617994
[ANSWERS] are twin cities of that administrative territory
['Q1449', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q1449 property:P190 ?d }
Acqui Terme Tursi
Acqui Terme and Tursi are twin cities of that administrative territory
Acqui Terme Tursi
action filter_type
action find
entity Genoa
relation sister city
type designation for an administrative territorial entity
['Genoa', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Genoa property:sister_city ?d }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1449
P190
Q56061
USER
Are Genoa a sister city of those administrative territories ?
(Q1449,P190,Q17244) (Q1449,P190,Q52337)
action is_in
entity prev_answer
action find
entity Q1449
relation P190
['Q1449', 'P190', 'Q17244'] ['Q1449', 'P190', 'Q52337']
ASK WHERE { VALUES ( ?r ) { ( resource:Q17244 ) ( resource:Q52337 ) } . resource:Q1449 property:P190 ?r }
Genoa
action is_in
entity prev_answer
action find
entity Genoa
relation sister city
['Genoa', 'sister city', 'Acqui Terme'] ['Genoa', 'sister city', 'Tursi']
ASK WHERE { VALUES ( ?r ) { ( resource:Acqui_Terme ) ( resource:Tursi ) } . resource:Genoa property:sister_city ?r }
[]
administrative territorial entity
SYSTEM
YES
(Q1449,P190,Q17244) (Q1449,P190,Q52337)
action is_in
entity prev_answer
action find
entity Q1449
relation P190
[ANSWER]
['Q1449', 'P190', 'Q17244'] ['Q1449', 'P190', 'Q52337']
ASK WHERE { VALUES ( ?r ) { ( resource:Q17244 ) ( resource:Q52337 ) } . resource:Q1449 property:P190 ?r }
Yes
action is_in
entity prev_answer
action find
entity Genoa
relation sister city
['Genoa', 'sister city', 'Acqui Terme'] ['Genoa', 'sister city', 'Tursi']
ASK WHERE { VALUES ( ?r ) { ( resource:Acqui_Terme ) ( resource:Tursi ) } . resource:Genoa property:sister_city ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2634
P1427
Q878123
USER
Which racing has Naples as the start location ?
(c(Q878123),P1427,Q2634)
action filter_type
action find_reverse
entity Q2634
relation P1427
type Q878123
[{'concept': 'Q878123'}, 'P1427', 'Q2634']
SELECT DISTINCT ?s WHERE { ?s property:P1427 resource:Q2634 . ?s rdf:type ontology:Q878123 }
Naples
action filter_type
action find_reverse
entity Naples
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Naples']
SELECT DISTINCT ?s WHERE { ?s property:start_point resource:Naples . ?s rdf:type ontology:racing }
[]
racing
Q12122476
SYSTEM
2013 Giro d'Italia, Stage 1
Q12122476
(c(Q878123),P1427,Q2634)
action filter_type
action find_reverse
entity Q2634
relation P1427
type Q878123
[ANSWER] has Naples as the start location
[{'concept': 'Q878123'}, 'P1427', 'Q2634']
SELECT DISTINCT ?s WHERE { ?s property:P1427 resource:Q2634 . ?s rdf:type ontology:Q878123 }
2013 Giro d'Italia, Stage 1
2013 Giro d'Italia, Stage 1 has Naples as the start location
2013 Giro d'Italia, Stage 1
action filter_type
action find_reverse
entity Naples
relation start point
type racing
[{'concept': 'racing'}, 'start point', 'Naples']
SELECT DISTINCT ?s WHERE { ?s property:start_point resource:Naples . ?s rdf:type ontology:racing }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12122476
P1444
Q56061
USER
Where does the journey end for that racing ?
(Q12122476,P1444,c(Q56061))
action filter_type
action find
entity Q12122476
relation P1444
type Q56061
['Q12122476', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q12122476 property:P1444 ?s . ?s rdf:type ontology:Q56061 }
2013 Giro d'Italia, Stage 1
action filter_type
action find
entity 2013 Giro d'Italia, Stage 1
relation destination point
type administrative territorial entity
["2013 Giro d'Italia, Stage 1", 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:2013_Giro_d'Italia,_Stage_1 property:destination_point ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q12122476,P1444,c(Q56061))
action filter_type
action find
entity Q12122476
relation P1444
type Q56061
The journey ends in [ANSWER] for that racing
['Q12122476', 'P1444', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q12122476 property:P1444 ?s . ?s rdf:type ontology:Q56061 }
Naples
The journey ends in Naples for that racing
Naples
action filter_type
action find
entity 2013 Giro d'Italia, Stage 1
relation destination point
type administrative territorial entity
["2013 Giro d'Italia, Stage 1", 'destination point', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:2013_Giro_d'Italia,_Stage_1 property:destination_point ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of max number of administrative territories ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?y property:P532 ?i . ?y rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?f ) WHERE { ?e property:P532 ?x . ?x rdf:type ontology:Q56061 . ?e rdf:type ontology:Q2235308 } GROUP BY ?e } . FILTER ( ?f = ?r ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?y property:port_of_registry ?i . ?y rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?f ) WHERE { ?e property:port_of_registry ?x . ?x rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:ship_type } GROUP BY ?e } . FILTER ( ?f = ?r ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] is the registry port of max number of administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?y property:P532 ?i . ?y rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?f ) WHERE { ?e property:P532 ?x . ?x rdf:type ontology:Q56061 . ?e rdf:type ontology:Q2235308 } GROUP BY ?e } . FILTER ( ?f = ?r ) }
MS Arrow
MS Arrow is the registry port of max number of administrative territories
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?i ) AS ?d ) WHERE { ?y property:port_of_registry ?i . ?y rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?f ) WHERE { ?e property:port_of_registry ?x . ?x rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:ship_type } GROUP BY ?e } . FILTER ( ?f = ?r ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11707059 Q7123291 Q23800
P532
Q56061
USER
Does that ship type have its base port as Padawala and Valletta ?
(Q11707059,P532,Q7123291) (Q11707059,P532,Q23800)
action is_in
entity Q11707059
action intersection
action find_reverse
entity Q7123291
relation P532
action find_reverse
entity Q23800
relation P532
['Q11707059', 'P532', 'Q7123291'] ['Q11707059', 'P532', 'Q23800']
ASK WHERE { resource:Q11707059 property:P532 resource:Q7123291 . resource:Q11707059 property:P532 resource:Q23800 }
MS Arrow Padawala Valletta
action is_in
entity MS Arrow
action intersection
action find_reverse
entity Padawala
relation port of registry
action find_reverse
entity Valletta
relation port of registry
['MS Arrow', 'port of registry', 'Padawala'] ['MS Arrow', 'port of registry', 'Valletta']
ASK WHERE { resource:MS_Arrow property:port_of_registry resource:Padawala . resource:MS_Arrow property:port_of_registry resource:Valletta }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q11707059,P532,Q7123291) (Q11707059,P532,Q23800)
action is_in
entity Q11707059
action intersection
action find_reverse
entity Q7123291
relation P532
action find_reverse
entity Q23800
relation P532
[ANSWER]
['Q11707059', 'P532', 'Q7123291'] ['Q11707059', 'P532', 'Q23800']
ASK WHERE { resource:Q11707059 property:P532 resource:Q7123291 . resource:Q11707059 property:P532 resource:Q23800 }
NO and YES respectively
action is_in
entity MS Arrow
action intersection
action find_reverse
entity Padawala
relation port of registry
action find_reverse
entity Valletta
relation port of registry
['MS Arrow', 'port of registry', 'Padawala'] ['MS Arrow', 'port of registry', 'Valletta']
ASK WHERE { resource:MS_Arrow property:port_of_registry resource:Padawala . resource:MS_Arrow property:port_of_registry resource:Valletta }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1449 Q1486
P190
Q515
USER
Is Buenos Aires sister town of Genoa ?
(Q1449,P190,Q1486)
action is_in
entity Q1486
action find
entity Q1449
relation P190
['Q1449', 'P190', 'Q1486']
ASK WHERE { resource:Q1449 property:P190 resource:Q1486 }
Genoa Buenos Aires
action is_in
entity Buenos Aires
action find
entity Genoa
relation sister city
['Genoa', 'sister city', 'Buenos Aires']
ASK WHERE { resource:Genoa property:sister_city resource:Buenos_Aires }
[]
city
SYSTEM
YES
(Q1449,P190,Q1486)
action is_in
entity Q1486
action find
entity Q1449
relation P190
[ANSWER]
['Q1449', 'P190', 'Q1486']
ASK WHERE { resource:Q1449 property:P190 resource:Q1486 }
Yes
action is_in
entity Buenos Aires
action find
entity Genoa
relation sister city
['Genoa', 'sister city', 'Buenos Aires']
ASK WHERE { resource:Genoa property:sister_city resource:Buenos_Aires }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q52337 Q72728 Q2713
P17
Q15617994
USER
Is Tursi located in Tufino and Drensteinfurt ?
(Q52337,P17,Q72728) (Q52337,P17,Q2713)
action is_in
entity Q52337
action intersection
action find_reverse
entity Q72728
relation P17
action find_reverse
entity Q2713
relation P17
['Q52337', 'P17', 'Q72728'] ['Q52337', 'P17', 'Q2713']
ASK WHERE { resource:Q52337 property:P17 resource:Q72728 . resource:Q52337 property:P17 resource:Q2713 }
Tursi Tufino Drensteinfurt
action is_in
entity Tursi
action intersection
action find_reverse
entity Tufino
relation country
action find_reverse
entity Drensteinfurt
relation country
['Tursi', 'country', 'Tufino'] ['Tursi', 'country', 'Drensteinfurt']
ASK WHERE { resource:Tursi property:country resource:Tufino . resource:Tursi property:country resource:Drensteinfurt }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q52337,P17,Q72728) (Q52337,P17,Q2713)
action is_in
entity Q52337
action intersection
action find_reverse
entity Q72728
relation P17
action find_reverse
entity Q2713
relation P17
[ANSWER]
['Q52337', 'P17', 'Q72728'] ['Q52337', 'P17', 'Q2713']
ASK WHERE { resource:Q52337 property:P17 resource:Q72728 . resource:Q52337 property:P17 resource:Q2713 }
No
action is_in
entity Tursi
action intersection
action find_reverse
entity Tufino
relation country
action find_reverse
entity Drensteinfurt
relation country
['Tursi', 'country', 'Tufino'] ['Tursi', 'country', 'Drensteinfurt']
ASK WHERE { resource:Tursi property:country resource:Tufino . resource:Tursi property:country resource:Drensteinfurt }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q17244 Q38 Q1374770
P17
Q15617994
USER
Is Acqui Terme located in Italy and Xiashan District ?
(Q17244,P17,Q38) (Q17244,P17,Q1374770)
action is_in
entity Q17244
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q1374770
relation P17
['Q17244', 'P17', 'Q38'] ['Q17244', 'P17', 'Q1374770']
ASK WHERE { resource:Q17244 property:P17 resource:Q38 . resource:Q17244 property:P17 resource:Q1374770 }
Acqui Terme Italy Xiashan District
action is_in
entity Acqui Terme
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity Xiashan District
relation country
['Acqui Terme', 'country', 'Italy'] ['Acqui Terme', 'country', 'Xiashan District']
ASK WHERE { resource:Acqui_Terme property:country resource:Italy . resource:Acqui_Terme property:country resource:Xiashan_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q17244,P17,Q38) (Q17244,P17,Q1374770)
action is_in
entity Q17244
action intersection
action find_reverse
entity Q38
relation P17
action find_reverse
entity Q1374770
relation P17
[ANSWER]
['Q17244', 'P17', 'Q38'] ['Q17244', 'P17', 'Q1374770']
ASK WHERE { resource:Q17244 property:P17 resource:Q38 . resource:Q17244 property:P17 resource:Q1374770 }
YES and NO respectively
action is_in
entity Acqui Terme
action intersection
action find_reverse
entity Italy
relation country
action find_reverse
entity Xiashan District
relation country
['Acqui Terme', 'country', 'Italy'] ['Acqui Terme', 'country', 'Xiashan District']
ASK WHERE { resource:Acqui_Terme property:country resource:Italy . resource:Acqui_Terme property:country resource:Xiashan_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1449 Q6506 Q6932167
P190
Q56061
USER
Is Genoa partner town of Varna and Mughalpura ?
(Q1449,P190,Q6506) (Q1449,P190,Q6932167)
action is_in
entity Q1449
action intersection
action find_reverse
entity Q6506
relation P190
action find_reverse
entity Q6932167
relation P190
['Q1449', 'P190', 'Q6506'] ['Q1449', 'P190', 'Q6932167']
ASK WHERE { resource:Q1449 property:P190 resource:Q6506 . resource:Q1449 property:P190 resource:Q6932167 }
Genoa Varna Mughalpura
action is_in
entity Genoa
action intersection
action find_reverse
entity Varna
relation sister city
action find_reverse
entity Mughalpura
relation sister city
['Genoa', 'sister city', 'Varna'] ['Genoa', 'sister city', 'Mughalpura']
ASK WHERE { resource:Genoa property:sister_city resource:Varna . resource:Genoa property:sister_city resource:Mughalpura }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q1449,P190,Q6506) (Q1449,P190,Q6932167)
action is_in
entity Q1449
action intersection
action find_reverse
entity Q6506
relation P190
action find_reverse
entity Q6932167
relation P190
[ANSWER]
['Q1449', 'P190', 'Q6506'] ['Q1449', 'P190', 'Q6932167']
ASK WHERE { resource:Q1449 property:P190 resource:Q6506 . resource:Q1449 property:P190 resource:Q6932167 }
YES and NO respectively
action is_in
entity Genoa
action intersection
action find_reverse
entity Varna
relation sister city
action find_reverse
entity Mughalpura
relation sister city
['Genoa', 'sister city', 'Varna'] ['Genoa', 'sister city', 'Mughalpura']
ASK WHERE { resource:Genoa property:sister_city resource:Varna . resource:Genoa property:sister_city resource:Mughalpura }
[]