Simple Question (Direct)
Simple Question
Q2262668
P734
Q82799
USER
Which name is associated with Frank Aaen ?
(Q2262668,P734,c(Q82799))
action filter_type
action find
entity Q2262668
relation P734
type Q82799
['Q2262668', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . resource:Q2262668 property:P734 ?y }
Frank Aaen
action filter_type
action find
entity Frank Aaen
relation family name
type name
['Frank Aaen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . resource:Frank_Aaen property:family_name ?y }
[]
name
Q4661153
SYSTEM
Aaen
Q4661153
(Q2262668,P734,c(Q82799))
action filter_type
action find
entity Q2262668
relation P734
type Q82799
[ANSWER] is associated with Frank [ANSWER]
['Q2262668', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . resource:Q2262668 property:P734 ?y }
Aaen
Aaen is associated with Frank Aaen
Aaen
action filter_type
action find
entity Frank Aaen
relation family name
type name
['Frank Aaen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . resource:Frank_Aaen property:family_name ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2262668
P21
Q290
USER
Which sex does Frank Aaen possess ?
(Q2262668,P21,c(Q290))
action filter_type
action find
entity Q2262668
relation P21
type Q290
['Q2262668', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2262668 property:P21 ?i . ?i rdf:type ontology:Q290 }
Frank Aaen
action filter_type
action find
entity Frank Aaen
relation gender
type sex
['Frank Aaen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Frank_Aaen property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2262668,P21,c(Q290))
action filter_type
action find
entity Q2262668
relation P21
type Q290
Frank Aaen possesses un [ANSWER]
['Q2262668', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2262668 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Frank Aaen possesses un male
male
action filter_type
action find
entity Frank Aaen
relation gender
type sex
['Frank Aaen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Frank_Aaen property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2262668
P937
Q56061
USER
What is the location where Frank Aaen worked ?
(Q2262668,P937,c(Q56061))
action filter_type
action find
entity Q2262668
relation P937
type Q56061
['Q2262668', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2262668 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Frank Aaen
action filter_type
action find
entity Frank Aaen
relation work location
type administrative territorial entity
['Frank Aaen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Frank_Aaen property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1748
SYSTEM
Copenhagen
Q1748
(Q2262668,P937,c(Q56061))
action filter_type
action find
entity Q2262668
relation P937
type Q56061
The location Frank Aaen worked is in [ANSWER]
['Q2262668', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2262668 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Copenhagen
The location Frank Aaen worked is in Copenhagen
Copenhagen
action filter_type
action find
entity Frank Aaen
relation work location
type administrative territorial entity
['Frank Aaen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Frank_Aaen property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2544348
Q56061
USER
And also tell me about Walter Fuchs?
(Q2544348,P937,c(Q56061))
action filter_type
action find
entity Q2544348
relation P937
type Q56061
['Q2544348', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2544348 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Walter Fuchs
action filter_type
action find
entity Walter Fuchs
relation work location
type administrative territorial entity
['Walter Fuchs', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Walter_Fuchs property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q2544348,P937,c(Q56061))
action filter_type
action find
entity Q2544348
relation P937
type Q56061
[ANSWER]
['Q2544348', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q2544348 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Cologne
Cologne
action filter_type
action find
entity Walter Fuchs
relation work location
type administrative territorial entity
['Walter Fuchs', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Walter_Fuchs property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q365 Q15996945
P20
Q502895
USER
Does Harry Watts have that administrative territory as the location of death ?
(Q15996945,P20,Q365)
action is_in
entity Q15996945
action find
entity Q365
relation P20
['Q15996945', 'P20', 'Q365']
ASK WHERE { resource:Q365 property:P20 resource:Q15996945 }
Cologne Harry Watts
action is_in
entity Harry Watts
action find
entity Cologne
relation place of death
['Harry Watts', 'place of death', 'Cologne']
ASK WHERE { resource:Cologne property:place_of_death resource:Harry_Watts }
[]
common name
SYSTEM
NO
(Q15996945,P20,Q365)
action is_in
entity Q15996945
action find
entity Q365
relation P20
[ANSWER]
['Q15996945', 'P20', 'Q365']
ASK WHERE { resource:Q365 property:P20 resource:Q15996945 }
No
action is_in
entity Harry Watts
action find
entity Cologne
relation place of death
['Harry Watts', 'place of death', 'Cologne']
ASK WHERE { resource:Cologne property:place_of_death resource:Harry_Watts }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q47074
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have more number of people or holidays as their patron saint than Aielli ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q47074
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q47074 property:P417 ?g . { { ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q1445650 } } } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?w } }
Aielli
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Aielli
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Aielli property:patron_saint ?g . { { ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:holiday } } } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?w } }
[]
common name holiday administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q220 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q47074
relation P417
type Q502895
type Q1445650
[ANSWERS] have more number of people or holidays as their patron saint than Aielli
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q47074 property:P417 ?g . { { ?g rdf:type ontology:Q502895 } UNION { ?g rdf:type ontology:Q1445650 } } } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?w } }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Brolo Kastritsa Platres Altrei Molista Mölten Rome Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow, Madrid and Milan have more number of people or holidays as their patron saint than Aielli
Moscow Madrid Milan
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Aielli
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Aielli property:patron_saint ?g . { { ?g rdf:type ontology:common_name } UNION { ?g rdf:type ontology:holiday } } } } . FILTER ( ?d > ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ?t . VALUES ( ?t ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2028
P417
Q502895 Q1445650 Q56061
USER
And how about Verona?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q2028
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q2028 property:P417 ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?y } }
Verona
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Verona
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Verona property:patron_saint ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:holiday ) } } } } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?y } }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q2028
relation P417
type Q502895
type Q1445650
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Q2028 property:P417 ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?y } }
Brinzio Rome
Brinzio Rome
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Verona
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { resource:Verona property:patron_saint ?n . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:holiday ) } } } } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { ?t rdf:type ?h . VALUES ( ?h ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?y } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7038632 Q2028
P495 P17
Q15617994
USER
Which administrative territories are Verona a part of or are the countries of origin of Ningalkkum Aakaam Kodeeshwaran ?
OR((Q2028,P17,c(Q15617994)), (Q7038632,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q2028
relation P17
action find
entity Q7038632
relation P495
type Q15617994
{'OR': [['Q2028', 'P17', {'concept': 'Q15617994'}], ['Q7038632', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2028 property:P17 ?b } UNION { resource:Q7038632 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
Ningalkkum Aakaam Kodeeshwaran Verona
action filter_type
action union
action find
entity Verona
relation country
action find
entity Ningalkkum Aakaam Kodeeshwaran
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Verona', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ningalkkum Aakaam Kodeeshwaran', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Verona property:country ?b } UNION { resource:Ningalkkum_Aakaam_Kodeeshwaran property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q668
SYSTEM
Italy, India
Q38 Q668
OR((Q2028,P17,c(Q15617994)), (Q7038632,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q2028
relation P17
action find
entity Q7038632
relation P495
type Q15617994
[ANSWERS] are Verona a part of or are the countries of origin of Ningalkkum Aakaam Kodeeshwaran
{'OR': [['Q2028', 'P17', {'concept': 'Q15617994'}], ['Q7038632', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2028 property:P17 ?b } UNION { resource:Q7038632 property:P495 ?b } } . ?b rdf:type ontology:Q15617994 }
Italy India
Italy and India are Verona a part of or are the countries of origin of Ningalkkum Aakaam Kodeeshwaran
Italy India
action filter_type
action union
action find
entity Verona
relation country
action find
entity Ningalkkum Aakaam Kodeeshwaran
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Verona', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ningalkkum Aakaam Kodeeshwaran', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Verona property:country ?b } UNION { resource:Ningalkkum_Aakaam_Kodeeshwaran property:country_of_origin ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]