Simple Question (Direct)
Simple Question
Q382482
P417
Q186081
USER
What is the name of the patron saint of Aidomaggiore ?
(Q382482,P417,c(Q186081))
action filter_type
action find
entity Q382482
relation P417
type Q186081
['Q382482', 'P417', {'concept': 'Q186081'}]
SELECT DISTINCT ?r WHERE { resource:Q382482 property:P417 ?r . ?r rdf:type ontology:Q186081 }
Aidomaggiore
action filter_type
action find
entity Aidomaggiore
relation patron saint
type time interval
['Aidomaggiore', 'patron saint', {'concept': 'time interval'}]
SELECT DISTINCT ?r WHERE { resource:Aidomaggiore property:patron_saint ?r . ?r rdf:type ontology:time_interval }
[]
time interval
Q2584
SYSTEM
May 24
Q2584
(Q382482,P417,c(Q186081))
action filter_type
action find
entity Q382482
relation P417
type Q186081
The name of the patron saint of Aidomaggiore is born [ANSWER]
['Q382482', 'P417', {'concept': 'Q186081'}]
SELECT DISTINCT ?r WHERE { resource:Q382482 property:P417 ?r . ?r rdf:type ontology:Q186081 }
May 24
The name of the patron saint of Aidomaggiore is born May 24
May 24
action filter_type
action find
entity Aidomaggiore
relation patron saint
type time interval
['Aidomaggiore', 'patron saint', {'concept': 'time interval'}]
SELECT DISTINCT ?r WHERE { resource:Aidomaggiore property:patron_saint ?r . ?r rdf:type ontology:time_interval }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382482
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(c(Q15617994),P47,Q2584)
action filter_type
action find
entity Q382482
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q2584']
SELECT DISTINCT ?t WHERE { resource:Q382482 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Aidomaggiore
action filter_type
action find
entity Aidomaggiore
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'May 24']
SELECT DISTINCT ?t WHERE { resource:Aidomaggiore property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q385794 Q388085 Q294793
SYSTEM
Ghilarza, Sedilo, Dualchi
Q386875 Q294793 Q294752 Q385794 Q388085 Q388571
(c(Q15617994),P47,Q2584)
action filter_type
action find
entity Q382482
relation P47
type Q15617994
[ANSWERS] are bordered by that one
[{'concept': 'Q15617994'}, 'P47', 'Q2584']
SELECT DISTINCT ?t WHERE { resource:Q382482 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Norbello Dualchi Borore Ghilarza Sedilo Soddì
Ghilarza, Sedilo and Dualchi are bordered by that one
Ghilarza Sedilo Dualchi
action filter_type
action find
entity Aidomaggiore
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'May 24']
SELECT DISTINCT ?t WHERE { resource:Aidomaggiore property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q426025
P17
Q15617994 Q83620 Q20667921
USER
How many administrative territories do greater number of thoroughfares or french administrative divisions belong to than Duchy of Savoy ?
(c(Q83620)|c(Q20667921),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q426025
relation P17
type Q83620
type Q20667921
[[{'concept': 'Q83620'}, {'concept': 'Q20667921'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q83620 } UNION { ?v property:P17 ?n . ?v rdf:type ontology:Q20667921 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P17 resource:Q426025 . { { ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q20667921 } } } } . FILTER ( ?m > ?r ) }
Duchy of Savoy
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Duchy of Savoy
relation country
type thoroughfare
type type of french administrative division
[[{'concept': 'thoroughfare'}, {'concept': 'type of french administrative division'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:thoroughfare } UNION { ?v property:country ?n . ?v rdf:type ontology:type_of_french_administrative_division . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:country resource:Duchy_of_Savoy . { { ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?m > ?r ) }
[]
designation for an administrative territorial entity thoroughfare type of french administrative division
SYSTEM
151
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q214 Q711 Q717 Q837 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q219 Q4628 Q241 Q242 Q244 Q811 Q736 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q236 Q230 Q232 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q1025 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q786 Q32 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q1050 Q977 Q17 Q902 Q1036 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q962 Q963 Q697 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q37 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q29 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q945 Q929 Q863 Q1049 Q869 Q953
(c(Q83620)|c(Q20667921),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q83620
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q20667921
action count
action filter_multi_types
action find_reverse
entity Q426025
relation P17
type Q83620
type Q20667921
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q20667921'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:P17 ?n . ?n rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q83620 } UNION { ?v property:P17 ?n . ?v rdf:type ontology:Q20667921 . ?n rdf:type ontology:Q15617994 } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P17 resource:Q426025 . { { ?f rdf:type ontology:Q83620 } UNION { ?f rdf:type ontology:Q20667921 } } } } . FILTER ( ?m > ?r ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Slovakia Mongolia Venezuela Nepal Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Bulgaria Faroe Islands Cuba Belize Barbados Nicaragua Ecuador Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Montenegro Georgia Kazakhstan San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Mauritania Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Bangladesh Uganda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Benin Botswana Nauru Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Lithuania Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Spain Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Togo Central African Republic Tajikistan Sudan Thailand Zambia
151
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find_reverse
entity Duchy of Savoy
relation country
type thoroughfare
type type of french administrative division
[[{'concept': 'thoroughfare'}, {'concept': 'type of french administrative division'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?m ) WHERE { { ?v property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:thoroughfare } UNION { ?v property:country ?n . ?v rdf:type ontology:type_of_french_administrative_division . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:country resource:Duchy_of_Savoy . { { ?f rdf:type ontology:thoroughfare } UNION { ?f rdf:type ontology:type_of_french_administrative_division } } } } . FILTER ( ?m > ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q385794
P20
Q502895
USER
Which person has Ghilarza as the area of death ?
(c(Q502895),P20,Q385794)
action filter_type
action find_reverse
entity Q385794
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q385794']
SELECT DISTINCT ?j WHERE { ?j property:P20 resource:Q385794 . ?j rdf:type ontology:Q502895 }
Ghilarza
action filter_type
action find_reverse
entity Ghilarza
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Ghilarza']
SELECT DISTINCT ?j WHERE { ?j property:place_of_death resource:Ghilarza . ?j rdf:type ontology:common_name }
[]
common name
Q3610048
SYSTEM
Alessandro Ghinami
Q3610048
(c(Q502895),P20,Q385794)
action filter_type
action find_reverse
entity Q385794
relation P20
type Q502895
[ANSWER] has Ghilarza as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q385794']
SELECT DISTINCT ?j WHERE { ?j property:P20 resource:Q385794 . ?j rdf:type ontology:Q502895 }
Alessandro Ghinami
Alessandro Ghinami has Ghilarza as the area of death
Alessandro Ghinami
action filter_type
action find_reverse
entity Ghilarza
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Ghilarza']
SELECT DISTINCT ?j WHERE { ?j property:place_of_death resource:Ghilarza . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3610048
P937
Q56061
USER
Where did that person work ?
(Q3610048,P937,c(Q56061))
action filter_type
action find
entity Q3610048
relation P937
type Q56061
['Q3610048', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3610048 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Alessandro Ghinami
action filter_type
action find
entity Alessandro Ghinami
relation work location
type administrative territorial entity
['Alessandro Ghinami', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alessandro_Ghinami property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3610048,P937,c(Q56061))
action filter_type
action find
entity Q3610048
relation P937
type Q56061
That person worked at [ANSWER]
['Q3610048', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3610048 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Rome
That person worked at Rome
Rome
action filter_type
action find
entity Alessandro Ghinami
relation work location
type administrative territorial entity
['Alessandro Ghinami', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alessandro_Ghinami property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q220 Q38 Q3822
P1376
Q15617994
USER
Is that administrative territory center of administration for Italy and Lünen ?
(Q220,P1376,Q38) (Q220,P1376,Q3822)
action is_in
entity Q220
action intersection
action find_reverse
entity Q38
relation P1376
action find_reverse
entity Q3822
relation P1376
['Q220', 'P1376', 'Q38'] ['Q220', 'P1376', 'Q3822']
ASK WHERE { resource:Q220 property:P1376 resource:Q38 . resource:Q220 property:P1376 resource:Q3822 }
Rome Italy Lünen
action is_in
entity Rome
action intersection
action find_reverse
entity Italy
relation capital of
action find_reverse
entity Lünen
relation capital of
['Rome', 'capital of', 'Italy'] ['Rome', 'capital of', 'Lünen']
ASK WHERE { resource:Rome property:capital_of resource:Italy . resource:Rome property:capital_of resource:Lünen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q220,P1376,Q38) (Q220,P1376,Q3822)
action is_in
entity Q220
action intersection
action find_reverse
entity Q38
relation P1376
action find_reverse
entity Q3822
relation P1376
[ANSWER]
['Q220', 'P1376', 'Q38'] ['Q220', 'P1376', 'Q3822']
ASK WHERE { resource:Q220 property:P1376 resource:Q38 . resource:Q220 property:P1376 resource:Q3822 }
YES and NO respectively
action is_in
entity Rome
action intersection
action find_reverse
entity Italy
relation capital of
action find_reverse
entity Lünen
relation capital of
['Rome', 'capital of', 'Italy'] ['Rome', 'capital of', 'Lünen']
ASK WHERE { resource:Rome property:capital_of resource:Italy . resource:Rome property:capital_of resource:Lünen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P1427
Q15091377
USER
Which cycling races have start point at that administrative territory ?
action filter_type
action find_reverse
entity Q220
relation P1427
type Q15091377
SELECT DISTINCT ?u WHERE { ?u property:P1427 resource:Q220 . ?u rdf:type ontology:Q15091377 }
Rome
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race
SELECT DISTINCT ?u WHERE { ?u property:start_point resource:Rome . ?u rdf:type ontology:cycling_race }
[]
cycling race
Q1526936 Q523146
SYSTEM
1960 Giro d'Italia, 1911 Giro d'Italia
Q1526936 Q523146
action filter_type
action find_reverse
entity Q220
relation P1427
type Q15091377
[ANSWERS] have start point at that administrative territory
SELECT DISTINCT ?u WHERE { ?u property:P1427 resource:Q220 . ?u rdf:type ontology:Q15091377 }
1960 Giro d'Italia 1911 Giro d'Italia
1960 Giro d'Italia and 1911 Giro d'Italia have start point at that administrative territory
1960 Giro d'Italia 1911 Giro d'Italia
action filter_type
action find_reverse
entity Rome
relation start point
type cycling race
SELECT DISTINCT ?u WHERE { ?u property:start_point resource:Rome . ?u rdf:type ontology:cycling_race }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1526936 Q523146
P641
Q31629
USER
Which types of sport were 1960 Giro d'Italia and 1911 Giro d'Italia a part of ?
(Q1526936,P641,c(Q31629)) (Q523146,P641,c(Q31629))
action union
action filter_type
action find
entity Q1526936
relation P641
type Q31629
action filter_type
action find
entity Q523146
relation P641
type Q31629
['Q1526936', 'P641', {'concept': 'Q31629'}] ['Q523146', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { ?x property:P641 ?d . VALUES ( ?x ) { ( resource:Q523146 ) ( resource:Q1526936 ) } }
1960 Giro d'Italia 1911 Giro d'Italia
action union
action filter_type
action find
entity 1960 Giro d'Italia
relation sport
type type of sport
action filter_type
action find
entity 1911 Giro d'Italia
relation sport
type type of sport
["1960 Giro d'Italia", 'sport', {'concept': 'type of sport'}] ["1911 Giro d'Italia", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { ?x property:sport ?d . VALUES ( ?x ) { ( resource:1911_Giro_d'Italia ) ( resource:1960_Giro_d'Italia ) } }
[]
type of sport
Q3609 Q3609
SYSTEM
road bicycle racing
Q3609 Q3609
(Q1526936,P641,c(Q31629)) (Q523146,P641,c(Q31629))
action union
action filter_type
action find
entity Q1526936
relation P641
type Q31629
action filter_type
action find
entity Q523146
relation P641
type Q31629
And [ANSWER] and [ANSWER] were 1960 Giro d'Italia and 1911 Giro d'Italia a part of
['Q1526936', 'P641', {'concept': 'Q31629'}] ['Q523146', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?d WHERE { ?x property:P641 ?d . VALUES ( ?x ) { ( resource:Q523146 ) ( resource:Q1526936 ) } }
road bicycle racing road bicycle racing
And road bicycle racing and road bicycle racing were 1960 Giro d'Italia and 1911 Giro d'Italia a part of
road bicycle racing road bicycle racing
action union
action filter_type
action find
entity 1960 Giro d'Italia
relation sport
type type of sport
action filter_type
action find
entity 1911 Giro d'Italia
relation sport
type type of sport
["1960 Giro d'Italia", 'sport', {'concept': 'type of sport'}] ["1911 Giro d'Italia", 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?d WHERE { ?x property:sport ?d . VALUES ( ?x ) { ( resource:1911_Giro_d'Italia ) ( resource:1960_Giro_d'Italia ) } }
[]