Simple Question (Direct)
Simple Question
Q1525417
P276
Q13220204
USER
Where is Croatian Apoxyomenos situated ?
(Q1525417,P276,c(Q13220204))
action filter_type
action find
entity Q1525417
relation P276
type Q13220204
['Q1525417', 'P276', {'concept': 'Q13220204'}]
SELECT DISTINCT ?o WHERE { resource:Q1525417 property:P276 ?o . ?o rdf:type ontology:Q13220204 }
Croatian Apoxyomenos
action filter_type
action find
entity Croatian Apoxyomenos
relation location
type second-level administrative country subdivision
['Croatian Apoxyomenos', 'location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?o WHERE { resource:Croatian_Apoxyomenos property:location ?o . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1435
SYSTEM
Zagreb
Q1435
(Q1525417,P276,c(Q13220204))
action filter_type
action find
entity Q1525417
relation P276
type Q13220204
Croatian Apoxyomenos is situated in [ANSWER]
['Q1525417', 'P276', {'concept': 'Q13220204'}]
SELECT DISTINCT ?o WHERE { resource:Q1525417 property:P276 ?o . ?o rdf:type ontology:Q13220204 }
Zagreb
Croatian Apoxyomenos is situated in Zagreb
Zagreb
action filter_type
action find
entity Croatian Apoxyomenos
relation location
type second-level administrative country subdivision
['Croatian Apoxyomenos', 'location', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?o WHERE { resource:Croatian_Apoxyomenos property:location ?o . ?o rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1435
P1376
Q15617994
USER
What has that administrative country subdivision as its capital ?
(Q1435,P1376,c(Q15617994))
action filter_type
action find
entity Q1435
relation P1376
type Q15617994
['Q1435', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1435 property:P1376 ?h }
Zagreb
action filter_type
action find
entity Zagreb
relation capital of
type designation for an administrative territorial entity
['Zagreb', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zagreb property:capital_of ?h }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q1435,P1376,c(Q15617994))
action filter_type
action find
entity Q1435
relation P1376
type Q15617994
[ANSWER] has that administrative country subdivision as its capital
['Q1435', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q1435 property:P1376 ?h }
Croatia
Croatia has that administrative country subdivision as its capital
Croatia
action filter_type
action find
entity Zagreb
relation capital of
type designation for an administrative territorial entity
['Zagreb', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Zagreb property:capital_of ?h }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q224 Q1789173 Q183
P530
Q1048835
USER
Does that administrative territory have tactful political relations with Santana de Pirapama and Germany ?
(Q224,P530,Q1789173) (Q224,P530,Q183)
action is_in
entity Q224
action intersection
action find_reverse
entity Q1789173
relation P530
action find_reverse
entity Q183
relation P530
['Q224', 'P530', 'Q1789173'] ['Q224', 'P530', 'Q183']
ASK WHERE { resource:Q224 property:P530 resource:Q1789173 . resource:Q224 property:P530 resource:Q183 }
Croatia Santana de Pirapama Germany
action is_in
entity Croatia
action intersection
action find_reverse
entity Santana de Pirapama
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Croatia', 'diplomatic relation', 'Santana de Pirapama'] ['Croatia', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Croatia property:diplomatic_relation resource:Santana_de_Pirapama . resource:Croatia property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q224,P530,Q1789173) (Q224,P530,Q183)
action is_in
entity Q224
action intersection
action find_reverse
entity Q1789173
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q224', 'P530', 'Q1789173'] ['Q224', 'P530', 'Q183']
ASK WHERE { resource:Q224 property:P530 resource:Q1789173 . resource:Q224 property:P530 resource:Q183 }
NO and YES respectively
action is_in
entity Croatia
action intersection
action find_reverse
entity Santana de Pirapama
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Croatia', 'diplomatic relation', 'Santana de Pirapama'] ['Croatia', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Croatia property:diplomatic_relation resource:Santana_de_Pirapama . resource:Croatia property:diplomatic_relation resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q224
P17
Q484692 Q8513
USER
How many hymns and databases are located in Croatia ?
(c(Q484692),P17,Q224) (c(Q8513),P17,Q224)
action count
action union
action filter_type
action find_reverse
entity Q224
relation P17
type Q484692
action filter_type
action find_reverse
entity Q224
relation P17
type Q8513
[{'concept': 'Q484692'}, 'P17', 'Q224'] [{'concept': 'Q8513'}, 'P17', 'Q224']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l rdf:type ontology:Q484692 . ?l property:P17 resource:Q224 } UNION { ?l rdf:type ontology:Q8513 . ?l property:P17 resource:Q224 } }
Croatia
action count
action union
action filter_type
action find_reverse
entity Croatia
relation country
type hymn
action filter_type
action find_reverse
entity Croatia
relation country
type database
[{'concept': 'hymn'}, 'country', 'Croatia'] [{'concept': 'database'}, 'country', 'Croatia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l rdf:type ontology:hymn . ?l property:country resource:Croatia } UNION { ?l rdf:type ontology:database . ?l property:country resource:Croatia } }
[]
hymn database
SYSTEM
1 hymns and 1 databases
Q146502 Q23371570
(c(Q484692),P17,Q224) (c(Q8513),P17,Q224)
action count
action union
action filter_type
action find_reverse
entity Q224
relation P17
type Q484692
action filter_type
action find_reverse
entity Q224
relation P17
type Q8513
[ANSWER]
[{'concept': 'Q484692'}, 'P17', 'Q224'] [{'concept': 'Q8513'}, 'P17', 'Q224']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l rdf:type ontology:Q484692 . ?l property:P17 resource:Q224 } UNION { ?l rdf:type ontology:Q8513 . ?l property:P17 resource:Q224 } }
Lijepa naša domovino Who is Who in Croatian Science
1 hymns and 1 databases
action count
action union
action filter_type
action find_reverse
entity Croatia
relation country
type hymn
action filter_type
action find_reverse
entity Croatia
relation country
type database
[{'concept': 'hymn'}, 'country', 'Croatia'] [{'concept': 'database'}, 'country', 'Croatia']
SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { { ?l rdf:type ontology:hymn . ?l property:country resource:Croatia } UNION { ?l rdf:type ontology:database . ?l property:country resource:Croatia } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?y ) WHERE { ?r property:P530 ?a . ?r rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?r } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?c = ?o ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?y ) WHERE { ?r property:diplomatic_relation ?a . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?c = ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?y ) WHERE { ?r property:P530 ?a . ?r rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 } GROUP BY ?r } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?c = ?o ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have diplomatic relations with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?y ) AS ?o ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?y ) WHERE { ?r property:diplomatic_relation ?a . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?c ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?c = ?o ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q29999 Q786 Q924
P17
Q2385804
USER
Which educational institutions are located in those administrative territories ?
(c(Q2385804),P17,Q29999) (c(Q2385804),P17,Q786) (c(Q2385804),P17,Q924)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q2385804
[{'concept': 'Q2385804'}, 'P17', 'Q29999'] [{'concept': 'Q2385804'}, 'P17', 'Q786'] [{'concept': 'Q2385804'}, 'P17', 'Q924']
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q262 ) } . ?m rdf:type ontology:Q2385804 . ?m property:P17 ?u }
Kingdom of the Netherlands Dominican Republic Tanzania
action filter_type
action find_reverse
entity prev_answer
relation country
type educational institution
[{'concept': 'educational institution'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'educational institution'}, 'country', 'Dominican Republic'] [{'concept': 'educational institution'}, 'country', 'Tanzania']
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Algeria ) } . ?m rdf:type ontology:educational_institution . ?m property:country ?u }
[]
educational institution
Q27680691 Q7420235 Q16866496
SYSTEM
Christian School for MAVO "Nij Walpert", Santiago Christian School, Lumumba Secondary School
Q27680691 Q7420235 Q16866496 Q7432576 Q7594505
(c(Q2385804),P17,Q29999) (c(Q2385804),P17,Q786) (c(Q2385804),P17,Q924)
action filter_type
action find_reverse
entity prev_answer
relation P17
type Q2385804
[ANSWERS] are located in those administrative territories
[{'concept': 'Q2385804'}, 'P17', 'Q29999'] [{'concept': 'Q2385804'}, 'P17', 'Q786'] [{'concept': 'Q2385804'}, 'P17', 'Q924']
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q262 ) } . ?m rdf:type ontology:Q2385804 . ?m property:P17 ?u }
Christian School for MAVO "Nij Walpert" Santiago Christian School Lumumba Secondary School School of St Jude St Mary's Mbeya Secondary School
Christian School for MAVO "Nij Walpert", Santiago Christian School and Lumumba Secondary School are located in those administrative territories
Christian School for MAVO "Nij Walpert" Santiago Christian School Lumumba Secondary School
action filter_type
action find_reverse
entity prev_answer
relation country
type educational institution
[{'concept': 'educational institution'}, 'country', 'Kingdom of the Netherlands'] [{'concept': 'educational institution'}, 'country', 'Dominican Republic'] [{'concept': 'educational institution'}, 'country', 'Tanzania']
SELECT DISTINCT ?m WHERE { VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Algeria ) } . ?m rdf:type ontology:educational_institution . ?m property:country ?u }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q27680691 Q7420235 Q16866496
P17
Q15617994
USER
Which administrative territories are Christian School for MAVO "Nij Walpert", Santiago Christian School and Lumumba Secondary School located in ?
(Q27680691,P17,c(Q15617994)) (Q7420235,P17,c(Q15617994)) (Q16866496,P17,c(Q15617994))
action union
action filter_type
action find
entity Q27680691
relation P17
type Q15617994
action filter_type
action find
entity Q7420235
relation P17
type Q15617994
action filter_type
action find
entity Q16866496
relation P17
type Q15617994
['Q27680691', 'P17', {'concept': 'Q15617994'}] ['Q7420235', 'P17', {'concept': 'Q15617994'}] ['Q16866496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q27680691 property:P17 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q7420235 property:P17 ?a . ?a rdf:type ontology:Q15617994 } }
Christian School for MAVO "Nij Walpert" Santiago Christian School Lumumba Secondary School
action union
action filter_type
action find
entity Christian School for MAVO "Nij Walpert"
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Santiago Christian School
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lumumba Secondary School
relation country
type designation for an administrative territorial entity
['Christian School for MAVO "Nij Walpert"', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Santiago Christian School', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lumumba Secondary School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Christian_School_for_MAVO_"Nij_Walpert" property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Santiago_Christian_School property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q29999 Q786 Q924
(Q27680691,P17,c(Q15617994)) (Q7420235,P17,c(Q15617994)) (Q16866496,P17,c(Q15617994))
action union
action filter_type
action find
entity Q27680691
relation P17
type Q15617994
action filter_type
action find
entity Q7420235
relation P17
type Q15617994
action filter_type
action find
entity Q16866496
relation P17
type Q15617994
[ANSWERS] are Christian School for MAVO "Nij Walpert", Santiago Christian School and Lumumba Secondary School located in
['Q27680691', 'P17', {'concept': 'Q15617994'}] ['Q7420235', 'P17', {'concept': 'Q15617994'}] ['Q16866496', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q27680691 property:P17 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q7420235 property:P17 ?a . ?a rdf:type ontology:Q15617994 } }
Kingdom of the Netherlands Dominican Republic Tanzania
Kingdom of the Netherlands, Dominican Republic and Tanzania are Christian School for MAVO "Nij Walpert", Santiago Christian School and Lumumba Secondary School located in
Kingdom of the Netherlands Dominican Republic Tanzania
action union
action filter_type
action find
entity Christian School for MAVO "Nij Walpert"
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Santiago Christian School
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Lumumba Secondary School
relation country
type designation for an administrative territorial entity
['Christian School for MAVO "Nij Walpert"', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Santiago Christian School', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lumumba Secondary School', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Christian_School_for_MAVO_"Nij_Walpert" property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Santiago_Christian_School property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q786
P35
Q502895
USER
Which people are the heads of state of that administrative territory ?
(Q786,P35,c(Q502895))
action filter_type
action find
entity Q786
relation P35
type Q502895
['Q786', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q786 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Dominican Republic
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
['Dominican Republic', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Dominican_Republic property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q786
SYSTEM
Did you mean Dominican Republic ?
Q29999 Q786 Q924
(Q29999,P35,c(Q502895)) (Q786,P35,c(Q502895)) (Q924,P35,c(Q502895))
[ANSWER]
['Q29999', 'P35', {'concept': 'Q502895'}] ['Q786', 'P35', {'concept': 'Q502895'}] ['Q924', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q786 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Kingdom of the Netherlands Dominican Republic Tanzania
Did you mean Dominican Republic ?
Dominican Republic
['Kingdom of the Netherlands', 'head of state', {'concept': 'common name'}] ['Dominican Republic', 'head of state', {'concept': 'common name'}] ['Tanzania', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Dominican_Republic property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q786,P35,c(Q502895))
['Q786', 'P35', {'concept': 'Q502895'}]
['Dominican Republic', 'head of state', {'concept': 'common name'}]
[]
Q5972763 Q147989 Q880065
SYSTEM
Jacobo Majluta Azar, Joaquín Balaguer, Héctor García Godoy
Q653611 Q57429 Q880065 Q5972763 Q602428 Q151944 Q147989 Q562002
(Q786,P35,c(Q502895))
action filter_type
action find
entity Q786
relation P35
type Q502895
[ANSWERS] are the heads of state of that administrative territory
['Q786', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q786 property:P35 ?j . ?j rdf:type ontology:Q502895 }
Hipólito Mejía Danilo Medina Héctor García Godoy Jacobo Majluta Azar Antonio Guzmán Fernández Leonel Fernández el ladron Joaquín Balaguer Salvador Jorge Blanco
Jacobo Majluta Azar, Joaquín Balaguer and Héctor García Godoy are the heads of state of that administrative territory
Jacobo Majluta Azar Joaquín Balaguer Héctor García Godoy
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
['Dominican Republic', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Dominican_Republic property:head_of_state ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786
P740
Q2088357
USER
Which musical ensembles originated at Dominican Republic ?
(c(Q2088357),P740,Q786)
action filter_type
action find_reverse
entity Q786
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q786']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2088357 . ?l property:P740 resource:Q786 }
Dominican Republic
action filter_type
action find_reverse
entity Dominican Republic
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Dominican Republic']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:musical_ensemble . ?l property:location_of_formation resource:Dominican_Republic }
[]
musical ensemble
Q3320463 Q2648981 Q1791566
SYSTEM
Monchy & Alexandra, Tercer Cielo, Ilegales
Q3320463 Q2648981 Q1791566
(c(Q2088357),P740,Q786)
action filter_type
action find_reverse
entity Q786
relation P740
type Q2088357
[ANSWERS] originated at Dominican Republic
[{'concept': 'Q2088357'}, 'P740', 'Q786']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2088357 . ?l property:P740 resource:Q786 }
Monchy & Alexandra Tercer Cielo Ilegales
Monchy & Alexandra, Tercer Cielo and Ilegales originated at Dominican Republic
Monchy & Alexandra Tercer Cielo Ilegales
action filter_type
action find_reverse
entity Dominican Republic
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Dominican Republic']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:musical_ensemble . ?l property:location_of_formation resource:Dominican_Republic }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3320463 Q2648981 Q1791566
P740
Q15617994
USER
Which locations did those musical ensembles orginate in ?
(Q3320463,P740,c(Q15617994)) (Q2648981,P740,c(Q15617994)) (Q1791566,P740,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P740
type Q15617994
['Q3320463', 'P740', {'concept': 'Q15617994'}] ['Q2648981', 'P740', {'concept': 'Q15617994'}] ['Q1791566', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?u property:P740 ?r . VALUES ( ?u ) { ( resource:Q3320463 ) ( resource:Q2648981 ) ( resource:Q1791566 ) } }
Monchy & Alexandra Tercer Cielo Ilegales
action filter_type
action find
entity prev_answer
relation location of formation
type designation for an administrative territorial entity
['Monchy & Alexandra', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Tercer Cielo', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Ilegales', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:location_of_formation ?r . VALUES ( ?u ) { ( resource:Monchy_&_Alexandra ) ( resource:Tercer_Cielo ) ( resource:Ilegales ) } }
[]
designation for an administrative territorial entity
Q786 Q786 Q786
SYSTEM
Dominican Republic
Q786 Q786 Q786
(Q3320463,P740,c(Q15617994)) (Q2648981,P740,c(Q15617994)) (Q1791566,P740,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P740
type Q15617994
Those musical ensembles orginated by [ANSWER], [ANSWER] and [ANSWER]
['Q3320463', 'P740', {'concept': 'Q15617994'}] ['Q2648981', 'P740', {'concept': 'Q15617994'}] ['Q1791566', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . ?u property:P740 ?r . VALUES ( ?u ) { ( resource:Q3320463 ) ( resource:Q2648981 ) ( resource:Q1791566 ) } }
Dominican Republic Dominican Republic Dominican Republic
Those musical ensembles orginated by Dominican Republic, Dominican Republic and Dominican Republic
Dominican Republic Dominican Republic Dominican Republic
action filter_type
action find
entity prev_answer
relation location of formation
type designation for an administrative territorial entity
['Monchy & Alexandra', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Tercer Cielo', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Ilegales', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:location_of_formation ?r . VALUES ( ?u ) { ( resource:Monchy_&_Alexandra ) ( resource:Tercer_Cielo ) ( resource:Ilegales ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786
P20
Q502895
USER
Which people expired at that administrative territory ?
(c(Q502895),P20,Q786) (c(Q502895),P20,Q786) (c(Q502895),P20,Q786)
action filter_type
action find_reverse
entity Q786
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q786'] [{'concept': 'Q502895'}, 'P20', 'Q786'] [{'concept': 'Q502895'}, 'P20', 'Q786']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P20 resource:Q786 }
Dominican Republic
action filter_type
action find_reverse
entity Dominican Republic
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Dominican Republic'] [{'concept': 'common name'}, 'place of death', 'Dominican Republic'] [{'concept': 'common name'}, 'place of death', 'Dominican Republic']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_death resource:Dominican_Republic }
[]
common name
Q44398 Q338089 Q95245
SYSTEM
Falco, Marsha Singh, Filareto Kavernido
Q1174060 Q44398 Q16565444 Q9010488 Q369177 Q95245 Q21209380 Q5048819 Q338089 Q5359233
(c(Q502895),P20,Q786) (c(Q502895),P20,Q786) (c(Q502895),P20,Q786)
action filter_type
action find_reverse
entity Q786
relation P20
type Q502895
[ANSWERS] expired at that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q786'] [{'concept': 'Q502895'}, 'P20', 'Q786'] [{'concept': 'Q502895'}, 'P20', 'Q786']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P20 resource:Q786 }
David Hilton Coore Falco Andrea Evangelina Rodríguez Perozo Jacobo Harrotian Emiliano Tardif Filareto Kavernido Rosa Francisca Fadul Casimiro Berenguer Marsha Singh Eleoncio Mercedes
Falco, Marsha Singh and Filareto Kavernido expired at that administrative territory
Falco Marsha Singh Filareto Kavernido
action filter_type
action find_reverse
entity Dominican Republic
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Dominican Republic'] [{'concept': 'common name'}, 'place of death', 'Dominican Republic'] [{'concept': 'common name'}, 'place of death', 'Dominican Republic']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_death resource:Dominican_Republic }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q15617994 Q11060274 Q2342494
USER
Which administrative territories are depicted in max number of prints and collectables ?
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?j WHERE { { ?s property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q11060274 } UNION { ?s property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q2342494 } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?l WHERE { { ?u rdf:type ontology:Q11060274 . ?l rdf:type ontology:Q15617994 . ?u property:P180 ?l } UNION { ?u property:P180 ?l . ?l rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?l } . FILTER ( ?e = ?n ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?j WHERE { { ?s property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:print } UNION { ?s property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:collectable } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?l WHERE { { ?u rdf:type ontology:print . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:depicts ?l } UNION { ?u property:depicts ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:collectable } } GROUP BY ?l } . FILTER ( ?e = ?n ) }
[]
designation for an administrative territorial entity print collectable
Q80591
SYSTEM
Atrani
Q80591
(c(Q11060274)|c(Q2342494),P180,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
[ANSWER] is depicted in max number of prints and collectables
[[{'concept': 'Q11060274'}, {'concept': 'Q2342494'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?j WHERE { { ?s property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q11060274 } UNION { ?s property:P180 ?j . ?j rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q2342494 } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?l WHERE { { ?u rdf:type ontology:Q11060274 . ?l rdf:type ontology:Q15617994 . ?u property:P180 ?l } UNION { ?u property:P180 ?l . ?l rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q2342494 } } GROUP BY ?l } . FILTER ( ?e = ?n ) }
Atrani
Atrani is depicted in max number of prints and collectables
Atrani
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
[[{'concept': 'print'}, {'concept': 'collectable'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?j WHERE { { ?s property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:print } UNION { ?s property:depicts ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:collectable } } GROUP BY ?j } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) ?l WHERE { { ?u rdf:type ontology:print . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:depicts ?l } UNION { ?u property:depicts ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:collectable } } GROUP BY ?l } . FILTER ( ?e = ?n ) }
[]