Simple Question (Direct)
Simple Question
Q6828632
P937
Q56061
USER
Which administrative territory is the work location of Michael Biddulph, 1st Baron Biddulph ?
(Q6828632,P937,c(Q56061))
action filter_type
action find
entity Q6828632
relation P937
type Q56061
['Q6828632', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6828632 property:P937 ?f . ?f rdf:type ontology:Q56061 }
Michael Biddulph, 1st Baron Biddulph
action filter_type
action find
entity Michael Biddulph, 1st Baron Biddulph
relation work location
type administrative territorial entity
['Michael Biddulph, 1st Baron Biddulph', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Michael_Biddulph,_1st_Baron_Biddulph property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q6828632,P937,c(Q56061))
action filter_type
action find
entity Q6828632
relation P937
type Q56061
[ANSWER] is the work location of Michael Biddulph, 1st Baron Biddulph
['Q6828632', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q6828632 property:P937 ?f . ?f rdf:type ontology:Q56061 }
London
London is the work location of Michael Biddulph, 1st Baron Biddulph
London
action filter_type
action find
entity Michael Biddulph, 1st Baron Biddulph
relation work location
type administrative territorial entity
['Michael Biddulph, 1st Baron Biddulph', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Michael_Biddulph,_1st_Baron_Biddulph property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6828632
P40
Q502895
USER
Who has Michael Biddulph, 1st Baron Biddulph as a child ?
(c(Q502895),P40,Q6828632)
action filter_type
action find_reverse
entity Q6828632
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q6828632']
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q6828632 . ?e rdf:type ontology:Q502895 }
Michael Biddulph, 1st Baron Biddulph
action filter_type
action find_reverse
entity Michael Biddulph, 1st Baron Biddulph
relation child
type common name
[{'concept': 'common name'}, 'child', 'Michael Biddulph, 1st Baron Biddulph']
SELECT DISTINCT ?e WHERE { ?e property:child resource:Michael_Biddulph,_1st_Baron_Biddulph . ?e rdf:type ontology:common_name }
[]
common name
Q7342094
SYSTEM
Robert Biddulph
Q7342094
(c(Q502895),P40,Q6828632)
action filter_type
action find_reverse
entity Q6828632
relation P40
type Q502895
[ANSWER] has Michael Biddulph, 1st Baron Biddulph as a child
[{'concept': 'Q502895'}, 'P40', 'Q6828632']
SELECT DISTINCT ?e WHERE { ?e property:P40 resource:Q6828632 . ?e rdf:type ontology:Q502895 }
Robert Biddulph
Robert Biddulph has Michael Biddulph, 1st Baron Biddulph as a child
Robert Biddulph
action filter_type
action find_reverse
entity Michael Biddulph, 1st Baron Biddulph
relation child
type common name
[{'concept': 'common name'}, 'child', 'Michael Biddulph, 1st Baron Biddulph']
SELECT DISTINCT ?e WHERE { ?e property:child resource:Michael_Biddulph,_1st_Baron_Biddulph . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7342094
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q7342094,P19,c(Q56061))
action filter_type
action find
entity Q7342094
relation P19
type Q56061
['Q7342094', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q7342094 property:P19 ?v }
Robert Biddulph
action filter_type
action find
entity Robert Biddulph
relation place of birth
type administrative territorial entity
['Robert Biddulph', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Robert_Biddulph property:place_of_birth ?v }
[]
administrative territorial entity
Q665330
SYSTEM
Ledbury
Q665330
(Q7342094,P19,c(Q56061))
action filter_type
action find
entity Q7342094
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q7342094', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q7342094 property:P19 ?v }
Ledbury
Ledbury is the place of birth of that person
Ledbury
action filter_type
action find
entity Robert Biddulph
relation place of birth
type administrative territorial entity
['Robert Biddulph', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Robert_Biddulph property:place_of_birth ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q665330
P17
Q15617994
USER
Which administrative territory is that administrative territory located in ?
(Q665330,P17,c(Q15617994))
action filter_type
action find
entity Q665330
relation P17
type Q15617994
['Q665330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q665330 property:P17 ?y }
Ledbury
action filter_type
action find
entity Ledbury
relation country
type designation for an administrative territorial entity
['Ledbury', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ledbury property:country ?y }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q665330,P17,c(Q15617994))
action filter_type
action find
entity Q665330
relation P17
type Q15617994
That administrative territory is located in [ANSWER]
['Q665330', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q665330 property:P17 ?y }
United Kingdom
That administrative territory is located in United Kingdom
United Kingdom
action filter_type
action find
entity Ledbury
relation country
type designation for an administrative territorial entity
['Ledbury', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ledbury property:country ?y }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q230
P495
Q15617994 Q838948 Q7725634
USER
Which administrative territories are the origins of more number of works of art or literary works than Georgia ?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q838948
type Q7725634
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P495 ?y . ?r rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P495 resource:Q230 . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?a > ?v ) }
Georgia
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art } UNION { ?r property:country_of_origin ?y . ?r rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:country_of_origin resource:Georgia . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } } } . FILTER ( ?a > ?v ) }
[]
designation for an administrative territorial entity work of art literary work
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q717 Q837 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q854 Q424 Q232 Q20 Q1041 Q27 Q28 Q189 Q843 Q1028 Q225 Q224 Q222 Q96 Q17 Q902 Q974 Q1033 Q191 Q965 Q298 Q212 Q213 Q211 Q214 Q215 Q218 Q219 Q833 Q836 Q79 Q77 Q858 Q948 Q29 Q869
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q230
relation P495
type Q838948
type Q7725634
[ANSWERS] are the origins of more number of works of art or literary works than Georgia
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P495 ?y . ?r rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:P495 resource:Q230 . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?a > ?v ) }
Israel Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Venezuela Nepal Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iran South Korea Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia Sri Lanka Cambodia Kazakhstan Norway Senegal Ireland Hungary Iceland Pakistan Morocco Bosnia and Herzegovina Croatia Albania Mexico Japan Bangladesh Democratic Republic of the Congo Nigeria Estonia Burkina Faso Chile Ukraine Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Malaysia Myanmar Egypt Uruguay Syria Tunisia Spain Thailand
Italy, Brazil and United States of America are the origins of more number of works of art or literary works than Georgia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:work_of_art } UNION { ?r property:country_of_origin ?y . ?r rdf:type ontology:literary_work . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?v ) WHERE { ?n property:country_of_origin resource:Georgia . { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } } } . FILTER ( ?a > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1030
P495
Q15617994 Q838948 Q7725634
USER
And how about Namibia?
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q1030
relation P495
type Q838948
type Q7725634
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P495 resource:Q1030 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q7725634 } } } } . FILTER ( ?e > ?b ) }
Namibia
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Namibia
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:country_of_origin resource:Namibia . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:literary_work } } } } . FILTER ( ?e > ?b ) }
[]
designation for an administrative territorial entity work of art literary work
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 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 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q881 Q826 Q822 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q854 Q819 Q424 Q730 Q236 Q230 Q232 Q233 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q833 Q1009 Q1008 Q971 Q970 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1016 Q1011 Q945 Q29 Q672 Q863 Q869 Q953
(c(Q838948)|c(Q7725634),P495,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q1030
relation P495
type Q838948
type Q7725634
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:Q838948 ) ( ontology:Q7725634 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:P495 resource:Q1030 . { { ?q rdf:type ontology:Q838948 } UNION { ?q rdf:type ontology:Q7725634 } } } } . FILTER ( ?e > ?b ) }
Yemen Panama Israel Costa Rica 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 Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Maldives Lebanon Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Sri Lanka Laos Cambodia Suriname Montenegro Georgia Kazakhstan Malta Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Libya Cape Verde Togo Spain Tuvalu Tajikistan Thailand Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity Namibia
relation country of origin
type work of art
type literary work
[[{'concept': 'work of art'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?e ) ?x WHERE { ?z rdf:type ?n . VALUES ( ?n ) { ( ontology:work_of_art ) ( ontology:literary_work ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { ?q property:country_of_origin resource:Namibia . { { ?q rdf:type ontology:work_of_art } UNION { ?q rdf:type ontology:literary_work } } } } . FILTER ( ?e > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2706322 Q665330
P47
Q56061
USER
Which administrative territories are bordered by Ledbury or Lechaina ?
OR((Q665330,P47,c(Q56061)), (Q2706322,P47,c(Q56061)))
action filter_type
action union
action find
entity Q665330
relation P47
action find
entity Q2706322
relation P47
type Q56061
{'OR': [['Q665330', 'P47', {'concept': 'Q56061'}], ['Q2706322', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2706322 property:P47 ?u } UNION { resource:Q665330 property:P47 ?u } } . ?u rdf:type ontology:Q56061 }
Lechaina Ledbury
action filter_type
action union
action find
entity Ledbury
relation shares border with
action find
entity Lechaina
relation shares border with
type administrative territorial entity
{'OR': [['Ledbury', 'shares border with', {'concept': 'administrative territorial entity'}], ['Lechaina', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Lechaina property:shares_border_with ?u } UNION { resource:Ledbury property:shares_border_with ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q206988 Q493019
SYSTEM
Cheltenham, Andravida
Q206988 Q493019
OR((Q665330,P47,c(Q56061)), (Q2706322,P47,c(Q56061)))
action filter_type
action union
action find
entity Q665330
relation P47
action find
entity Q2706322
relation P47
type Q56061
[ANSWERS] are bordered by Ledbury or Lechaina
{'OR': [['Q665330', 'P47', {'concept': 'Q56061'}], ['Q2706322', 'P47', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2706322 property:P47 ?u } UNION { resource:Q665330 property:P47 ?u } } . ?u rdf:type ontology:Q56061 }
Cheltenham Andravida
Cheltenham and Andravida are bordered by Ledbury or Lechaina
Cheltenham Andravida
action filter_type
action union
action find
entity Ledbury
relation shares border with
action find
entity Lechaina
relation shares border with
type administrative territorial entity
{'OR': [['Ledbury', 'shares border with', {'concept': 'administrative territorial entity'}], ['Lechaina', 'shares border with', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Lechaina property:shares_border_with ?u } UNION { resource:Ledbury property:shares_border_with ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q56061 Q11060274 Q838948
USER
Which administrative territories are depicted in max number of prints or works of art ?
(c(Q11060274)|c(Q838948),P180,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?s WHERE { { ?j property:P180 ?s . ?s rdf:type ontology:Q56061 . ?j rdf:type ontology:Q11060274 } UNION { ?j property:P180 ?s . ?j rdf:type ontology:Q838948 . ?s rdf:type ontology:Q56061 } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?i WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } } GROUP BY ?i } . FILTER ( ?m = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?s WHERE { { ?j property:depicts ?s . ?s rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:print } UNION { ?j property:depicts ?s . ?j rdf:type ontology:work_of_art . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?i WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:print ) ( ontology:work_of_art ) } } GROUP BY ?i } . FILTER ( ?m = ?l ) }
[]
administrative territorial entity print work of art
Q90
SYSTEM
Paris
Q90
(c(Q11060274)|c(Q838948),P180,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
[ANSWER] is depicted in max number of prints or works of art
[[{'concept': 'Q11060274'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?s WHERE { { ?j property:P180 ?s . ?s rdf:type ontology:Q56061 . ?j rdf:type ontology:Q11060274 } UNION { ?j property:P180 ?s . ?j rdf:type ontology:Q838948 . ?s rdf:type ontology:Q56061 } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?i WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } } GROUP BY ?i } . FILTER ( ?m = ?l ) }
Paris
Paris is depicted in max number of prints or works of art
Paris
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
[[{'concept': 'print'}, {'concept': 'work of art'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?s WHERE { { ?j property:depicts ?s . ?s rdf:type ontology:administrative_territorial_entity . ?j rdf:type ontology:print } UNION { ?j property:depicts ?s . ?j rdf:type ontology:work_of_art . ?s rdf:type ontology:administrative_territorial_entity } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) ?i WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:print ) ( ontology:work_of_art ) } } GROUP BY ?i } . FILTER ( ?m = ?l ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q90 Q15970866
P19
Q502895
USER
Was Henry Nocq born at that administrative territory ?
(Q15970866,P19,Q90)
action is_in
entity Q90
action find
entity Q15970866
relation P19
['Q15970866', 'P19', 'Q90']
ASK WHERE { resource:Q15970866 property:P19 resource:Q90 }
Paris Henry Nocq
action is_in
entity Paris
action find
entity Henry Nocq
relation place of birth
['Henry Nocq', 'place of birth', 'Paris']
ASK WHERE { resource:Henry_Nocq property:place_of_birth resource:Paris }
[]
common name
SYSTEM
YES
(Q15970866,P19,Q90)
action is_in
entity Q90
action find
entity Q15970866
relation P19
[ANSWER]
['Q15970866', 'P19', 'Q90']
ASK WHERE { resource:Q15970866 property:P19 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Henry Nocq
relation place of birth
['Henry Nocq', 'place of birth', 'Paris']
ASK WHERE { resource:Henry_Nocq property:place_of_birth resource:Paris }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P706
Q811979
USER
Which architectural structure has its location as that administrative territory ?
action filter_type
action find_reverse
entity Q90
relation P706
type Q811979
SELECT DISTINCT ?q WHERE { ?q property:P706 resource:Q90 . ?q rdf:type ontology:Q811979 }
Paris
action filter_type
action find_reverse
entity Paris
relation located on terrain feature
type architectural structure
SELECT DISTINCT ?q WHERE { ?q property:located_on_terrain_feature resource:Paris . ?q rdf:type ontology:architectural_structure }
[]
architectural structure
Q3471001
SYSTEM
Pavillon de l'eau
Q3471001
action filter_type
action find_reverse
entity Q90
relation P706
type Q811979
[ANSWER] has its location as that administrative territory
SELECT DISTINCT ?q WHERE { ?q property:P706 resource:Q90 . ?q rdf:type ontology:Q811979 }
Pavillon de l'eau
Pavillon de l'eau has its location as that administrative territory
Pavillon de l'eau
action filter_type
action find_reverse
entity Paris
relation located on terrain feature
type architectural structure
SELECT DISTINCT ?q WHERE { ?q property:located_on_terrain_feature resource:Paris . ?q rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P138
Q17444909
USER
Which astronomical object type comes from that administrative territory ?
(c(Q17444909),P138,Q3471001)
action filter_type
action find_reverse
entity Q90
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q3471001']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q90 . ?d rdf:type ontology:Q17444909 }
Paris
action filter_type
action find_reverse
entity Paris
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', "Pavillon de l'eau"]
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Paris . ?d rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q107556
SYSTEM
21 Lutetia
Q107556
(c(Q17444909),P138,Q3471001)
action filter_type
action find_reverse
entity Q90
relation P138
type Q17444909
[ANSWER] comes from that administrative territory
[{'concept': 'Q17444909'}, 'P138', 'Q3471001']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q90 . ?d rdf:type ontology:Q17444909 }
21 Lutetia
21 Lutetia comes from that administrative territory
21 Lutetia
action filter_type
action find_reverse
entity Paris
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', "Pavillon de l'eau"]
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Paris . ?d rdf:type ontology:astronomical_object_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P376
Q271669
USER
How many landforms have that astronomical object type as their location ?
(c(Q271669),P376,Q107556)
action count
action filter_type
action find_reverse
entity Q107556
relation P376
type Q271669
[{'concept': 'Q271669'}, 'P376', 'Q107556']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P376 resource:Q107556 . ?m rdf:type ontology:Q271669 }
action count
action filter_type
action find_reverse
entity 21 Lutetia
relation located on astronomical body
type landform
[{'concept': 'landform'}, 'located on astronomical body', '21 Lutetia']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:located_on_astronomical_body resource:21_Lutetia . ?m rdf:type ontology:landform }
[]
landform
SYSTEM
17
Q21849732 Q21849733 Q21849731 Q21849736 Q21849737 Q21849734 Q21849735 Q21849738 Q21849739 Q21849743 Q21849742 Q21849741 Q21849740 Q21849747 Q21849746 Q21849744 Q21849748
(c(Q271669),P376,Q107556)
action count
action filter_type
action find_reverse
entity Q107556
relation P376
type Q271669
[ANSWER]
[{'concept': 'Q271669'}, 'P376', 'Q107556']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:P376 resource:Q107556 . ?m rdf:type ontology:Q271669 }
Sequana Fossa Danuvius Labes Hiberus Fossa Achaia Regio Baetica Regio Gallicum Labes Sarnus Labes Etruria Regio Goldschmidt Regio Raetia Regio Pannonia Regio Noricum Regio Narbonensis Regio Glana Rupes Tiberis Rimae Rhodanus Rimae Rhenus Rupes
17
action count
action filter_type
action find_reverse
entity 21 Lutetia
relation located on astronomical body
type landform
[{'concept': 'landform'}, 'located on astronomical body', '21 Lutetia']
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { ?m property:located_on_astronomical_body resource:21_Lutetia . ?m rdf:type ontology:landform }
[]