Simple Question (Direct)
Simple Question
Q1408033
P106
Q12737077
USER
Which occupation is the profession of Attilio Berti ?
(Q1408033,P106,c(Q12737077))
action filter_type
action find
entity Q1408033
relation P106
type Q12737077
['Q1408033', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1408033 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Attilio Berti
action filter_type
action find
entity Attilio Berti
relation occupation
type occupation
['Attilio Berti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Attilio_Berti property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1408033,P106,c(Q12737077))
action filter_type
action find
entity Q1408033
relation P106
type Q12737077
Player [ANSWER] is the profession of Attilio Berti
['Q1408033', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q1408033 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Attilio Berti
association football player
action filter_type
action find
entity Attilio Berti
relation occupation
type occupation
['Attilio Berti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Attilio_Berti property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1408033
P19
Q15617994
USER
Which administrative territory was that person born at ?
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q1408033
relation P19
type Q15617994
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1408033 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Attilio Berti
action filter_type
action find
entity Attilio Berti
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Attilio_Berti property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q47251
SYSTEM
Valdagno
Q47251
(Q937857,P19,c(Q15617994))
action filter_type
action find
entity Q1408033
relation P19
type Q15617994
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1408033 property:P19 ?q . ?q rdf:type ontology:Q15617994 }
Valdagno
That person was born in Valdagno
Valdagno
action filter_type
action find
entity Attilio Berti
relation place of birth
type designation for an administrative territorial entity
['association football player', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Attilio_Berti property:place_of_birth ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q47251 Q48177 Q48162
P47
Q15617994
USER
Does Valdagno have an adjacent border with Cornedo Vicentino and Torrebelvicino ?
(Q47251,P47,Q48177) (Q47251,P47,Q48162)
action is_in
entity Q47251
action intersection
action find_reverse
entity Q48177
relation P47
action find_reverse
entity Q48162
relation P47
['Q47251', 'P47', 'Q48177'] ['Q47251', 'P47', 'Q48162']
ASK WHERE { resource:Q47251 property:P47 resource:Q48162 . resource:Q47251 property:P47 resource:Q48177 }
Valdagno Cornedo Vicentino Torrebelvicino
action is_in
entity Valdagno
action intersection
action find_reverse
entity Cornedo Vicentino
relation shares border with
action find_reverse
entity Torrebelvicino
relation shares border with
['Valdagno', 'shares border with', 'Cornedo Vicentino'] ['Valdagno', 'shares border with', 'Torrebelvicino']
ASK WHERE { resource:Valdagno property:shares_border_with resource:Torrebelvicino . resource:Valdagno property:shares_border_with resource:Cornedo_Vicentino }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q47251,P47,Q48177) (Q47251,P47,Q48162)
action is_in
entity Q47251
action intersection
action find_reverse
entity Q48177
relation P47
action find_reverse
entity Q48162
relation P47
[ANSWER]
['Q47251', 'P47', 'Q48177'] ['Q47251', 'P47', 'Q48162']
ASK WHERE { resource:Q47251 property:P47 resource:Q48162 . resource:Q47251 property:P47 resource:Q48177 }
Yes
action is_in
entity Valdagno
action intersection
action find_reverse
entity Cornedo Vicentino
relation shares border with
action find_reverse
entity Torrebelvicino
relation shares border with
['Valdagno', 'shares border with', 'Cornedo Vicentino'] ['Valdagno', 'shares border with', 'Torrebelvicino']
ASK WHERE { resource:Valdagno property:shares_border_with resource:Torrebelvicino . resource:Valdagno property:shares_border_with resource:Cornedo_Vicentino }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q47251
P19
Q502895
USER
How many people have place of birth as Valdagno ?
(c(Q502895),P19,Q47251)
action count
action filter_type
action find_reverse
entity Q47251
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q47251']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P19 resource:Q47251 . ?g rdf:type ontology:Q502895 }
Valdagno
action count
action filter_type
action find_reverse
entity Valdagno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Valdagno']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:place_of_birth resource:Valdagno . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
39
Q20670185 Q3617122 Q3768011 Q1408033 Q18397506 Q22807384 Q3646095 Q62255 Q3620069 Q20666444 Q1796894 Q3876479 Q20140366 Q127937 Q21833071 Q1146467 Q3702650 Q3769449 Q20682586 Q1494098 Q631699 Q3904058 Q3713000 Q3940283 Q21207497 Q3767065 Q6791744 Q3903375 Q3762848 Q16039372 Q3939173 Q16526167 Q973665 Q3764736 Q3707218 Q3629281 Q3835611 Q16576947 Q16235365
(c(Q502895),P19,Q47251)
action count
action filter_type
action find_reverse
entity Q47251
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q47251']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P19 resource:Q47251 . ?g rdf:type ontology:Q502895 }
Vittorio Emanuele Marzotto Sr Angelo Oliviero Giovanni Rasia Dal Polo Attilio Berti Arturo Zanuso Marco Tecchio Bruto Caldonazzo Roberto Anzolin Antonio Preto Mattia Cocco Paolo Marzotto Nicoletta Bauce Gaetano Marzotto Sr Agostino Cacciavillan Camillo Valle Giannino Marzotto Dario Rigo Giuliano Zoso Mario Richter Paolo Zanetti Martina Dogana Pietro Marzotto Domenico De' Paoli Rolando Spanevello Gaetano Marzotto Giovanni Cracco Mattia Masiero Piero Tonin Giancarlo Dotto Erika Stefani Roberto Soldà Andrea Battilotti Cristina Castagna Gino Soldà Diego Nicoletti Attilio Porra Livio Fongaro Massimo Cunegatti Filippo Lora
39
action count
action filter_type
action find_reverse
entity Valdagno
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Valdagno']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:place_of_birth resource:Valdagno . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47251
P159
Q43229
USER
Which organization has its head office location at that administrative territory ?
action filter_type
action find_reverse
entity Q47251
relation P159
type Q43229
SELECT DISTINCT ?o WHERE { ?o property:P159 resource:Q47251 . ?o rdf:type ontology:Q43229 }
Valdagno
action filter_type
action find_reverse
entity Valdagno
relation headquarters location
type organization
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location resource:Valdagno . ?o rdf:type ontology:organization }
[]
organization
Q3073744
SYSTEM
Marzotto
Q3073744
action filter_type
action find_reverse
entity Q47251
relation P159
type Q43229
[ANSWER] has its head office location at that administrative territory
SELECT DISTINCT ?o WHERE { ?o property:P159 resource:Q47251 . ?o rdf:type ontology:Q43229 }
Marzotto
Marzotto has its head office location at that administrative territory
Marzotto
action filter_type
action find_reverse
entity Valdagno
relation headquarters location
type organization
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location resource:Valdagno . ?o rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P740
Q15617994
USER
How many administrative territories are the locations of formation of that organization ?
(Q3073744,P740,c(Q15617994))
action count
action filter_type
action find
entity Q3073744
relation P740
type Q15617994
['Q3073744', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q3073744 property:P740 ?o . ?o rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Marzotto
relation location of formation
type designation for an administrative territorial entity
['Marzotto', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Marzotto property:location_of_formation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q47251
(Q3073744,P740,c(Q15617994))
action count
action filter_type
action find
entity Q3073744
relation P740
type Q15617994
[ANSWER]
['Q3073744', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q3073744 property:P740 ?o . ?o rdf:type ontology:Q15617994 }
Valdagno
1
action count
action filter_type
action find
entity Marzotto
relation location of formation
type designation for an administrative territorial entity
['Marzotto', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Marzotto property:location_of_formation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5847602 Q47251
P47 P17
Q15617994
USER
Which administrative territories are bordered by Valdagno or do Jan Aziz belong to ?
OR((Q47251,P47,c(Q15617994)), (Q5847602,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q47251
relation P47
action find
entity Q5847602
relation P17
type Q15617994
{'OR': [['Q47251', 'P47', {'concept': 'Q15617994'}], ['Q5847602', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q47251 property:P47 ?p } UNION { resource:Q5847602 property:P17 ?p } } }
Jan Aziz Valdagno
action filter_type
action union
action find
entity Valdagno
relation shares border with
action find
entity Jan Aziz
relation country
type designation for an administrative territorial entity
{'OR': [['Valdagno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Jan Aziz', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Valdagno property:shares_border_with ?p } UNION { resource:Jan_Aziz property:country ?p } } }
[]
designation for an administrative territorial entity
Q46131 Q48162 Q47262 Q46300 Q48177 Q794 Q46836 Q46600 Q46571
SYSTEM
Recoaro Terme, Torrebelvicino, Schio, Crespadoro, Cornedo Vicentino, Iran, Altissimo, Brogliano, Monte di Malo
Q46131 Q48162 Q47262 Q46300 Q48177 Q794 Q46836 Q46600 Q46571
OR((Q47251,P47,c(Q15617994)), (Q5847602,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q47251
relation P47
action find
entity Q5847602
relation P17
type Q15617994
[ANSWERS] are bordered by Valdagno or do Jan Aziz belong to
{'OR': [['Q47251', 'P47', {'concept': 'Q15617994'}], ['Q5847602', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . { { resource:Q47251 property:P47 ?p } UNION { resource:Q5847602 property:P17 ?p } } }
Recoaro Terme Torrebelvicino Schio Crespadoro Cornedo Vicentino Iran Altissimo Brogliano Monte di Malo
Recoaro Terme, Torrebelvicino, Schio, Crespadoro, Cornedo Vicentino, Iran, Altissimo, Brogliano and Monte di Malo are bordered by Valdagno or do Jan Aziz belong to
Recoaro Terme Torrebelvicino Schio Crespadoro Cornedo Vicentino Iran Altissimo Brogliano Monte di Malo
action filter_type
action union
action find
entity Valdagno
relation shares border with
action find
entity Jan Aziz
relation country
type designation for an administrative territorial entity
{'OR': [['Valdagno', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Jan Aziz', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Valdagno property:shares_border_with ?p } UNION { resource:Jan_Aziz property:country ?p } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q31
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with lesser number of administrative territories than Belgium ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?y property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q31 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?d ) }
Belgium
action count
action less
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 Belgium
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 ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?y property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Belgium property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
111
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q31
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?y property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q31 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?n < ?d ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
111
action count
action less
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 Belgium
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 ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?v ) AS ?n ) WHERE { ?y property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Belgium property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q917
P530
Q15617994 Q15617994
USER
And also tell me about Bhutan?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?m property:P530 ?c . ?m rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q917 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?e ) }
Bhutan
action count
action less
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 Bhutan
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 ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?m property:diplomatic_relation ?c . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Bhutan property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
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 count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q917
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?m property:P530 ?c . ?m rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q917 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?e ) }
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
52
action count
action less
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 Bhutan
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 ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?k ) WHERE { ?m property:diplomatic_relation ?c . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Bhutan property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P1532
Q6979593
USER
Who play for Iran ?
(c(Q6979593),P1532,Q794)
action filter_type
action find_reverse
entity Q794
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q794']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q6979593 . ?x property:P1532 resource:Q794 }
Iran
action filter_type
action find_reverse
entity Iran
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Iran']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:national_association_football_team . ?x property:country_for_sport resource:Iran }
[]
national association football team
Q23892309 Q1672395
SYSTEM
Iran Olympic football team, Iran women's national football team
Q23892309 Q1672395
(c(Q6979593),P1532,Q794)
action filter_type
action find_reverse
entity Q794
relation P1532
type Q6979593
And [ANSWERS] play for Iran
[{'concept': 'Q6979593'}, 'P1532', 'Q794']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q6979593 . ?x property:P1532 resource:Q794 }
Iran Olympic football team Iran women's national football team
And Iran Olympic football team and Iran women's national football team play for Iran
Iran Olympic football team Iran women's national football team
action filter_type
action find_reverse
entity Iran
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Iran']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:national_association_football_team . ?x property:country_for_sport resource:Iran }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23892309
P641
Q349
USER
Which sport did that national association football team participate in ?
(Q23892309,P641,c(Q349))
action filter_type
action find
entity Q23892309
relation P641
type Q349
['Q23892309', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q23892309 property:P641 ?l . ?l rdf:type ontology:Q349 }
Iran Olympic football team
action filter_type
action find
entity Iran Olympic football team
relation sport
type sport
['Iran Olympic football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Iran_Olympic_football_team property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q1672395
SYSTEM
Did you mean Iran women's national football team ?
Q23892309 Q1672395
(Q23892309,P641,c(Q349)) (Q1672395,P641,c(Q349))
[ANSWER]
['Q23892309', 'P641', {'concept': 'Q349'}] ['Q1672395', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q23892309 property:P641 ?l . ?l rdf:type ontology:Q349 }
Iran Olympic football team Iran women's national football team
Did you mean Iran women's national football team ?
Iran women's national football team
['Iran Olympic football team', 'sport', {'concept': 'sport'}] ["Iran women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Iran_Olympic_football_team property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Iran Olympic football team. Could you tell me the answer for that?
(Q23892309,P641,c(Q349))
Q23892309
['Q23892309', 'P641', {'concept': 'Q349'}]
['Iran Olympic football team', 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q23892309,P641,c(Q349))
action filter_type
action find
entity Q23892309
relation P641
type Q349
That national [ANSWER] team participated national [ANSWER]
['Q23892309', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q23892309 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
That national association football team participated national association football
association football
action filter_type
action find
entity Iran Olympic football team
relation sport
type sport
['Iran Olympic football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Iran_Olympic_football_team property:sport ?l . ?l rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5866517 Q48177
P47 P27
Q15617994
USER
Which administrative territories are adjacent to Cornedo Vicentino or do Francisco Leyva belong to ?
OR((Q48177,P47,c(Q15617994)), (Q5866517,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q48177
relation P47
action find
entity Q5866517
relation P27
type Q15617994
{'OR': [['Q48177', 'P47', {'concept': 'Q15617994'}], ['Q5866517', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q48177 property:P47 ?x } UNION { resource:Q5866517 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Francisco Leyva Cornedo Vicentino
action filter_type
action union
action find
entity Cornedo Vicentino
relation shares border with
action find
entity Francisco Leyva
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Cornedo Vicentino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Francisco Leyva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Cornedo_Vicentino property:shares_border_with ?x } UNION { resource:Francisco_Leyva property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q46402 Q96 Q46985 Q47251 Q47044 Q46600 Q46571
SYSTEM
Castelgomberto, Mexico, Malo, Valdagno, Isola Vicentina, Brogliano, Monte di Malo
Q46402 Q96 Q46985 Q47251 Q47044 Q46600 Q46571
OR((Q48177,P47,c(Q15617994)), (Q5866517,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q48177
relation P47
action find
entity Q5866517
relation P27
type Q15617994
[ANSWERS] are adjacent to Cornedo Vicentino or do Francisco Leyva belong to
{'OR': [['Q48177', 'P47', {'concept': 'Q15617994'}], ['Q5866517', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q48177 property:P47 ?x } UNION { resource:Q5866517 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Castelgomberto Mexico Malo Valdagno Isola Vicentina Brogliano Monte di Malo
Castelgomberto, Mexico, Malo, Valdagno, Isola Vicentina, Brogliano and Monte di Malo are adjacent to Cornedo Vicentino or do Francisco Leyva belong to
Castelgomberto Mexico Malo Valdagno Isola Vicentina Brogliano Monte di Malo
action filter_type
action union
action find
entity Cornedo Vicentino
relation shares border with
action find
entity Francisco Leyva
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Cornedo Vicentino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Francisco Leyva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Cornedo_Vicentino property:shares_border_with ?x } UNION { resource:Francisco_Leyva property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q47044
P20
Q502895
USER
Which people have that administrative territory as the location of death ?
(c(Q502895),P20,Q47044)
action filter_type
action find_reverse
entity Q47044
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q47044']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q47044 . ?o rdf:type ontology:Q502895 }
Isola Vicentina
action filter_type
action find_reverse
entity Isola Vicentina
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Isola Vicentina']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Isola_Vicentina . ?o rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q47251
SYSTEM
Did you mean Valdagno ?
Q46402 Q96 Q46985 Q47251 Q47044 Q46600 Q46571
(c(Q502895),P20,Q46402) (c(Q502895),P20,Q96) (c(Q502895),P20,Q46985) (c(Q502895),P20,Q47251) (c(Q502895),P20,Q47044) (c(Q502895),P20,Q46600) (c(Q502895),P20,Q46571)
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q46402'] [{'concept': 'Q502895'}, 'P20', 'Q96'] [{'concept': 'Q502895'}, 'P20', 'Q46985'] [{'concept': 'Q502895'}, 'P20', 'Q47251'] [{'concept': 'Q502895'}, 'P20', 'Q47044'] [{'concept': 'Q502895'}, 'P20', 'Q46600'] [{'concept': 'Q502895'}, 'P20', 'Q46571']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q47044 . ?o rdf:type ontology:Q502895 }
Castelgomberto Mexico Malo Valdagno Isola Vicentina Brogliano Monte di Malo
Did you mean Valdagno ?
Valdagno
[{'concept': 'common name'}, 'place of death', 'Castelgomberto'] [{'concept': 'common name'}, 'place of death', 'Mexico'] [{'concept': 'common name'}, 'place of death', 'Malo'] [{'concept': 'common name'}, 'place of death', 'Valdagno'] [{'concept': 'common name'}, 'place of death', 'Isola Vicentina'] [{'concept': 'common name'}, 'place of death', 'Brogliano'] [{'concept': 'common name'}, 'place of death', 'Monte di Malo']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Isola_Vicentina . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Isola Vicentina. Could you tell me the answer for that?
(c(Q502895),P20,Q47044)
Q47044
[{'concept': 'Q502895'}, 'P20', 'Q47044']
[{'concept': 'common name'}, 'place of death', 'Isola Vicentina']
[]
Q21208771 Q3764854
SYSTEM
Anacleto Milani, Gioacchino Stevan
Q21208771 Q3764854
(c(Q502895),P20,Q47044)
action filter_type
action find_reverse
entity Q47044
relation P20
type Q502895
[ANSWERS] have that administrative territory as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q47044']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q47044 . ?o rdf:type ontology:Q502895 }
Anacleto Milani Gioacchino Stevan
Anacleto Milani and Gioacchino Stevan have that administrative territory as the location of death
Anacleto Milani Gioacchino Stevan
action filter_type
action find_reverse
entity Isola Vicentina
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Isola Vicentina']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:Isola_Vicentina . ?o rdf:type ontology:common_name }
[]