Simple Question (Direct)
Simple Question
Q2039875
P21
Q290
USER
What is the sex of Otto Marischka ?
(Q2039875,P21,c(Q290))
action filter_type
action find
entity Q2039875
relation P21
type Q290
['Q2039875', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q2039875 property:P21 ?r . ?r rdf:type ontology:Q290 }
Otto Marischka
action filter_type
action find
entity Otto Marischka
relation gender
type sex
['Otto Marischka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Otto_Marischka property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2039875,P21,c(Q290))
action filter_type
action find
entity Q2039875
relation P21
type Q290
The sex of Otto Marischka is the [ANSWER]
['Q2039875', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q2039875 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of Otto Marischka is the male
male
action filter_type
action find
entity Otto Marischka
relation gender
type sex
['Otto Marischka', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Otto_Marischka property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2039875
P54
Q1194951
USER
What is Otto Marischka a member of ?
(Q2039875,P54,c(Q1194951))
action filter_type
action find
entity Q2039875
relation P54
type Q1194951
['Q2039875', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q2039875 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Otto Marischka
action filter_type
action find
entity Otto Marischka
relation member of sports team
type national sports team
['Otto Marischka', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Otto_Marischka property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
national sports team
Q43310
SYSTEM
Germany national football team
Q43310
(Q2039875,P54,c(Q1194951))
action filter_type
action find
entity Q2039875
relation P54
type Q1194951
Otto Marischka a member of is of [ANSWER]
['Q2039875', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { resource:Q2039875 property:P54 ?j . ?j rdf:type ontology:Q1194951 }
Germany national football team
Otto Marischka a member of is of Germany national football team
Germany national football team
action filter_type
action find
entity Otto Marischka
relation member of sports team
type national sports team
['Otto Marischka', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { resource:Otto_Marischka property:member_of_sports_team ?j . ?j rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2039875
P106
Q12737077
USER
What is the job of that person ?
(Q43310,P106,c(Q12737077))
action filter_type
action find
entity Q2039875
relation P106
type Q12737077
['Q43310', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q2039875 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Otto Marischka
action filter_type
action find
entity Otto Marischka
relation occupation
type occupation
['Germany national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Otto_Marischka property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q43310,P106,c(Q12737077))
action filter_type
action find
entity Q2039875
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q43310', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q2039875 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The job of that person is an association football player
association football player
action filter_type
action find
entity Otto Marischka
relation occupation
type occupation
['Germany national football team', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Otto_Marischka property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q43310
P1346
Q1375427 Q15275719
USER
How many European Championships and recurring events were Germany national football team decalred as a victor of ?
(c(Q1375427),P1346,Q43310) (c(Q15275719),P1346,Q43310)
action count
action union
action filter_type
action find_reverse
entity Q43310
relation P1346
type Q1375427
action filter_type
action find_reverse
entity Q43310
relation P1346
type Q15275719
[{'concept': 'Q1375427'}, 'P1346', 'Q43310'] [{'concept': 'Q15275719'}, 'P1346', 'Q43310']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:P1346 resource:Q43310 . ?l rdf:type ontology:Q15275719 } UNION { ?l property:P1346 resource:Q43310 . ?l rdf:type ontology:Q1375427 } }
Germany national football team
action count
action union
action filter_type
action find_reverse
entity Germany national football team
relation winner
type European Championship
action filter_type
action find_reverse
entity Germany national football team
relation winner
type recurring event
[{'concept': 'European Championship'}, 'winner', 'Germany national football team'] [{'concept': 'recurring event'}, 'winner', 'Germany national football team']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:winner resource:Germany_national_football_team . ?l rdf:type ontology:recurring_event } UNION { ?l property:winner resource:Germany_national_football_team . ?l rdf:type ontology:European_Championship } }
[]
European Championship recurring event
SYSTEM
3 European Championships and 4 recurring events
Q166121 Q180563 Q132529 Q182196 Q131075 Q182386 Q79859
(c(Q1375427),P1346,Q43310) (c(Q15275719),P1346,Q43310)
action count
action union
action filter_type
action find_reverse
entity Q43310
relation P1346
type Q1375427
action filter_type
action find_reverse
entity Q43310
relation P1346
type Q15275719
[ANSWER]
[{'concept': 'Q1375427'}, 'P1346', 'Q43310'] [{'concept': 'Q15275719'}, 'P1346', 'Q43310']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:P1346 resource:Q43310 . ?l rdf:type ontology:Q15275719 } UNION { ?l property:P1346 resource:Q43310 . ?l rdf:type ontology:Q1375427 } }
1974 FIFA World Cup UEFA Euro 1996 1990 FIFA World Cup UEFA Euro 1980 1954 FIFA World Cup UEFA Euro 1972 2014 FIFA World Cup
3 European Championships and 4 recurring events
action count
action union
action filter_type
action find_reverse
entity Germany national football team
relation winner
type European Championship
action filter_type
action find_reverse
entity Germany national football team
relation winner
type recurring event
[{'concept': 'European Championship'}, 'winner', 'Germany national football team'] [{'concept': 'recurring event'}, 'winner', 'Germany national football team']
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { ?l property:winner resource:Germany_national_football_team . ?l rdf:type ontology:recurring_event } UNION { ?l property:winner resource:Germany_national_football_team . ?l rdf:type ontology:European_Championship } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43310
P1344
Q16510064
USER
What did Germany national football team participate in ?
(Q43310,P1344,c(Q16510064))
action filter_type
action find
entity Q43310
relation P1344
type Q16510064
['Q43310', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q16510064 . resource:Q43310 property:P1344 ?t }
Germany national football team
action filter_type
action find
entity Germany national football team
relation participant of
type sporting event
['Germany national football team', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sporting_event . resource:Germany_national_football_team property:participant_of ?t }
[]
sporting event
Q159181
SYSTEM
football at the 1972 Summer Olympics
Q159181
(Q43310,P1344,c(Q16510064))
action filter_type
action find
entity Q43310
relation P1344
type Q16510064
Germany national football team participated international [ANSWER]
['Q43310', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q16510064 . resource:Q43310 property:P1344 ?t }
football at the 1972 Summer Olympics
Germany national football team participated international football at the 1972 Summer Olympics
football at the 1972 Summer Olympics
action filter_type
action find
entity Germany national football team
relation participant of
type sporting event
['Germany national football team', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sporting_event . resource:Germany_national_football_team property:participant_of ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2602700
Q16510064
USER
And what about Victor Willems?
(Q2602700,P1344,c(Q16510064))
action filter_type
action find
entity Q2602700
relation P1344
type Q16510064
['Q2602700', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?g WHERE { resource:Q2602700 property:P1344 ?g . ?g rdf:type ontology:Q16510064 }
Victor Willems
action filter_type
action find
entity Victor Willems
relation participant of
type sporting event
['Victor Willems', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?g WHERE { resource:Victor_Willems property:participant_of ?g . ?g rdf:type ontology:sporting_event }
[]
sporting event
Q5443012
SYSTEM
Fencing at the 1908 Summer Olympics – Men's team épée
Q5443012
(Q2602700,P1344,c(Q16510064))
action filter_type
action find
entity Q2602700
relation P1344
type Q16510064
[ANSWER]
['Q2602700', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?g WHERE { resource:Q2602700 property:P1344 ?g . ?g rdf:type ontology:Q16510064 }
Fencing at the 1908 Summer Olympics – Men's team épée
Fencing at the 1908 Summer Olympics – Men's team épée
action filter_type
action find
entity Victor Willems
relation participant of
type sporting event
['Victor Willems', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?g WHERE { resource:Victor_Willems property:participant_of ?g . ?g rdf:type ontology:sporting_event }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q816666 Q2039875
P47 P27
Q1048835
USER
Which political territories are Otto Marischka an inhabitant of or are adjacent to Benabarre ?
OR((Q2039875,P27,c(Q1048835)), (Q816666,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q2039875
relation P27
action find
entity Q816666
relation P47
type Q1048835
{'OR': [['Q2039875', 'P27', {'concept': 'Q1048835'}], ['Q816666', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2039875 property:P27 ?s } UNION { resource:Q816666 property:P47 ?s } } . ?s rdf:type ontology:Q1048835 }
Benabarre Otto Marischka
action filter_type
action union
action find
entity Otto Marischka
relation country of citizenship
action find
entity Benabarre
relation shares border with
type political territorial entity
{'OR': [['Otto Marischka', 'country of citizenship', {'concept': 'political territorial entity'}], ['Benabarre', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Otto_Marischka property:country_of_citizenship ?s } UNION { resource:Benabarre property:shares_border_with ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q984673 Q984631 Q183 Q937763 Q812714 Q426376 Q1020508 Q1020532 Q984640
SYSTEM
Viacamp y Litera, Lascuarre, Germany, Graus, Baélls, Estopiñán del Castillo, Capella, Tolva, Peralta de Calasanz
Q984673 Q984631 Q183 Q937763 Q812714 Q426376 Q1020508 Q1020532 Q984640
OR((Q2039875,P27,c(Q1048835)), (Q816666,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q2039875
relation P27
action find
entity Q816666
relation P47
type Q1048835
[ANSWERS] are Otto Marischka an inhabitant of or are adjacent to Benabarre
{'OR': [['Q2039875', 'P27', {'concept': 'Q1048835'}], ['Q816666', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q2039875 property:P27 ?s } UNION { resource:Q816666 property:P47 ?s } } . ?s rdf:type ontology:Q1048835 }
Viacamp y Litera Lascuarre Germany Graus Baélls Estopiñán del Castillo Capella Tolva Peralta de Calasanz
Viacamp y Litera, Lascuarre, Germany, Graus, Baélls, Estopiñán del Castillo, Capella, Tolva and Peralta de Calasanz are Otto Marischka an inhabitant of or are adjacent to Benabarre
Viacamp y Litera Lascuarre Germany Graus Baélls Estopiñán del Castillo Capella Tolva Peralta de Calasanz
action filter_type
action union
action find
entity Otto Marischka
relation country of citizenship
action find
entity Benabarre
relation shares border with
type political territorial entity
{'OR': [['Otto Marischka', 'country of citizenship', {'concept': 'political territorial entity'}], ['Benabarre', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Otto_Marischka property:country_of_citizenship ?s } UNION { resource:Benabarre property:shares_border_with ?s } } . ?s rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q18608583 Q22348500
USER
Which political territories do around the same number of recurring sporting events and cycling race classes originate from as that political territory ?
(c(Q18608583)|c(Q22348500),P1427,c(Q1048835))
[[{'concept': 'Q18608583'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q18608583 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q22348500 }
[[{'concept': 'recurring sporting event'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:recurring_sporting_event . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
political territorial entity recurring sporting event cycling race class defined by the International Cycling Union
Comparative|More/Less|Mult. entity type|Clarification
Q1020508
SYSTEM
Did you mean Capella ?
(c(Q18608583)|c(Q22348500),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q18608583'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q18608583 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q22348500 }
Did you mean Capella ?
Capella
[[{'concept': 'recurring sporting event'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:recurring_sporting_event . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Comparative Reasoning (All)
USER
No, I meant Graus. Could you tell me the answer for that?
(c(Q18608583)|c(Q22348500),P1427,c(Q1048835))
Q937763
[[{'concept': 'Q18608583'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'recurring sporting event'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
[]
Q183 Q639412 Q12647
SYSTEM
Germany, Tarazona, Vielha e Mijaran
Q572800 Q15907 Q1443867 Q55480 Q937763 Q593620 Q615841 Q183 Q1552975 Q496424 Q301437 Q2264671 Q1628379 Q49661 Q1607762 Q536682 Q641221 Q1647365 Q671341 Q1765676 Q848172 Q1442183 Q847329 Q1605692 Q11492 Q642046 Q430454 Q956524 Q1646362 Q1641632 Q488555 Q371748 Q1375842 Q739495 Q1649616 Q634078 Q1186888 Q15486 Q1629539 Q851020 Q846153 Q1621191 Q490638 Q77433 Q15640 Q492748 Q1374736 Q1617896 Q12686 Q484552 Q818341 Q564773 Q221749 Q639412 Q12647 Q825883 Q976528 Q492420 Q672483 Q1771143 Q693913 Q1605993 Q604810 Q592747
(c(Q18608583)|c(Q22348500),P1427,c(Q1048835))
[ANSWERS] around the same number of recur sporting events and cycling race classes originate from as that political territory
[[{'concept': 'Q18608583'}, {'concept': 'Q22348500'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q18608583 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q22348500 }
Alcañiz Rota Los Corrales de Buelna Colmenar Viejo Graus Monachil Puebla de Don Fadrique Germany Sabiñánigo Calatayud Priego de Córdoba El Palomar Mairena del Alcor Mauren Cenlle Belorado Viveiro Urdazubi/Urdax Betanzos Torredelcampo Caleruega Sober Comillas Palomares del Río Mataró Calahorra Roa, Burgos Maella Villalpando Jódar Baeza San Lorenzo de El Escorial Ortigueira Vilanova de Arousa Orio Marín, Pontevedra Denbigh Bagà Salvaterra de Miño Xàbia San Roque A Estrada Almendralejo Leganés Sant Joan Despí Estepona Lalín Maceda Rialp Algeciras Monforte de Lemos Alhendín Torrevieja Tarazona Vielha e Mijaran Valls Alhaurín de la Torre Getxo Ordizia Carboneras de Guadazaón Medina del Campo Cistierna Markina-Xemein Las Rozas de Madrid
Germany, Tarazona and Vielha e Mijaran around the same number of recur sporting events and cycling race classes originate from as that political territory
Germany Tarazona Vielha e Mijaran
[[{'concept': 'recurring sporting event'}, {'concept': 'cycling race class defined by the International Cycling Union'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:recurring_sporting_event . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q224
P530
Q1048835 Q15617994
USER
Which administrative territories are known to have diplomatic connections with lesser number of political territories than Croatia ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q224
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 . ?c property:P530 ?q } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q224 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?a < ?n ) }
Croatia
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Croatia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?q } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Croatia property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?a < ?n ) }
[]
political territorial entity designation for an administrative territorial entity
Q32 Q1011 Q805
SYSTEM
Luxembourg, Cape Verde, Yemen
Q702 Q805 Q262 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q236 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q224
relation P530
type Q1048835
[ANSWERS] are known to have diplomatic connections with lesser number of political territories than Croatia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 . ?c property:P530 ?q } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q224 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?a < ?n ) }
Federated States of Micronesia Yemen Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Montenegro Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
Luxembourg, Cape Verde and Yemen are known to have diplomatic connections with lesser number of political territories than Croatia
Luxembourg Cape Verde Yemen
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Croatia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?q ) AS ?a ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?q } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Croatia property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?a < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q217
P530
Q1048835 Q15617994
USER
And what about Republic of Moldova?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q217
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q217 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { ?m property:P530 ?h . ?m rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?m } }
Republic of Moldova
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Republic of Moldova
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Republic_of_Moldova property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { ?m property:diplomatic_relation ?h . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?m } }
[]
political territorial entity designation for an administrative territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q399 Q398 Q790 Q236 Q842 Q858
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q217
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Q217 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { ?m property:P530 ?h . ?m rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?m } }
Yemen Armenia Bahrain Haiti Montenegro Oman Syria
Yemen Syria Oman
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Republic of Moldova
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p < ?y ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) WHERE { resource:Republic_of_Moldova property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?m ( COUNT ( ?h ) AS ?p ) WHERE { ?m property:diplomatic_relation ?h . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?m } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q805 Q858 Q842
P1001
Q12737077
USER
Which occupations have jurisdiction over those administrative territories ?
(c(Q12737077),P1001,Q805) (c(Q12737077),P1001,Q858) (c(Q12737077),P1001,Q842)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q805'] [{'concept': 'Q12737077'}, 'P1001', 'Q858'] [{'concept': 'Q12737077'}, 'P1001', 'Q842']
SELECT DISTINCT ?s WHERE { ?s property:P1001 ?x . ?s rdf:type ontology:Q12737077 . VALUES ( ?x ) { ( resource:Q805 ) ( resource:Q399 ) ( resource:Q398 ) } }
Yemen Syria Oman
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Yemen'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Syria'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Oman']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction ?x . ?s rdf:type ontology:occupation . VALUES ( ?x ) { ( resource:Yemen ) ( resource:Armenia ) ( resource:Bahrain ) } }
[]
occupation
Q648464 Q24810806 Q878256
SYSTEM
President of Syria, member of Yemeni House of Representatives, President of Yemen
Q24810806 Q878256 Q648464 Q20489786 Q21328587 Q21328599
(c(Q12737077),P1001,Q805) (c(Q12737077),P1001,Q858) (c(Q12737077),P1001,Q842)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over those administrative territories
[{'concept': 'Q12737077'}, 'P1001', 'Q805'] [{'concept': 'Q12737077'}, 'P1001', 'Q858'] [{'concept': 'Q12737077'}, 'P1001', 'Q842']
SELECT DISTINCT ?s WHERE { ?s property:P1001 ?x . ?s rdf:type ontology:Q12737077 . VALUES ( ?x ) { ( resource:Q805 ) ( resource:Q399 ) ( resource:Q398 ) } }
member of Yemeni House of Representatives President of Yemen President of Syria Member of the People's Council of Syria Member of the Consultative Assembly of Oman Member of the Council of State of Oman
President of Syria, member of Yemeni House of Representatives and President of Yemen have jurisdiction over those administrative territories
President of Syria member of Yemeni House of Representatives President of Yemen
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Yemen'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Syria'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Oman']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction ?x . ?s rdf:type ontology:occupation . VALUES ( ?x ) { ( resource:Yemen ) ( resource:Armenia ) ( resource:Bahrain ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q858
P1376
Q56061
USER
Which administrative territory is the county seat of Syria ?
(c(Q56061),P1376,Q858)
action filter_type
action find_reverse
entity Q858
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q858']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q858 . ?c rdf:type ontology:Q56061 }
Syria
action filter_type
action find_reverse
entity Syria
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Syria']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:Syria . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3766
SYSTEM
Damascus
Q3766
(c(Q56061),P1376,Q858)
action filter_type
action find_reverse
entity Q858
relation P1376
type Q56061
[ANSWER] is the county seat of Syria
[{'concept': 'Q56061'}, 'P1376', 'Q858']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q858 . ?c rdf:type ontology:Q56061 }
Damascus
Damascus is the county seat of Syria
Damascus
action filter_type
action find_reverse
entity Syria
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Syria']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:Syria . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q858
P937
Q502895
USER
Who has Syria as their work location ?
(c(Q502895),P937,Q858)
action filter_type
action find_reverse
entity Q858
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q858']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q858 . ?t rdf:type ontology:Q502895 }
Syria
action filter_type
action find_reverse
entity Syria
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Syria']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Syria . ?t rdf:type ontology:common_name }
[]
common name
Q1370750
SYSTEM
Sa'd ibn Ubadah
Q1370750
(c(Q502895),P937,Q858)
action filter_type
action find_reverse
entity Q858
relation P937
type Q502895
[ANSWER] has Syria as their work location
[{'concept': 'Q502895'}, 'P937', 'Q858']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q858 . ?t rdf:type ontology:Q502895 }
Sa'd ibn Ubadah
Sa'd ibn Ubadah has Syria as their work location
Sa'd ibn Ubadah
action filter_type
action find_reverse
entity Syria
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Syria']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Syria . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q858
P6
Q502895
USER
Who is the head of the government of Syria ?
(Q858,P6,c(Q502895))
action filter_type
action find
entity Q858
relation P6
type Q502895
['Q858', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q858 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Syria
action filter_type
action find
entity Syria
relation head of government
type common name
['Syria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Syria property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q713915
SYSTEM
Wael Nader Al-Halqi
Q713915
(Q858,P6,c(Q502895))
action filter_type
action find
entity Q858
relation P6
type Q502895
The head of the government of Syria is Sheikh [ANSWER]
['Q858', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q858 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Wael Nader Al-Halqi
The head of the government of Syria is Sheikh Wael Nader Al-Halqi
Wael Nader Al-Halqi
action filter_type
action find
entity Syria
relation head of government
type common name
['Syria', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Syria property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q713915
P69
Q3918
USER
Where was that person educated ?
(Q713915,P69,c(Q3918))
action filter_type
action find
entity Q713915
relation P69
type Q3918
['Q713915', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?y WHERE { resource:Q713915 property:P69 ?y . ?y rdf:type ontology:Q3918 }
Wael Nader Al-Halqi
action filter_type
action find
entity Wael Nader Al-Halqi
relation educated at
type university
['Wael Nader Al-Halqi', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?y WHERE { resource:Wael_Nader_Al-Halqi property:educated_at ?y . ?y rdf:type ontology:university }
[]
university
Q1351317
SYSTEM
Damascus University
Q1351317
(Q713915,P69,c(Q3918))
action filter_type
action find
entity Q713915
relation P69
type Q3918
That person was educated at [ANSWER]
['Q713915', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?y WHERE { resource:Q713915 property:P69 ?y . ?y rdf:type ontology:Q3918 }
Damascus University
That person was educated at Damascus University
Damascus University
action filter_type
action find
entity Wael Nader Al-Halqi
relation educated at
type university
['Wael Nader Al-Halqi', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?y WHERE { resource:Wael_Nader_Al-Halqi property:educated_at ?y . ?y rdf:type ontology:university }
[]