Simple Question (Direct)
Simple Question
Q3398669
P19
Q56061
USER
Where was Jon Lee born ?
(Q3398669,P19,c(Q56061))
action filter_type
action find
entity Q3398669
relation P19
type Q56061
['Q3398669', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3398669 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Jon Lee
action filter_type
action find
entity Jon Lee
relation place of birth
type administrative territorial entity
['Jon Lee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jon_Lee property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q101254
SYSTEM
Newport
Q101254
(Q3398669,P19,c(Q56061))
action filter_type
action find
entity Q3398669
relation P19
type Q56061
Jon Lee was born in [ANSWER]
['Q3398669', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3398669 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Newport
Jon Lee was born in Newport
Newport
action filter_type
action find
entity Jon Lee
relation place of birth
type administrative territorial entity
['Jon Lee', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Jon_Lee property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3398669
P20
Q515
USER
Where did the expiration of Jon Lee occur ?
(Q3398669,P20,c(Q515))
action filter_type
action find
entity Q3398669
relation P20
type Q515
['Q3398669', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q3398669 property:P20 ?e . ?e rdf:type ontology:Q515 }
Jon Lee
action filter_type
action find
entity Jon Lee
relation place of death
type city
['Jon Lee', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Jon_Lee property:place_of_death ?e . ?e rdf:type ontology:city }
[]
city
Q8652
SYSTEM
Miami
Q8652
(Q3398669,P20,c(Q515))
action filter_type
action find
entity Q3398669
relation P20
type Q515
The expiration of Jon Lee occurred in [ANSWER]
['Q3398669', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q3398669 property:P20 ?e . ?e rdf:type ontology:Q515 }
Miami
The expiration of Jon Lee occurred in Miami
Miami
action filter_type
action find
entity Jon Lee
relation place of death
type city
['Jon Lee', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Jon_Lee property:place_of_death ?e . ?e rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3398669
P264
Q334453
USER
What is the record label of that person ?
(Q8652,P264,c(Q334453))
action filter_type
action find
entity Q3398669
relation P264
type Q334453
['Q8652', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q3398669 property:P264 ?u . ?u rdf:type ontology:Q334453 }
Jon Lee
action filter_type
action find
entity Jon Lee
relation record label
type division
['Miami', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Jon_Lee property:record_label ?u . ?u rdf:type ontology:division }
[]
division
Q7731485
SYSTEM
The Echo Label
Q7731485
(Q8652,P264,c(Q334453))
action filter_type
action find
entity Q3398669
relation P264
type Q334453
The record label of that person is made [ANSWER]
['Q8652', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?u WHERE { resource:Q3398669 property:P264 ?u . ?u rdf:type ontology:Q334453 }
The Echo Label
The record label of that person is made The Echo Label
The Echo Label
action filter_type
action find
entity Jon Lee
relation record label
type division
['Miami', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?u WHERE { resource:Jon_Lee property:record_label ?u . ?u rdf:type ontology:division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q14440
P159
Q515 Q7210356 Q28640
USER
How many cities are the headquarter locations of more number of political organizations and professions than Iquique ?
(c(Q7210356)|c(Q28640),P159,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q14440
relation P159
type Q7210356
type Q28640
[[{'concept': 'Q7210356'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:Q28640 ) ( ontology:Q7210356 ) } . ?f rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P159 resource:Q14440 . { { ?y rdf:type ontology:Q7210356 } UNION { ?y rdf:type ontology:Q28640 } } } } . FILTER ( ?d > ?l ) }
Iquique
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type political organization
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action count
action filter_multi_types
action find_reverse
entity Iquique
relation headquarters location
type political organization
type profession
[[{'concept': 'political organization'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:profession ) ( ontology:political_organization ) } . ?f rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:headquarters_location resource:Iquique . { { ?y rdf:type ontology:political_organization } UNION { ?y rdf:type ontology:profession } } } } . FILTER ( ?d > ?l ) }
[]
city political organization profession
SYSTEM
55
Q3572 Q3870 Q3624 Q7473516 Q18575 Q2135 Q2887 Q3926 Q5838 Q220445 Q19689 Q1899 Q1410 Q14960 Q1794 Q1486 Q1461 Q23430 Q1362 Q8684 Q23661 Q3859 Q19660 Q9005 Q26600 Q34261 Q1953 Q137271 Q1475 Q1773 Q1858 Q2096 Q3787 Q1508 Q34217 Q11194 Q2119 Q2844 Q1863 Q1865 Q42622 Q1355 Q1761 Q456 Q3838 Q485176 Q3935 Q3919 Q3751 Q3616 Q1533 Q1530 Q1844 Q2900 Q23768
(c(Q7210356)|c(Q28640),P159,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q14440
relation P159
type Q7210356
type Q28640
[ANSWER]
[[{'concept': 'Q7210356'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:Q28640 ) ( ontology:Q7210356 ) } . ?f rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P159 resource:Q14440 . { { ?y rdf:type ontology:Q7210356 } UNION { ?y rdf:type ontology:Q28640 } } } } . FILTER ( ?d > ?l ) }
Tunis Nairobi Addis Ababa Tokyo Tucson Winnipeg Santiago Pretoria Kabul Kuching Tirana Kyiv Gibraltar Brno Frankfurt Buenos Aires Manila Ulaanbaatar Islamabad Seoul Wellington Kigali Bucharest Brussels Fukuoka Port-au-Prince Yerevan Kota Kinabalu Quezon City Riga Hanoi Edmonton Abuja Makati Oxford Sarajevo Mannheim Brasília Andorra la Vella Kuala Lumpur Suzhou Bangalore Dublin Lyon Kinshasa Pasadena Windhoek Gaborone Praia Tehran Caracas Baghdad Vaduz Quito Las Vegas
55
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type political organization
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action count
action filter_multi_types
action find_reverse
entity Iquique
relation headquarters location
type political organization
type profession
[[{'concept': 'political organization'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?f ) AS ?d ) WHERE { VALUES ( ?b ) { ( ontology:profession ) ( ontology:political_organization ) } . ?f rdf:type ?b } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:headquarters_location resource:Iquique . { { ?y rdf:type ontology:political_organization } UNION { ?y rdf:type ontology:profession } } } } . FILTER ( ?d > ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3069
P159
Q515 Q7210356 Q28640
USER
And also tell me about Bottrop?
(c(Q7210356)|c(Q28640),P159,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q3069
relation P159
type Q7210356
type Q28640
[[{'concept': 'Q7210356'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?x ) { ( ontology:Q7210356 ) ( ontology:Q28640 ) } . ?l rdf:type ?x } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { { ?t rdf:type ontology:Q7210356 } UNION { ?t rdf:type ontology:Q28640 } } . ?t property:P159 resource:Q3069 } } . FILTER ( ?d > ?n ) }
Bottrop
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type political organization
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action count
action filter_multi_types
action find_reverse
entity Bottrop
relation headquarters location
type political organization
type profession
[[{'concept': 'political organization'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?x ) { ( ontology:political_organization ) ( ontology:profession ) } . ?l rdf:type ?x } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { { ?t rdf:type ontology:political_organization } UNION { ?t rdf:type ontology:profession } } . ?t property:headquarters_location resource:Bottrop } } . FILTER ( ?d > ?n ) }
[]
city political organization profession
SYSTEM
87
Q3572 Q3870 Q17042 Q664895 Q3624 Q209785 Q2427117 Q14932 Q7473516 Q41474 Q18575 Q2135 Q43196 Q2887 Q3926 Q3214 Q5838 Q220445 Q19689 Q1899 Q1410 Q14960 Q1794 Q1486 Q1461 Q213263 Q10389 Q23430 Q1362 Q8684 Q163888 Q23661 Q1731 Q43433 Q641491 Q3859 Q19660 Q3075 Q9005 Q820496 Q8652 Q26600 Q34261 Q1953 Q137271 Q1475 Q1773 Q14440 Q1858 Q2096 Q1854 Q3787 Q696407 Q68481 Q47916 Q1508 Q34217 Q11194 Q2119 Q3866 Q2844 Q1863 Q1865 Q42622 Q1355 Q242885 Q1761 Q2795 Q236197 Q269634 Q456 Q210628 Q3838 Q485176 Q3935 Q3919 Q3751 Q3616 Q386661 Q25475 Q786762 Q1533 Q1530 Q1844 Q2900 Q23768 Q2999
(c(Q7210356)|c(Q28640),P159,c(Q515))
action count
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q515
type Q7210356
action find_reverse_tuple_counts
relation P159
type Q515
type Q28640
action count
action filter_multi_types
action find_reverse
entity Q3069
relation P159
type Q7210356
type Q28640
[ANSWER]
[[{'concept': 'Q7210356'}, {'concept': 'Q28640'}], 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?x ) { ( ontology:Q7210356 ) ( ontology:Q28640 ) } . ?l rdf:type ?x } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { { ?t rdf:type ontology:Q7210356 } UNION { ?t rdf:type ontology:Q28640 } } . ?t property:P159 resource:Q3069 } } . FILTER ( ?d > ?n ) }
Tunis Nairobi Oakland Uherský Brod Addis Ababa Ichikawa Mníšek pod Brdy Langen (Hessen) Tokyo Kingstown Tucson Winnipeg Cincinnati Santiago Pretoria Cottbus Kabul Kuching Tirana Kyiv Gibraltar Brno Frankfurt Buenos Aires Manila Tama City Bandung Ulaanbaatar Islamabad Seoul Ageo Wellington Dresden Chandigarh Kakamigahara Kigali Bucharest Fürth Brussels Kōnan Miami Fukuoka Port-au-Prince Yerevan Kota Kinabalu Quezon City Riga Iquique Hanoi Edmonton Ho Chi Minh City Abuja Hakusan Fuzhou Lucknow Makati Oxford Sarajevo Mannheim Dodoma Brasília Andorra la Vella Kuala Lumpur Suzhou Bangalore Mitaka City Dublin Chemnitz Hino City Tachikawa City Lyon Machida City Kinshasa Pasadena Windhoek Gaborone Praia Tehran Fujisawa Batumi Hroznětín Caracas Baghdad Vaduz Quito Las Vegas Würzburg
87
action count
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type city
type political organization
action find_reverse_tuple_counts
relation headquarters location
type city
type profession
action count
action filter_multi_types
action find_reverse
entity Bottrop
relation headquarters location
type political organization
type profession
[[{'concept': 'political organization'}, {'concept': 'profession'}], 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) ?r WHERE { VALUES ( ?x ) { ( ontology:political_organization ) ( ontology:profession ) } . ?l rdf:type ?x } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { { { ?t rdf:type ontology:political_organization } UNION { ?t rdf:type ontology:profession } } . ?t property:headquarters_location resource:Bottrop } } . FILTER ( ?d > ?n ) }
[]