Simple Question (Direct)
Simple Question
Q983010
P27
Q15617994
USER
Which administrative territory does Horacio Nava belong to ?
(Q983010,P27,c(Q15617994))
action filter_type
action find
entity Q983010
relation P27
type Q15617994
['Q983010', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q983010 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Horacio Nava
action filter_type
action find
entity Horacio Nava
relation country of citizenship
type designation for an administrative territorial entity
['Horacio Nava', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Horacio_Nava property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q983010,P27,c(Q15617994))
action filter_type
action find
entity Q983010
relation P27
type Q15617994
Horacio Nava belongs to [ANSWER]
['Q983010', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q983010 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Mexico
Horacio Nava belongs to Mexico
Mexico
action filter_type
action find
entity Horacio Nava
relation country of citizenship
type designation for an administrative territorial entity
['Horacio Nava', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Horacio_Nava property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q983010
P106
Q151885
USER
Which concept is the profession of that person ?
(Q96,P106,c(Q151885))
action filter_type
action find
entity Q983010
relation P106
type Q151885
['Q96', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q983010 property:P106 ?p . ?p rdf:type ontology:Q151885 }
Horacio Nava
action filter_type
action find
entity Horacio Nava
relation occupation
type concept
['Mexico', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Horacio_Nava property:occupation ?p . ?p rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q96,P106,c(Q151885))
action filter_type
action find
entity Q983010
relation P106
type Q151885
Are [ANSWER] is the profession of that person
['Q96', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?p WHERE { resource:Q983010 property:P106 ?p . ?p rdf:type ontology:Q151885 }
athletics competitor
Are athletics competitor is the profession of that person
athletics competitor
action filter_type
action find
entity Horacio Nava
relation occupation
type concept
['Mexico', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?p WHERE { resource:Horacio_Nava property:occupation ?p . ?p rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q96
P17
Q56061
USER
Which administrative territories are present in Mexico and United States of America ?
AND((c(Q56061),P17,Q96), (c(Q56061),P17,Q30))
action filter_type
action intersection
action find_reverse
entity Q96
relation P17
action find_reverse
entity Q30
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P17', 'Q96'], [{'concept': 'Q56061'}, 'P17', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q96 . ?n property:P17 resource:Q30 . ?n rdf:type ontology:Q56061 }
United States of America Mexico
action filter_type
action intersection
action find_reverse
entity Mexico
relation country
action find_reverse
entity United States of America
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'country', 'Mexico'], [{'concept': 'administrative territorial entity'}, 'country', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Mexico . ?n property:country resource:United_States_of_America . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4751586 Q4741679
SYSTEM
Anapra, Ambos Nogales
Q4751586 Q4741679
AND((c(Q56061),P17,Q96), (c(Q56061),P17,Q30))
action filter_type
action intersection
action find_reverse
entity Q96
relation P17
action find_reverse
entity Q30
relation P17
type Q56061
[ANSWERS] are present in Mexico and United States of America
{'AND': [[{'concept': 'Q56061'}, 'P17', 'Q96'], [{'concept': 'Q56061'}, 'P17', 'Q30']]}
SELECT DISTINCT ?n WHERE { ?n property:P17 resource:Q96 . ?n property:P17 resource:Q30 . ?n rdf:type ontology:Q56061 }
Anapra Ambos Nogales
Anapra and Ambos Nogales are present in Mexico and United States of America
Anapra Ambos Nogales
action filter_type
action intersection
action find_reverse
entity Mexico
relation country
action find_reverse
entity United States of America
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'country', 'Mexico'], [{'concept': 'administrative territorial entity'}, 'country', 'United States of America']]}
SELECT DISTINCT ?n WHERE { ?n property:country resource:Mexico . ?n property:country resource:United_States_of_America . ?n rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6954613 Q4751586
P17
Q15617994
USER
Which administrative territories are Anapra or NK Zavrč a part of ?
OR((Q4751586,P17,c(Q15617994)), (Q6954613,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4751586
relation P17
action find
entity Q6954613
relation P17
type Q15617994
{'OR': [['Q4751586', 'P17', {'concept': 'Q15617994'}], ['Q6954613', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4751586 property:P17 ?k } UNION { resource:Q6954613 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
NK Zavrč Anapra
action filter_type
action union
action find
entity Anapra
relation country
action find
entity NK Zavrč
relation country
type designation for an administrative territorial entity
{'OR': [['Anapra', 'country', {'concept': 'designation for an administrative territorial entity'}], ['NK Zavrč', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Anapra property:country ?k } UNION { resource:NK_Zavrč property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q30 Q215
SYSTEM
Mexico, United States of America, Slovenia
Q96 Q30 Q215
OR((Q4751586,P17,c(Q15617994)), (Q6954613,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4751586
relation P17
action find
entity Q6954613
relation P17
type Q15617994
[ANSWERS] are Anapra or NK Zavrč a part of
{'OR': [['Q4751586', 'P17', {'concept': 'Q15617994'}], ['Q6954613', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4751586 property:P17 ?k } UNION { resource:Q6954613 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Mexico United States of America Slovenia
Mexico, United States of America and Slovenia are Anapra or NK Zavrč a part of
Mexico United States of America Slovenia
action filter_type
action union
action find
entity Anapra
relation country
action find
entity NK Zavrč
relation country
type designation for an administrative territorial entity
{'OR': [['Anapra', 'country', {'concept': 'designation for an administrative territorial entity'}], ['NK Zavrč', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Anapra property:country ?k } UNION { resource:NK_Zavrč property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6954613
P54
Q502895
USER
How many people play for the team named NK Zavrč ?
(c(Q502895),P54,Q6954613)
action count
action filter_type
action find_reverse
entity Q6954613
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q6954613']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P54 resource:Q6954613 . ?u rdf:type ontology:Q502895 }
NK Zavrč
action count
action filter_type
action find_reverse
entity NK Zavrč
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'NK Zavrč']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:member_of_sports_team resource:NK_Zavrč . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
65
Q17180827 Q16235898 Q17484119 Q17386249 Q16980012 Q3991497 Q16980000 Q16111687 Q6298581 Q2631854 Q16980024 Q16980060 Q16971483 Q7035633 Q2482666 Q2482666 Q5448533 Q16980107 Q21055391 Q19901965 Q18637330 Q16979921 Q6764587 Q207129 Q17098222 Q17478652 Q17478651 Q17184009 Q2763075 Q3849642 Q4756033 Q16515811 Q3502885 Q331069 Q13415424 Q13415424 Q16979914 Q6961002 Q17037865 Q5278522 Q3610906 Q1165504 Q1165504 Q215435 Q20641694 Q16971785 Q16236796 Q1399798 Q17385580 Q16223805 Q16223805 Q4795705 Q3704830 Q10557238 Q716108 Q18921811 Q17386424 Q16745457 Q16972274 Q16972270 Q28966 Q10557761 Q17100116 Q15118813 Q17501912
(c(Q502895),P54,Q6954613)
action count
action filter_type
action find_reverse
entity Q6954613
relation P54
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P54', 'Q6954613']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P54 resource:Q6954613 . ?u rdf:type ontology:Q502895 }
Ovbokha Agboyi Tin Karamatić Robert Brdar Tilen Lešnik Miha Kokol Timotej Dodlek Doris Kelenc Ante Mitrović Jože Benko Denis Glavina Dejan Kurbus Jure Matjašič Luka Bešenić Nikola Petrović Matija Smrekar Matija Smrekar Filip Škvorc Peter Murko Francesco Tahiraj Luka Bogdan Filip Ďuriš Josip Fuček Mario Brlečić Zlatan Muslimović Karlo Težak Toni Datković Lovro Cvek Marin Perić Pavol Bajza Marko Pridigar Andrej Dugolin Nenad Dedić Matija Kristić Nikola Šafarić Franc Fridl Franc Fridl Gregor Fink Rok Roj Boris Sambolec Dino Kresinger Aleš Majer Marko Ranilovič Marko Ranilovič Albert Riera Rok Zorko Dominik Božak Nemanja Jakšić Rene Mihelič Ivan Antolek Josip Golubar Josip Golubar Arpad Vaš Dejan Glavica Veljko Batrović Dario Jertec Eros Grezda Ante Mrmić Aleks Pihler Sandi Čeh Aleš Čeh Tomislav Kiš Saša Dreven Marko Roškar Luka Muženjak Lovro Benić
65
action count
action filter_type
action find_reverse
entity NK Zavrč
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'NK Zavrč']
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:member_of_sports_team resource:NK_Zavrč . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q736937
P127
Q483110
USER
Which stadium is owned by C.F. Pachuca ?
(c(Q483110),P127,Q736937)
action filter_type
action find_reverse
entity Q736937
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q736937']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q736937 . ?b rdf:type ontology:Q483110 }
C.F. Pachuca
action filter_type
action find_reverse
entity C.F. Pachuca
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'C.F. Pachuca']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:C.F._Pachuca . ?b rdf:type ontology:stadium }
[]
stadium
Q1369255
SYSTEM
Estadio Hidalgo
Q1369255
(c(Q483110),P127,Q736937)
action filter_type
action find_reverse
entity Q736937
relation P127
type Q483110
[ANSWER] is owned by C.F. Pachuca
[{'concept': 'Q483110'}, 'P127', 'Q736937']
SELECT DISTINCT ?b WHERE { ?b property:P127 resource:Q736937 . ?b rdf:type ontology:Q483110 }
Estadio Hidalgo
Estadio Hidalgo is owned by C.F. Pachuca
Estadio Hidalgo
action filter_type
action find_reverse
entity C.F. Pachuca
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'C.F. Pachuca']
SELECT DISTINCT ?b WHERE { ?b property:owned_by resource:C.F._Pachuca . ?b rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1369255
P641
Q349
USER
What did that stadium participate in ?
(Q1369255,P641,c(Q349))
action filter_type
action find
entity Q1369255
relation P641
type Q349
['Q1369255', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q1369255 property:P641 ?j . ?j rdf:type ontology:Q349 }
Estadio Hidalgo
action filter_type
action find
entity Estadio Hidalgo
relation sport
type sport
['Estadio Hidalgo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Estadio_Hidalgo property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1369255,P641,c(Q349))
action filter_type
action find
entity Q1369255
relation P641
type Q349
That stadium participated in [ANSWER]
['Q1369255', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q1369255 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
That stadium participated in association football
association football
action filter_type
action find
entity Estadio Hidalgo
relation sport
type sport
['Estadio Hidalgo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Estadio_Hidalgo property:sport ?j . ?j rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1987198 Q96
P530 P20
Q15617994
USER
Which administrative territories have diplomatic relations with Mexico or are the places of death of Nicolás Espinoza ?
OR((Q96,P530,c(Q15617994)), (Q1987198,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q96
relation P530
action find
entity Q1987198
relation P20
type Q15617994
{'OR': [['Q96', 'P530', {'concept': 'Q15617994'}], ['Q1987198', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q1987198 property:P20 ?c } UNION { resource:Q96 property:P530 ?c } } }
Nicolás Espinoza Mexico
action filter_type
action union
action find
entity Mexico
relation diplomatic relation
action find
entity Nicolás Espinoza
relation place of death
type designation for an administrative territorial entity
{'OR': [['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Nicolás Espinoza', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nicolás_Espinoza property:place_of_death ?c } UNION { resource:Mexico property:diplomatic_relation ?c } } }
[]
designation for an administrative territorial entity
Q155 Q783 Q38
SYSTEM
Brazil, Honduras, Italy
Q155 Q783 Q38
OR((Q96,P530,c(Q15617994)), (Q1987198,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q96
relation P530
action find
entity Q1987198
relation P20
type Q15617994
[ANSWERS] have diplomatic relations with Mexico or are the places of death of Nicolás Espinoza
{'OR': [['Q96', 'P530', {'concept': 'Q15617994'}], ['Q1987198', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q1987198 property:P20 ?c } UNION { resource:Q96 property:P530 ?c } } }
Brazil Honduras Italy
Brazil, Honduras and Italy have diplomatic relations with Mexico or are the places of death of Nicolás Espinoza
Brazil Honduras Italy
action filter_type
action union
action find
entity Mexico
relation diplomatic relation
action find
entity Nicolás Espinoza
relation place of death
type designation for an administrative territorial entity
{'OR': [['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Nicolás Espinoza', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Nicolás_Espinoza property:place_of_death ?c } UNION { resource:Mexico property:diplomatic_relation ?c } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3565359 Q38
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy and are Ivaylo Tsvetkov a civilian of ?
AND((Q38,P530,c(Q15617994)), (Q3565359,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3565359
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3565359', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q3565359 property:P27 ?u . resource:Q38 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Ivaylo Tsvetkov Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ivaylo Tsvetkov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ivaylo Tsvetkov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Ivaylo_Tsvetkov property:country_of_citizenship ?u . resource:Italy property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q219
SYSTEM
Bulgaria
Q219
AND((Q38,P530,c(Q15617994)), (Q3565359,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3565359
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Italy and are Ivaylo Tsvetkov a civilian of
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3565359', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q3565359 property:P27 ?u . resource:Q38 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Bulgaria
Bulgaria holds diplomatic relationship with Italy and are Ivaylo Tsvetkov a civilian of
Bulgaria
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ivaylo Tsvetkov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ivaylo Tsvetkov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Ivaylo_Tsvetkov property:country_of_citizenship ?u . resource:Italy property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q800
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with greater number of administrative territories than Costa Rica ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q800
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?q ) WHERE { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?o property:P530 ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q800 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?m ) }
Costa Rica
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Costa Rica
relation diplomatic relation
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?q ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Costa_Rica property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q800
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Costa Rica
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?q ) WHERE { ?o rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 . ?o property:P530 ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Q800 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?q > ?m ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have diplomatic relationships with greater number of administrative territories than Costa Rica
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Costa Rica
relation diplomatic relation
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 ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?q ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:diplomatic_relation ?g } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { resource:Costa_Rica property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?q > ?m ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q784
P530
Q15617994 Q15617994
USER
And how about Dominica?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q784
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?r > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q784 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P530 ?o . ?e rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } }
Dominica
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Dominica
relation diplomatic relation
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 ?o WHERE { FILTER ( ?r > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Dominica property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:diplomatic_relation ?o . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q784
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?r > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q784 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:P530 ?o . ?e rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?o } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Dominica
relation diplomatic relation
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 ?o WHERE { FILTER ( ?r > ?b ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Dominica property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?o ( COUNT ( ?e ) AS ?r ) WHERE { ?e property:diplomatic_relation ?o . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P530
Q15617994
USER
Who have a diplomatic relationship with those ones ?
(Q38,P530,c(Q15617994)) (Q155,P530,c(Q15617994)) (Q30,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } . ?c property:P530 ?v }
Italy Brazil United States of America
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } . ?c property:diplomatic_relation ?v }
[]
designation for an administrative territorial entity
Q38 Q38 Q155
SYSTEM
Brazil for 3rd, Italy for 1st, 2nd
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114 Q96 Q419 Q801 Q800 Q843 Q1029 Q822 Q241 Q244 Q668 Q574 Q414 Q983 Q142 Q145 Q148 Q783 Q43 Q17 Q30 Q36 Q77 Q750 Q1016 Q739 Q423 Q717 Q79 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q212 Q213 Q45 Q159 Q734 Q41 Q790 Q38 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916 Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q38,P530,c(Q15617994)) (Q155,P530,c(Q15617994)) (Q30,P530,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P530
type Q15617994
[ANSWERS]
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q801 ) ( resource:Q800 ) ( resource:Q805 ) } . ?c property:P530 ?v }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya Mexico Peru Israel Costa Rica Pakistan Mozambique Lebanon Cuba Barbados India East Timor Argentina Equatorial Guinea France United Kingdom People's Republic of China Honduras Turkey Japan United States of America Poland Uruguay Bolivia Libya Colombia North Korea Venezuela Egypt Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Ukraine Czech Republic Portugal Russia Guyana Greece Haiti Italy Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
Italy, Italy and Brazil have a diplomatic relationship with those ones
Italy Italy Brazil
action filter_type
action find
entity prev_answer
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Israel ) ( resource:Costa_Rica ) ( resource:Yemen ) } . ?c property:diplomatic_relation ?v }
[]