Simple Question (Direct)
Simple Question
Q3937859
P344
Q502895
USER
Which person serves as the director of photography for Rivalry ?
(Q3937859,P344,c(Q502895))
action filter_type
action find
entity Q3937859
relation P344
type Q502895
['Q3937859', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3937859 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Rivalry
action filter_type
action find
entity Rivalry
relation director of photography
type common name
['Rivalry', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Rivalry property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
common name
Q769795
SYSTEM
Augusto Tiezzi
Q769795
(Q3937859,P344,c(Q502895))
action filter_type
action find
entity Q3937859
relation P344
type Q502895
[ANSWER] serves as the director of photography for Rivalry
['Q3937859', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3937859 property:P344 ?t . ?t rdf:type ontology:Q502895 }
Augusto Tiezzi
Augusto Tiezzi serves as the director of photography for Rivalry
Augusto Tiezzi
action filter_type
action find
entity Rivalry
relation director of photography
type common name
['Rivalry', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Rivalry property:director_of_photography ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q769795
P19
Q15617994
USER
Which administrative territory is the place of birth of that person ?
(Q769795,P19,c(Q15617994))
action filter_type
action find
entity Q769795
relation P19
type Q15617994
['Q769795', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q769795 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Augusto Tiezzi
action filter_type
action find
entity Augusto Tiezzi
relation place of birth
type designation for an administrative territorial entity
['Augusto Tiezzi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Augusto_Tiezzi property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q157745
SYSTEM
Castagneto Carducci
Q157745
(Q769795,P19,c(Q15617994))
action filter_type
action find
entity Q769795
relation P19
type Q15617994
[ANSWER] is the place of birth of that person
['Q769795', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q769795 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Castagneto Carducci
Castagneto Carducci is the place of birth of that person
Castagneto Carducci
action filter_type
action find
entity Augusto Tiezzi
relation place of birth
type designation for an administrative territorial entity
['Augusto Tiezzi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Augusto_Tiezzi property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q685
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with greater number of administrative territories than Solomon Islands ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q685 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?h ) WHERE { ?m property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } }
Solomon Islands
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
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 ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?h ) WHERE { ?m property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q183 Q408 Q769 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q685 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?h ) WHERE { ?m property:P530 ?l . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } }
Gabon Austria Antigua and Barbuda The Bahamas Germany Australia Grenada Denmark Canada New Zealand Jamaica
11
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Solomon Islands
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 ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?s ) . { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?h ) WHERE { ?m property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q157745
P190
Q20667921
USER
Which french administrative division is twin town of Castagneto Carducci ?
(c(Q20667921),P190,Q157745)
action filter_type
action find
entity Q157745
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q157745']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q157745 property:P190 ?m }
Castagneto Carducci
action filter_type
action find
entity Castagneto Carducci
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Castagneto Carducci']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Castagneto_Carducci property:sister_city ?m }
[]
type of french administrative division
Q478229
SYSTEM
Léognan
Q478229
(c(Q20667921),P190,Q157745)
action filter_type
action find
entity Q157745
relation P190
type Q20667921
[ANSWER] is twin town of Castagneto Carducci
[{'concept': 'Q20667921'}, 'P190', 'Q157745']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q157745 property:P190 ?m }
Léognan
Léognan is twin town of Castagneto Carducci
Léognan
action filter_type
action find
entity Castagneto Carducci
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Castagneto Carducci']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Castagneto_Carducci property:sister_city ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q157745
P17
Q15617994
USER
Which administrative territory is that one located in ?
(Q478229,P17,c(Q15617994))
action filter_type
action find
entity Q157745
relation P17
type Q15617994
['Q478229', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q157745 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Castagneto Carducci
action filter_type
action find
entity Castagneto Carducci
relation country
type designation for an administrative territorial entity
['Léognan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Castagneto_Carducci property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q478229,P17,c(Q15617994))
action filter_type
action find
entity Q157745
relation P17
type Q15617994
That one is located in [ANSWER]
['Q478229', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q157745 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Italy
That one is located in Italy
Italy
action filter_type
action find
entity Castagneto Carducci
relation country
type designation for an administrative territorial entity
['Léognan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Castagneto_Carducci property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atmost 45 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 45
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { FILTER ( ?u <= 45 ) . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?u ) WHERE { ?d property:P530 ?h . ?d rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?d } }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { FILTER ( ?u <= 45 ) . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?u ) WHERE { ?d property:diplomatic_relation ?h . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 45
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { FILTER ( ?u <= 45 ) . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?u ) WHERE { ?d property:P530 ?h . ?d rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?d } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania 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 Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { FILTER ( ?u <= 45 ) . { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?u ) WHERE { ?d property:diplomatic_relation ?h . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?k ) WHERE { ?n property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } } . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?q ) WHERE { ?p rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?p property:P530 ?l } GROUP BY ?p } . FILTER ( ?q = ?y ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?k ) WHERE { ?n property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } } . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?q ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?l } GROUP BY ?p } . FILTER ( ?q = ?y ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] hold diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?k ) WHERE { ?n property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?n } } . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?q ) WHERE { ?p rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 . ?p property:P530 ?l } GROUP BY ?p } . FILTER ( ?q = ?y ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan hold diplomatic relationship with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?y ) { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?k ) WHERE { ?n property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } } . { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?q ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?l } GROUP BY ?p } . FILTER ( ?q = ?y ) }
[]