Simple Question (Direct)
Simple Question
Q4134258
P1435
Q852446
USER
Which US administrative territory is the heritage status of Goucher College ?
(Q4134258,P1435,c(Q852446))
action filter_type
action find
entity Q4134258
relation P1435
type Q852446
['Q4134258', 'P1435', {'concept': 'Q852446'}]
SELECT DISTINCT ?i WHERE { resource:Q4134258 property:P1435 ?i . ?i rdf:type ontology:Q852446 }
Goucher College
action filter_type
action find
entity Goucher College
relation heritage status
type administrative territorial entity of the United States
['Goucher College', 'heritage status', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?i WHERE { resource:Goucher_College property:heritage_status ?i . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q20856087
SYSTEM
National Register Historic District
Q20856087
(Q4134258,P1435,c(Q852446))
action filter_type
action find
entity Q4134258
relation P1435
type Q852446
The [ANSWER] is the heritage status of Goucher College
['Q4134258', 'P1435', {'concept': 'Q852446'}]
SELECT DISTINCT ?i WHERE { resource:Q4134258 property:P1435 ?i . ?i rdf:type ontology:Q852446 }
National Register Historic District
The National Register Historic District is the heritage status of Goucher College
National Register Historic District
action filter_type
action find
entity Goucher College
relation heritage status
type administrative territorial entity of the United States
['Goucher College', 'heritage status', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?i WHERE { resource:Goucher_College property:heritage_status ?i . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1207
P840
Q852446 Q838948 Q15416
USER
How many US administrative territories are around the same number of works of art or television programs set in as North Dakota ?
(c(Q838948)|c(Q15416),P840,c(Q852446))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1207
relation P840
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P840 resource:Q1207 . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15416 } } } } . FILTER ( ?n = ?y ) }
North Dakota
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity North Dakota
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:narrative_location resource:North_Dakota . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:television_program } } } } . FILTER ( ?n = ?y ) }
[]
administrative territorial entity of the United States work of art television program
SYSTEM
45
Q1397 Q43421 Q829 Q1603 Q1391 Q7886863 Q5000330 Q724 Q1581 Q1537 Q1370 Q1612 Q1454 Q3474463 Q1415 Q782 Q1527 Q1546 Q1204 Q1522 Q824 Q1227 Q1223 Q1166 Q816 Q771 Q1207 Q1509 Q1371 Q1261 Q779 Q1428 Q38555 Q759 Q1558 Q14710458 Q1588 Q173 Q523606 Q797 Q4705487 Q1212 Q1553 Q1211 Q16551
(c(Q838948)|c(Q15416),P840,c(Q852446))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1207
relation P840
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P840 resource:Q1207 . { { ?e rdf:type ontology:Q838948 } UNION { ?e rdf:type ontology:Q15416 } } } } . FILTER ( ?n = ?y ) }
Ohio Richmond Utah Kentucky Maryland Unionville Burr Oak, Iowa Maine Missouri Wisconsin Virginia Arkansas North Carolina South Troy Indiana Hawaii Minnesota Iowa Illinois New Mexico Oregon Nevada Washington Michigan Arizona Massachusetts North Dakota Tennessee West Virginia Colorado Connecticut Georgia Santa Fe New Hampshire Kansas Esperanza Louisiana Alabama Langley Alaska Aladdin, Wyoming Montana Nebraska South Dakota Vermont
45
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity North Dakota
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?n ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:narrative_location resource:North_Dakota . { { ?e rdf:type ontology:work_of_art } UNION { ?e rdf:type ontology:television_program } } } } . FILTER ( ?n = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1212
P840
Q852446 Q838948 Q15416
USER
And how about Montana?
(c(Q838948)|c(Q15416),P840,c(Q852446))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1212
relation P840
type Q838948
type Q15416
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?z rdf:type ?k } . ?z property:P840 resource:Q1212 } } . FILTER ( ?y = ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?a WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?a } }
Montana
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Montana
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { VALUES ( ?k ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?z rdf:type ?k } . ?z property:narrative_location resource:Montana } } . FILTER ( ?y = ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?a WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?a } }
[]
administrative territorial entity of the United States work of art television program
SYSTEM
45
Q1397 Q43421 Q829 Q1603 Q1391 Q7886863 Q5000330 Q724 Q1581 Q1537 Q1370 Q1612 Q1454 Q3474463 Q1415 Q782 Q1527 Q1546 Q1204 Q1522 Q824 Q1227 Q1223 Q1166 Q816 Q771 Q1207 Q1509 Q1371 Q1261 Q779 Q1428 Q38555 Q759 Q1558 Q14710458 Q1588 Q173 Q523606 Q797 Q4705487 Q1212 Q1553 Q1211 Q16551
(c(Q838948)|c(Q15416),P840,c(Q852446))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q852446
type Q838948
action find_reverse_tuple_counts
relation P840
type Q852446
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1212
relation P840
type Q838948
type Q15416
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { VALUES ( ?k ) { ( ontology:Q15416 ) ( ontology:Q838948 ) } . ?z rdf:type ?k } . ?z property:P840 resource:Q1212 } } . FILTER ( ?y = ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?a WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } } GROUP BY ?a } }
Ohio Richmond Utah Kentucky Maryland Unionville Burr Oak, Iowa Maine Missouri Wisconsin Virginia Arkansas North Carolina South Troy Indiana Hawaii Minnesota Iowa Illinois New Mexico Oregon Nevada Washington Michigan Arizona Massachusetts North Dakota Tennessee West Virginia Colorado Connecticut Georgia Santa Fe New Hampshire Kansas Esperanza Louisiana Alabama Langley Alaska Aladdin, Wyoming Montana Nebraska South Dakota Vermont
45
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type work of art
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type television program
action count
action filter_multi_types
action find_reverse
entity Montana
relation narrative location
type work of art
type television program
[[{'concept': 'work of art'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { VALUES ( ?k ) { ( ontology:television_program ) ( ontology:work_of_art ) } . ?z rdf:type ?k } . ?z property:narrative_location resource:Montana } } . FILTER ( ?y = ?t ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?y ) ?a WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:television_program ) } } GROUP BY ?a } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4134258
P108
Q502895
USER
What is the name of person who works for Goucher College ?
(c(Q502895),P108,Q4134258)
action filter_type
action find_reverse
entity Q4134258
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q4134258']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q4134258 . ?o rdf:type ontology:Q502895 }
Goucher College
action filter_type
action find_reverse
entity Goucher College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Goucher College']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Goucher_College . ?o rdf:type ontology:common_name }
[]
common name
Q7236
SYSTEM
Lucy Weston Pickett
Q7236
(c(Q502895),P108,Q4134258)
action filter_type
action find_reverse
entity Q4134258
relation P108
type Q502895
The name of person works for Goucher College is Lady [ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q4134258']
SELECT DISTINCT ?o WHERE { ?o property:P108 resource:Q4134258 . ?o rdf:type ontology:Q502895 }
Lucy Weston Pickett
The name of person works for Goucher College is Lady Lucy Weston Pickett
Lucy Weston Pickett
action filter_type
action find_reverse
entity Goucher College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Goucher College']
SELECT DISTINCT ?o WHERE { ?o property:employer resource:Goucher_College . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4134258
P17
Q15617994
USER
Which administrative territory is Goucher College located in ?
(Q4134258,P17,c(Q15617994))
action filter_type
action find
entity Q4134258
relation P17
type Q15617994
['Q4134258', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q4134258 property:P17 ?w }
Goucher College
action filter_type
action find
entity Goucher College
relation country
type designation for an administrative territorial entity
['Goucher College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Goucher_College property:country ?w }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4134258,P17,c(Q15617994))
action filter_type
action find
entity Q4134258
relation P17
type Q15617994
Goucher College is located in [ANSWER]
['Q4134258', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q4134258 property:P17 ?w }
United States of America
Goucher College is located in United States of America
United States of America
action filter_type
action find
entity Goucher College
relation country
type designation for an administrative territorial entity
['Goucher College', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Goucher_College property:country ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q755168
Q15617994
USER
And how about South Athens Regional Unit?
(Q755168,P17,c(Q15617994))
action filter_type
action find
entity Q755168
relation P17
type Q15617994
['Q755168', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q755168 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
South Athens Regional Unit
action filter_type
action find
entity South Athens Regional Unit
relation country
type designation for an administrative territorial entity
['South Athens Regional Unit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:South_Athens_Regional_Unit property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q755168,P17,c(Q15617994))
action filter_type
action find
entity Q755168
relation P17
type Q15617994
[ANSWER]
['Q755168', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q755168 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Greece
Greece
action filter_type
action find
entity South Athens Regional Unit
relation country
type designation for an administrative territorial entity
['South Athens Regional Unit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:South_Athens_Regional_Unit property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q486972 Q15617994
USER
How many administrative territories are atmost 1 cities or human settlements the capital of ?
(c(Q15617994),P36,c(Q515)|c(Q486972))
action count
action atmost
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 1
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?s ) WHERE { { ?h property:P36 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q515 } UNION { ?h property:P36 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q486972 } } GROUP BY ?h } . FILTER ( ?s <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?s ) WHERE { { ?h property:capital ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:city } UNION { ?h property:capital ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:human_settlement } } GROUP BY ?h } . FILTER ( ?s <= 1 ) }
[]
city human settlement designation for an administrative territorial entity
SYSTEM
604
Q805 Q804 Q1815665 Q801 Q800 Q1098820 Q12631 Q419 Q2991354 Q414 Q3368 Q1111401 Q55 Q504637 Q783 Q784 Q786 Q568833 Q1452650 Q2980110 Q2998020 Q4308116 Q17301635 Q3044731 Q399 Q398 Q258 Q2466631 Q1465069 Q1324549 Q1979 Q159 Q155 Q1664120 Q12526 Q12689 Q1974 Q2527360 Q699731 Q3377 Q3372 Q611074 Q2007299 Q1742192 Q3093 Q4464924 Q1616549 Q1254171 Q2344966 Q979470 Q3259 Q684030 Q1270648 Q3563282 Q12594 Q1899307 Q30675 Q739 Q983 Q730 Q733 Q734 Q736 Q16628524 Q12798 Q1280 Q1282 Q12792 Q1284 Q1443 Q384731 Q1816477 Q1273 Q1279 Q1025 Q1049 Q1027 Q1020 Q189 Q843 Q2007 Q184 Q1029 Q1028 Q1850485 Q541811 Q1390630 Q1458 Q1452 Q14551680 Q12700 Q12703 Q815731 Q31074 Q31075 Q96 Q12709 Q1050 Q12175285 Q2629701 Q311803 Q12717 Q298 Q29937 Q115 Q114 Q117 Q30786 Q12569 Q1270638 Q1788988 Q12574 Q239502 Q1544445 Q466061 Q1515346 Q12642 Q21296012 Q683 Q1483510 Q3924533 Q12559 Q1270636 Q281435 Q3216 Q3194 Q34020 Q541589 Q891165 Q12804 Q12808 Q1961264 Q3326 Q696651 Q3286 Q3528124 Q2719360 Q948 Q12589 Q1243 Q945 Q3266 Q3105 Q3564819 Q3500767 Q731547 Q33788 Q855327 Q328134 Q1268811 Q1237 Q701 Q702 Q968630 Q705 Q707 Q709 Q4450475 Q2565377 Q668 Q1093 Q12740 Q12745 Q1090684 Q12779 Q1263830 Q833 Q2093388 Q4055266 Q836 Q837 Q2305610 Q565812 Q1460 Q2068764 Q1462 Q403 Q691890 Q12607 Q290739 Q45 Q43 Q41 Q792 Q790 Q598193 Q796 Q794 Q174280 Q1232680 Q889 Q12576 Q884 Q1452646 Q881 Q231168 Q2281221 Q241 Q1965 Q1508919 Q242 Q1437719 Q1244497 Q12694 Q29965 Q12515 Q12517 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q3361 Q39 Q38 Q3364 Q302479 Q541095 Q3148 Q5613245 Q2567535 Q280312 Q3068 Q3389 Q30644 Q236 Q1886098 Q230 Q232 Q233 Q1777256 Q238 Q12549 Q12675 Q129003 Q1763301 Q12584 Q12580 Q1101 Q1206596 Q511806 Q3131 Q12788 Q27495866 Q12784 Q3139 Q12782 Q3118738 Q686312 Q902 Q1036 Q1037 Q1032 Q1033 Q1030 Q1024985 Q1039 Q697 Q694 Q695 Q754 Q752 Q750 Q12730 Q2562901 Q31068 Q12736 Q220249 Q31067 Q31065 Q2039306 Q654849 Q662056 Q1773268 Q12657 Q30835 Q12652 Q30831 Q12556 Q574 Q1558632 Q694594 Q894970 Q191 Q874 Q79 Q77 Q199688 Q878 Q46130 Q2001115 Q3044651 Q3044714 Q3044715 Q2091235 Q23055454 Q12247340 Q2360973 Q12816 Q30682 Q30683 Q1951 Q2236821 Q2006764 Q1952 Q4854468 Q2528268 Q3353 Q3357 Q492437 Q669802 Q753795 Q1256 Q1250 Q452565 Q389004 Q3305157 Q492430 Q1480778 Q2567507 Q3278 Q3044623 Q651394 Q3646838 Q2391254 Q3184 Q3044781 Q9073753 Q2371735 Q712 Q711 Q710 Q717 Q3044777 Q2900529 Q12770 Q2465553 Q12772 Q657 Q1789890 Q1090678 Q12538 Q954 Q1393469 Q953 Q2001966 Q795587 Q958 Q986 Q219 Q957825 Q2629652 Q826 Q822 Q689837 Q1142326 Q19786899 Q153136 Q2621010 Q1999970 Q155019 Q2348751 Q1974486 Q153091 Q107426 Q693658 Q769680 Q1508927 Q1948 Q511365 Q1270568 Q30805 Q311794 Q12661 Q20 Q27 Q28 Q1366860 Q148 Q34762 Q793437 Q227 Q225 Q30650 Q223 Q30656 Q221 Q47261 Q1270623 Q311668 Q229 Q347 Q1410315 Q1989 Q60011 Q580447 Q10957559 Q965 Q967 Q962 Q963 Q2921370 Q2344833 Q3125 Q3120 Q2921378 Q1991827 Q2429432 Q2310748 Q252157 Q1210 Q1216 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1786286 Q1009 Q1008 Q3509886 Q2380910 Q1438 Q3110307 Q686 Q30832 Q760 Q12722 Q2039314 Q12553 Q817 Q810 Q811 Q813 Q18046648 Q819 Q2038939 Q12620 Q12626 Q29 Q12543 Q617646 Q72670 Q12545 Q12563 Q2309262 Q863 Q2023 Q869 Q426025 Q2093352 Q30946 Q568751 Q334714 Q15116736 Q2150573 Q142 Q685048 Q29943 Q145 Q12536 Q262 Q474421 Q2009 Q12820 Q265 Q3342 Q842 Q2344570 Q3349 Q378004 Q1150452 Q691368 Q1263 Q475035 Q2995277 Q3083 Q2003 Q3240 Q2662372 Q3249 Q3164 Q2565339 Q686924 Q1429976 Q517333 Q24089916 Q30669 Q1985120 Q30662 Q2629323 Q4628 Q455705 Q2564823 Q2043690 Q12761 Q12765 Q770 Q1856181 Q1077283 Q921 Q4712 Q924 Q928 Q929 Q858 Q423 Q424 Q851 Q29999 Q854 Q2226837 Q165763 Q1338277 Q224 Q1447 Q2360428 Q222 Q2565327 Q2588405 Q1045 Q1044 Q1042 Q1041 Q691265 Q313175 Q31070 Q3336 Q3334 Q12572 Q1984191 Q2996404 Q30797 Q1904 Q12578 Q228 Q3462133 Q12679 Q30815 Q17 Q1429761 Q3846423 Q153402 Q3207 Q894973 Q894972 Q894971 Q176 Q2617427 Q1053888 Q3044677 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q160307 Q161258 Q244 Q4496152 Q3514973 Q1090691 Q977 Q2218506 Q692290 Q974 Q971 Q970 Q3113 Q4464271 Q2502354 Q30630 Q12789 Q1234961 Q1222 Q775 Q774 Q776 Q1019 Q773 Q772 Q1014 Q1016 Q1011 Q1013 Q5192588 Q678 Q2565367 Q8575586 Q672 Q12758 Q1579364 Q31079 Q12753 Q12751 Q2629692 Q549746 Q695660 Q12564
(c(Q15617994),P36,c(Q515)|c(Q486972))
action count
action atmost
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q486972
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?s ) WHERE { { ?h property:P36 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q515 } UNION { ?h property:P36 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q486972 } } GROUP BY ?h } . FILTER ( ?s <= 1 ) }
Yemen Panama Znaur Israel Costa Rica Gênes Meuse Peru Aquiles Serdán Municipality Argentina Essonne Kispest District Netherlands Alta Verapaz Department Honduras Dominica Dominican Republic Meuse-Inférieure Ombrone Yovon District Corse Murmansk Okrug Orihuela Governorate Guyane Armenia Bahrain South Africa Chiautla de Tapia Municipality Frise Uthukela District Municipality Prince Edward Island Russia Brazil Alfred Nzo District Municipality Gironde Pas-de-Calais British Columbia Stura Wied Eure-et-Loir Eure Mopani District Municipality OR Tambo District Municipality King's Lynn and West Norfolk Aisne Tugulymsky District Ivittuut Municipality Dr Ruth Segomotsi Mompati District Municipality Netrokona District Seine-et-Oise Cantal Principality of Serbia Sieg Rumi District Marne Overberg District Municipality Minya Governorate Colombia Equatorial Guinea Suriname Paraguay Guyana Ecuador San Salvador el Verde municipality Vendée Umbria Lazio Vaucluse Abruzzo Molise John Taolo Gaetsewe District Municipality Lejweleputswa District Municipality Tuscany Marche Mauritania Sudan Mauritius Malawi Iceland Pakistan Northwest Territories Belarus Mozambique Morocco Dhaka District Ems-Oriental Ourthe Calabria Basilicata Principality of Lippe Hautes-Pyrénées Pyrénées-Atlantiques Principality of Bulgaria Al Sharqia Governorate Qalyubia Governorate Mexico Pyrénées-Orientales Swaziland Aravalli district Yevpatoria municipality Umgungundlovu District Municipality Bas-Rhin Chile Aswan Governorate Ethiopia Kenya Ghana Monufia Governorate Loire Rhine Trasimène Loiret Kingdom of Galicia–Volhynia Sekhukhune District Municipality Petén Department Gert Sibande District Municipality Morbihan Amatitlán Samoa Principality of Wales Province of Brescia Isère Ruhr Maulvi Bazar District Aveyron Aube Niue Ems-Supérieur Bojanala Platinum District Municipality Vienne Haute-Vienne Tecámac Municipality Corrèze Saxe-Eisenach Cher Tibre Duchy of Luxembourg Tunisia Manche Veneto Togo Charente Vosges Hamadoni District Norak District Lippe New Caledonia Kouilou Department 6th of October Governorate Dyle Trentino-South Tyrol North Holland Federated States of Micronesia Taro Zeeland Flevoland Marshall Islands Talitsky District Danghara District India Limburg Sarthe Savoie Montserrat Tarn-et-Garonne Frances Baard District Municipality Malaysia Sunamganj District Abyei District Myanmar Nepal Vhembe District Municipality Principality of Calenberg Sicily Archa Darugha Sardinia Serbia Corcyre Haute-Marne Sesia Portugal Turkey Greece El Salvador Haiti Apennins Iraq Iran San Juan de Jinotega Ithaque Afghanistan Lot South Korea Montenotte Vietnam Zuyderzée Principality of Orange Cuba New Brunswick Marengo Belize Thabo Mofutsanyana District Municipality Ehlanzeni District Municipality Puy-de-Dôme Asyut Governorate Gard Gers Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Doubs Switzerland Italy Drôme Ems-Occidental Rhin-et-Moselle Ardèche Guadalupe Municipality Pô Principality of Lüneburg Loire-Atlantique Finistère Damietta Governorate Montenegro Pixley ka Seme District Municipality Georgia Kazakhstan Malta Dzerzhinsky District, Kaluga Oblast San Marino Ille-et-Vilaine Oise French Southern and Antarctic Lands Barisal District Maine-et-Loire Lozère North Brabant Deux-Nèthes North Slope Borough Alpes-de-Haute-Provence Val-de-Marne Corse Val-d'Oise Alpes-Maritimes Territoire de Belfort Guanentá Province Duchy of Amalfi Bangladesh Uganda Rwanda Niger Nigeria Namibia Cacadu District Municipality Sao Tomé and Príncipe Nauru South Holland Palau Trinidad and Tobago Groningen Bolivia Haute-Saône West Coast District Municipality Dakahlia Governorate Saône-et-Loire Eden District Municipality Ismailia Governorate Qena Governorate Jamalpur District Joe Gqabi District Municipality Cushamen Department ZF Mgcawu District Municipality Nièvre Gharbia Governorate Moselle Red Sea Governorate Indre-et-Loire East Timor Rome Bremen-Verden Bouches-de-la-Meuse Estonia Turkmenistan Egypt Uruguay Almohad United Arab Emirates Rhône Tepic, Nayarit (municipality) Louverture Ouest Ozama Ugu District Municipality Alpes-Maritimes Afrin Nahiya Duchy of Carniola Yonne Matrouh Governorate Beni Suef Governorate Alberta Rhône-et-Loire Xhariep District Municipality Nova Scotia Bandava Mont-Blanc Creuse Dordogne Bouches-du-Weser Quiché Department Briceni District Liguria Friuli–Venezia Giulia Amajuba District Municipality Wallachia Mella Bouches-de-l'Elbe Comilla District Arno Charente-Maritime Cibao Ramensky District Los Guayos Municipality Farkhor District Ariège Sud San Vicente Tancuayalab municipality Saky municipality Fiji Mongolia Kiribati Venezuela Nord Bezirk Lothringen Somme Shapsugsky National District Tarn Chad West Rand District Municipality Sègre Haute-Garonne Zimbabwe Jemmapes Zambia Company rule in India Escuintla South Sudan Eritrea Bulgaria Yssel-Supérieur Yalta municipality Maldives Lebanon Spanish Sahara Seine Magyaróvár District Habsburg Empire Principality of Vitebsk Upper Alsace Duchy of Lorraine Kurigram District Cape Winelands District Municipality Duchy of Prussia Anjou Izabal Department Bornholm Méditerranée Manitoba Arvika Municipality Ems Cairo Governorate iLembe District Municipality Nord Norway Ireland Hungary Escaut People's Republic of China Principality of Bayreuth Bergantiños Azerbaijan Bosnia and Herzegovina New Valley Governorate Greenland Faiyum Governorate Republic of Macedonia Duchy of Bavaria Meurthe UThungulu District Municipality Cyprus Liechtenstein Fezile Dabi District Municipality Saskatchewan Kars Oblast Duchy of Styria Moldavia Burkina Faso Burundi Benin Botswana Bouches-de-l'Èbre-Montserrat Kishoreganj District Hautes-Alpes Jura Bouches-de-l'Èbre Karelian National Okrug Sirajganj District Liamone Sarre Lombardy Piedmont Mali Bhutan Angola Guinea-Bissau Guinea Gambia Kuban Oblast Cameroon Côte d'Ivoire Sègre-Ter Duchy of Zaslawye Campania Golo Vanuatu Giza Governorate Saint Lucia Haut-Rhin Sherpur District Indre Kuwait Jordan Nicaragua Kyrgyzstan department Stad en Landen of Groningen Laos Sedibeng District Municipality Mayenne Meurthe-et-Moselle Spain Hauts-de-Seine Namakwa District Municipality Batumi Oblast Hérault Landes Zululand District Municipality Tajikistan Nunavut Thailand Duchy of Savoy Sylhet District Kafr el-Sheikh Governorate Mont-Tonnerre Duchy of Athens Jaén District Unterelsaß France Simplon Alexandria Governorate United Kingdom Abbasid caliphate Algeria Principality of Fürstenberg Yukon Yvelines Uzbekistan Côte-d'Or Oman Rangpur District Côtes-d'Armor Forêts Dr Kenneth Kaunda District Municipality Léman Emilia-Romagna Helwan Governorate Dzau district Ain Newfoundland and Labrador Bouches-du-Rhône Principality of Minsk Calvados Ardennes Vose' District Mer-Égée Mymensingh District Principality of Polotsk Pars Sohag Governorate Dinajpur District North Sinai Governorate Armyansk municipality Faroe Islands Amathole District Municipality Panj District Gali Municipality Seine-Saint-Denis Deux-Sèvres Friesland Nkangala District Municipality Chris Hani District Municipality Brunei Duchy of Burgundy Tanzania Philippines Central African Republic Syria North Korea Cambodia Saudi Arabia Kingdom of the Netherlands Sri Lanka Umzinyathi District Municipality Waldeck Sambre-et-Meuse Croatia Apulia Tijuana Municipality Albania Muminobod District Shahrtuz District Somalia Sierra Leone Seychelles Senegal Mont-Terrible Saxe-Lauenburg Suez Governorate Corse-du-Sud Haute-Corse Haute-Loire Ngaka Modiri Molema District Municipality Alushta municipality Luxor Governorate Ontario Lot-et-Garonne Andorra Saxe-Coburg and Gotha Orne South Sinai Governorate Japan Patuakhali District Viesca Municipality Roer Aude Bouches-du-Rhin Bouches-de-l'Yssel Bouches-de-l'Escaut Quebec Ayn Central Karoo District Municipality Samaná Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Fatimid caliphate Clipperton Island Barbados Khartsyzk Municipality Tanaro Ter Djibouti Kineshemsky District Capricorn District Municipality Democratic Republic of the Congo Republic of the Congo Comoros Allier Principality of Trubetsk Principality of Goroden Beheira Governorate Var Doire Aosta Valley Gelderland Guatemala Utrecht Madagascar Overijssel Drenthe Liberia Libya Cape Verde Lesotho Cuenca District, Huancavelica Tonga Vakhsh District Umayyad Caliphate Tuvalu Seine-Maritime Lys Port Said Governorate Seine-et-Marne Haute-Savoie Simferopol municipality Sisonke District Municipality Guatemala Department Loir-et-Cher
604
action count
action atmost
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type human settlement
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?s ) WHERE { { ?h property:capital ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:city } UNION { ?h property:capital ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:human_settlement } } GROUP BY ?h } . FILTER ( ?s <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people are the heads of the government of United States of America ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q30 property:P6 ?w . ?w rdf:type ontology:Q502895 }
United States of America
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:United_States_of_America property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:Q30 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William McKinley Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
44
action count
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { resource:United_States_of_America property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of that administrative territory ?
action filter_type
action find
entity Q30
relation P1313
type Q895526
SELECT DISTINCT ?p WHERE { resource:Q30 property:P1313 ?p . ?p rdf:type ontology:Q895526 }
United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?p . ?p rdf:type ontology:authority_organ }
[]
authority organ
Q11696
SYSTEM
President of the United States of America
Q11696
action filter_type
action find
entity Q30
relation P1313
type Q895526
[ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
SELECT DISTINCT ?p WHERE { resource:Q30 property:P1313 ?p . ?p rdf:type ontology:Q895526 }
President of the United States of America
President of the United States of America serves as the political office that is fulfilled by the head of the government of that administrative territory
President of the United States of America
action filter_type
action find
entity United States of America
relation office held by head of government
type authority organ
SELECT DISTINCT ?p WHERE { resource:United_States_of_America property:office_held_by_head_of_government ?p . ?p rdf:type ontology:authority_organ }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11696 Q30 Q5302477
P17
Q15617994
USER
Is President of the United States of America present in United States of America and Dover City Schools ?
(Q11696,P17,Q30) (Q11696,P17,Q5302477)
action is_in
entity Q11696
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q5302477
relation P17
['Q11696', 'P17', 'Q30'] ['Q11696', 'P17', 'Q5302477']
ASK WHERE { resource:Q11696 property:P17 resource:Q30 . resource:Q11696 property:P17 resource:Q5302477 }
President of the United States of America United States of America Dover City Schools
action is_in
entity President of the United States of America
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Dover City Schools
relation country
['President of the United States of America', 'country', 'United States of America'] ['President of the United States of America', 'country', 'Dover City Schools']
ASK WHERE { resource:President_of_the_United_States_of_America property:country resource:United_States_of_America . resource:President_of_the_United_States_of_America property:country resource:Dover_City_Schools }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q11696,P17,Q30) (Q11696,P17,Q5302477)
action is_in
entity Q11696
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q5302477
relation P17
[ANSWER]
['Q11696', 'P17', 'Q30'] ['Q11696', 'P17', 'Q5302477']
ASK WHERE { resource:Q11696 property:P17 resource:Q30 . resource:Q11696 property:P17 resource:Q5302477 }
YES and NO respectively
action is_in
entity President of the United States of America
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Dover City Schools
relation country
['President of the United States of America', 'country', 'United States of America'] ['President of the United States of America', 'country', 'Dover City Schools']
ASK WHERE { resource:President_of_the_United_States_of_America property:country resource:United_States_of_America . resource:President_of_the_United_States_of_America property:country resource:Dover_City_Schools }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q55913 Q30
P47
Q15617994
USER
Which administrative territories are bordered by United States of America or Ginestra degli Schiavoni ?
OR((Q30,P47,c(Q15617994)), (Q55913,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q55913
relation P47
type Q15617994
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q55913', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?w ) { ( resource:Q30 ) ( resource:Q55913 ) } . ?w property:P47 ?i } . ?i rdf:type ontology:Q15617994 }
Ginestra degli Schiavoni United States of America
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity Ginestra degli Schiavoni
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ginestra degli Schiavoni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?w ) { ( resource:United_States_of_America ) ( resource:Ginestra_degli_Schiavoni ) } . ?w property:shares_border_with ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55056 Q241 Q55923 Q96 Q710 Q804 Q55017 Q702 Q159 Q55887
SYSTEM
Some of them are Montecalvo Irpino, Cuba, Montefalcone di Val Fortore, Mexico, Kiribati, Panama, Casalbore, Federated States of Micronesia, Russia, Castelfranco in Miscano
Q790 Q702 Q804 Q159 Q96 Q55887 Q683 Q786 Q241 Q17 Q710 Q678 Q55056 Q55923 Q717 Q55956 Q55017
OR((Q30,P47,c(Q15617994)), (Q55913,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q55913
relation P47
type Q15617994
[ANSWERS] are bordered by United States of America or Ginestra degli Schiavoni
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q55913', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?w ) { ( resource:Q30 ) ( resource:Q55913 ) } . ?w property:P47 ?i } . ?i rdf:type ontology:Q15617994 }
Haiti Federated States of Micronesia Panama Russia Mexico Castelfranco in Miscano Samoa Dominican Republic Cuba Japan Kiribati Tonga Montecalvo Irpino Montefalcone di Val Fortore Venezuela San Giorgio La Molara Casalbore
Montecalvo Irpino, Cuba, Montefalcone di Val Fortore, Mexico, Kiribati, Panama, Casalbore, Federated States of Micronesia, Russia and Castelfranco in Miscano are bordered by United States of America or Ginestra degli Schiavoni
Montecalvo Irpino Cuba Montefalcone di Val Fortore Mexico Kiribati Panama Casalbore Federated States of Micronesia Russia Castelfranco in Miscano
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity Ginestra degli Schiavoni
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ginestra degli Schiavoni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?w ) { ( resource:United_States_of_America ) ( resource:Ginestra_degli_Schiavoni ) } . ?w property:shares_border_with ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]