Simple Question (Direct)
Simple Question
Q524546
P413
Q11417
USER
Which martial arts is associated with Chantal Jouanno ?
(Q524546,P413,c(Q11417))
action filter_type
action find
entity Q524546
relation P413
type Q11417
['Q524546', 'P413', {'concept': 'Q11417'}]
SELECT DISTINCT ?v WHERE { resource:Q524546 property:P413 ?v . ?v rdf:type ontology:Q11417 }
Chantal Jouanno
action filter_type
action find
entity Chantal Jouanno
relation position played on team / speciality
type martial arts
['Chantal Jouanno', 'position played on team / speciality', {'concept': 'martial arts'}]
SELECT DISTINCT ?v WHERE { resource:Chantal_Jouanno property:position_played_on_team_/_speciality ?v . ?v rdf:type ontology:martial_arts }
[]
martial arts
Q40795
SYSTEM
kata
Q40795
(Q524546,P413,c(Q11417))
action filter_type
action find
entity Q524546
relation P413
type Q11417
[ANSWER] is associated with Chantal Jouanno
['Q524546', 'P413', {'concept': 'Q11417'}]
SELECT DISTINCT ?v WHERE { resource:Q524546 property:P413 ?v . ?v rdf:type ontology:Q11417 }
kata
Kata is associated with Chantal Jouanno
kata
action filter_type
action find
entity Chantal Jouanno
relation position played on team / speciality
type martial arts
['Chantal Jouanno', 'position played on team / speciality', {'concept': 'martial arts'}]
SELECT DISTINCT ?v WHERE { resource:Chantal_Jouanno property:position_played_on_team_/_speciality ?v . ?v rdf:type ontology:martial_arts }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q524546
P39
Q12737077
USER
What were the positions for which Chantal Jouanno were appointed ?
(Q524546,P39,c(Q12737077))
action filter_type
action find
entity Q524546
relation P39
type Q12737077
['Q524546', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q524546 property:P39 ?a }
Chantal Jouanno
action filter_type
action find
entity Chantal Jouanno
relation position held
type occupation
['Chantal Jouanno', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Chantal_Jouanno property:position_held ?a }
[]
occupation
Q16886136 Q14828018 Q83307
SYSTEM
conseiller régional, member of the Senate of France, minister
Q16886136 Q14828018 Q83307
(Q524546,P39,c(Q12737077))
action filter_type
action find
entity Q524546
relation P39
type Q12737077
The [ANSWERS]
['Q524546', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q524546 property:P39 ?a }
conseiller régional member of the Senate of France minister
The conseiller régional, member of the Senate of France and minister
conseiller régional member of the Senate of France minister
action filter_type
action find
entity Chantal Jouanno
relation position held
type occupation
['Chantal Jouanno', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:Chantal_Jouanno property:position_held ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1842365
Q12737077
USER
And how about Wesley Chesbro?
(Q1842365,P39,c(Q12737077))
action filter_type
action find
entity Q1842365
relation P39
type Q12737077
['Q1842365', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q1842365 property:P39 ?q }
Wesley Chesbro
action filter_type
action find
entity Wesley Chesbro
relation position held
type occupation
['Wesley Chesbro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Wesley_Chesbro property:position_held ?q }
[]
occupation
Q19690441 Q18180908
SYSTEM
member of the State Senate of California, member of the California State Assembly
Q19690441 Q18180908
(Q1842365,P39,c(Q12737077))
action filter_type
action find
entity Q1842365
relation P39
type Q12737077
[ANSWERS]
['Q1842365', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q1842365 property:P39 ?q }
member of the State Senate of California member of the California State Assembly
member of the State Senate of California member of the California State Assembly
action filter_type
action find
entity Wesley Chesbro
relation position held
type occupation
['Wesley Chesbro', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Wesley_Chesbro property:position_held ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3305213 Q17638008
USER
How many occupations are expressed in atmost 2 paintings and game equipment ?
(c(Q3305213)|c(Q17638008),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 2
[[{'concept': 'Q3305213'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { FILTER ( ?z <= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q3305213 } UNION { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q17638008 } } GROUP BY ?k } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 2
[[{'concept': 'painting'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { FILTER ( ?z <= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:painting } UNION { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:game_equipment } } GROUP BY ?k } }
[]
occupation painting game equipment
SYSTEM
225
Q19754019 Q11957145 Q1934482 Q19937286 Q2486919 Q177220 Q1569439 Q131512 Q16735601 Q37226 Q1401609 Q27621374 Q152355 Q1218776 Q1124183 Q652122 Q654437 Q11631 Q38883 Q288728 Q765778 Q2995983 Q33999 Q36180 Q13472752 Q852857 Q381353 Q15618890 Q19595175 Q2079936 Q901402 Q29282 Q83307 Q1722406 Q278138 Q1221610 Q1250916 Q4610556 Q81710 Q1259917 Q161944 Q472898 Q45199 Q7358 Q19968805 Q329737 Q4504549 Q842782 Q47064 Q185196 Q486748 Q328325 Q11900058 Q483501 Q215536 Q212238 Q22085061 Q3430033 Q42973 Q14948018 Q186360 Q955464 Q19723482 Q12902372 Q170790 Q1139055 Q1028181 Q30185 Q587524 Q820037 Q852389 Q16624872 Q13219637 Q181765 Q327321 Q549322 Q327029 Q2309900 Q805221 Q5371902 Q17126809 Q848550 Q386854 Q202648 Q1753370 Q107711 Q12059906 Q2034021 Q11642 Q1595811 Q13474373 Q1413824 Q3499072 Q520549 Q4164507 Q5455155 Q1163330 Q855855 Q548320 Q843281 Q550594 Q3074722 Q19862215 Q19546 Q6116659 Q537575 Q20826540 Q715301 Q11338576 Q622630 Q3330547 Q3214532 Q14009165 Q15954519 Q2981922 Q10833314 Q1318187 Q29182 Q326358 Q5575361 Q1161133 Q250867 Q376924 Q486839 Q808266 Q1540158 Q638172 Q2248045 Q273108 Q1104153 Q10873124 Q13381689 Q15725121 Q185992 Q178521 Q133485 Q674067 Q901 Q3127709 Q1639825 Q589897 Q4594605 Q54128 Q242468 Q45722 Q2596569 Q1234713 Q848466 Q116 Q20489032 Q1509714 Q152002 Q2730732 Q1511216 Q16533 Q103163 Q2412523 Q211423 Q965417 Q845929 Q11063 Q774306 Q2276446 Q207651 Q5716684 Q170779 Q18575684 Q3128486 Q5420718 Q822146 Q15284879 Q758780 Q36834 Q694116 Q3090865 Q833860 Q1627992 Q2309784 Q253567 Q3439798 Q2191547 Q838811 Q1437754 Q5832280 Q1430627 Q154549 Q2251335 Q189290 Q331432 Q639669 Q49757 Q160131 Q4990607 Q384593 Q680928 Q6735310 Q15296811 Q765541 Q2011889 Q49476 Q1281618 Q2891167 Q685433 Q12299841 Q2095549 Q5061344 Q432386 Q191808 Q182436 Q2259532 Q811122 Q373017 Q2180295 Q1294787 Q1630100 Q2627286 Q437512 Q13414980 Q39631 Q849424 Q842606 Q2340797 Q156839 Q7622988 Q157195
(c(Q3305213)|c(Q17638008),P180,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
value 2
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { FILTER ( ?z <= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q3305213 } UNION { ?u property:P180 ?k . ?k rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q17638008 } } GROUP BY ?k } }
fiddler acrobat milkmaid worker standard-bearer singer sheep shearer farmer florist teacher vaquero bear hunter cobbler arriero lumberjack sewing executor astronaut cooper house painter organist double-bassist actor writer valet sex worker woman of letters ventriloquist amateur wrestler king of marksmen geographer Archbishop of Canterbury minister receptionist milkman coachman warrior model shepherd violinist deacon wet nurse sailor clown spinner butcher religious servant detective military personnel midwife pianist stonemason explorer artist merchant civil servant sower abbé architect street musician nurse parson mandolinist flautist mathematician tax collector painter mayor bell-ringer miner beekeeper washerwoman cellist Holy Roman Emperor bricklayer torero mechanic helmsman ballet dancer harpsichordist rescuer VOC Opperhoofd in Japan drummer referee curate firefighter herder dressmaker pottery Heimkehrer professional wrestler glassblower chef geologist art critic fishwife Maharaja page friar hobo fishmonger recorder player laborer pope priestess gravedigger erudite comics artist boxer odalisque chronicler plowman trapper alchemist American pioneer tennis player scrivener bishop joiner goatherd pedicure Catholic priest courtesan member of parliament bartender clogmaker peddler reaper condottiero canon chess player discus thrower bassoonist mufti cowboy rabbi mime artist scientist harpist blacksmith mahout magistrate domestic worker tailor cardinal housekeeper theologian courier monarch salt pan worker porter pastor equestrian courtier judge abbot matador goldsmith waterseller pretender astronomer surgeon domestic worker cook executioner dancer Kassandra embroiderer high-ranking civil servant in France exotic dancer lyricist plasterer gardener composer miller tightrope walker maid lady's maid sport cyclist apprentice King of France picador peasant woodcutter lacemaker Snake charming carpenter school teacher officer fisherman musician poet baker knife grinder police officer guard Maid of honour draughtsperson kazasker madam archbishop sculptor boatman salesperson cricketer aviator milkmaid preacher nun librarian cleric construction worker basketry mail carrier artisan art model bushranger weaver Australian-rules footballer physician sea captain Roman emperor quarryman cook street artist waiting staff
225
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
value 2
[[{'concept': 'painting'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { FILTER ( ?z <= 2 ) . { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:painting } UNION { ?u property:depicts ?k . ?k rdf:type ontology:occupation . ?u rdf:type ontology:game_equipment } } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18526160
P1001
Q852446
USER
Which US administrative territory comes under the jurisdiction of member of the Wisconsin State Assembly ?
(Q18526160,P1001,c(Q852446))
action filter_type
action find
entity Q18526160
relation P1001
type Q852446
['Q18526160', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q852446 . resource:Q18526160 property:P1001 ?z }
member of the Wisconsin State Assembly
action filter_type
action find
entity member of the Wisconsin State Assembly
relation applies to jurisdiction
type administrative territorial entity of the United States
['member of the Wisconsin State Assembly', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:member_of_the_Wisconsin_State_Assembly property:applies_to_jurisdiction ?z }
[]
administrative territorial entity of the United States
Q1537
SYSTEM
Wisconsin
Q1537
(Q18526160,P1001,c(Q852446))
action filter_type
action find
entity Q18526160
relation P1001
type Q852446
[ANSWER] comes under the jurisdiction of member of the [ANSWER] State Assembly
['Q18526160', 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q852446 . resource:Q18526160 property:P1001 ?z }
Wisconsin
Wisconsin comes under the jurisdiction of member of the Wisconsin State Assembly
Wisconsin
action filter_type
action find
entity member of the Wisconsin State Assembly
relation applies to jurisdiction
type administrative territorial entity of the United States
['member of the Wisconsin State Assembly', 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:member_of_the_Wisconsin_State_Assembly property:applies_to_jurisdiction ?z }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P840
Q852446 Q166142
USER
Which US administrative territories are approximately the same number of applications set in as that US administrative territory ?
(c(Q166142),P840,c(Q852446))
action approx
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action count
action filter_type
action find
entity Q1537
relation P840
type Q852446
[{'concept': 'Q166142'}, 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P840 ?b . ?b rdf:type ontology:Q852446 . ?c rdf:type ontology:Q166142 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q1537 property:P840 ?l . ?l rdf:type ontology:Q852446 } } . FILTER ( ?a = ?j ) }
action approx
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action count
action filter_type
action find
entity Wisconsin
relation narrative location
type administrative territorial entity of the United States
[{'concept': 'application'}, 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:narrative_location ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:application } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Wisconsin property:narrative_location ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?a = ?j ) }
[]
administrative territorial entity of the United States application
Q1384 Q1428 Q1527
SYSTEM
New York, Georgia, Minnesota
Q1397 Q43421 Q829 Q1603 Q1391 Q7886863 Q5000330 Q724 Q1581 Q1537 Q1370 Q1439 Q1612 Q1454 Q1384 Q3474463 Q1415 Q782 Q1527 Q1546 Q1204 Q1522 Q824 Q1227 Q1223 Q1166 Q816 Q771 Q1207 Q812 Q1509 Q1371 Q1261 Q779 Q1408 Q1428 Q38555 Q759 Q1558 Q14710458 Q1588 Q173 Q523606 Q797 Q4705487 Q1212 Q1553 Q1211 Q16551
(c(Q166142),P840,c(Q852446))
action approx
action find_reverse_tuple_counts
relation P840
type Q852446
type Q166142
action count
action filter_type
action find
entity Q1537
relation P840
type Q852446
[ANSWERS] are approximately the same number of applications set in as that US administrative territory
[{'concept': 'Q166142'}, 'P840', {'concept': 'Q852446'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:P840 ?b . ?b rdf:type ontology:Q852446 . ?c rdf:type ontology:Q166142 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q1537 property:P840 ?l . ?l rdf:type ontology:Q852446 } } . FILTER ( ?a = ?j ) }
Ohio Richmond Utah Kentucky Maryland Unionville Burr Oak, Iowa Maine Missouri Wisconsin Virginia Texas Arkansas North Carolina New York South Troy Indiana Hawaii Minnesota Iowa Illinois New Mexico Oregon Nevada Washington Michigan Arizona Massachusetts North Dakota Florida Tennessee West Virginia Colorado Connecticut New Jersey Georgia Santa Fe New Hampshire Kansas Esperanza Louisiana Alabama Langley Alaska Aladdin, Wyoming Montana Nebraska South Dakota Vermont
New York, Georgia and Minnesota are approximately the same number of applications set in as that US administrative territory
New York Georgia Minnesota
action approx
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity of the United States
type application
action count
action filter_type
action find
entity Wisconsin
relation narrative location
type administrative territorial entity of the United States
[{'concept': 'application'}, 'narrative location', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?a ) WHERE { ?c property:narrative_location ?b . ?b rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?c rdf:type ontology:application } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Wisconsin property:narrative_location ?l . ?l rdf:type ontology:administrative_territorial_entity_of_the_United_States } } . FILTER ( ?a = ?j ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that US administrative territory ?
(c(Q502895),P19,Q1428)
[{'concept': 'Q502895'}, 'P19', 'Q1428']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q5547323 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'place of birth', 'Georgia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Georgia . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1428
SYSTEM
Did you mean Georgia ?
(c(Q502895),P19,Q1384) (c(Q502895),P19,Q1428) (c(Q502895),P19,Q1527)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1384'] [{'concept': 'Q502895'}, 'P19', 'Q1428'] [{'concept': 'Q502895'}, 'P19', 'Q1527']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q5547323 . ?z rdf:type ontology:Q502895 }
Did you mean Georgia ?
Georgia
[{'concept': 'common name'}, 'place of birth', 'New York'] [{'concept': 'common name'}, 'place of birth', 'Georgia'] [{'concept': 'common name'}, 'place of birth', 'Minnesota']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Georgia . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P19,Q1428)
[{'concept': 'Q502895'}, 'P19', 'Q1428']
[{'concept': 'common name'}, 'place of birth', 'Georgia']
[]
SYSTEM
138
Q15430776 Q6072017 Q372045 Q1282886 Q2193207 Q23135592 Q16097285 Q1935849 Q7680581 Q1277486 Q918889 Q18150962 Q16234254 Q3737389 Q7609889 Q6811683 Q5232815 Q1447236 Q1691357 Q6132354 Q1510674 Q347039 Q18391298 Q781878 Q1680304 Q6287586 Q7494000 Q6253929 Q1607132 Q3663587 Q1315952 Q16028153 Q1631926 Q1174227 Q807787 Q16205683 Q8013403 Q8013402 Q470157 Q3605920 Q430763 Q2359518 Q126843 Q6846377 Q456268 Q4912604 Q710642 Q16847557 Q615700 Q7086912 Q1349827 Q1278655 Q7963356 Q7405178 Q5039786 Q5083382 Q5045187 Q6769447 Q515632 Q6388600 Q5346642 Q4799578 Q1607269 Q335165 Q6243691 Q763341 Q20082209 Q984215 Q817734 Q6159997 Q7173237 Q3183401 Q1349514 Q1885160 Q5389106 Q22003522 Q4888439 Q18518317 Q310464 Q739942 Q1645749 Q897332 Q1691660 Q1386971 Q5394588 Q3760626 Q1421357 Q18645978 Q6128975 Q725507 Q16841164 Q7288044 Q7609556 Q27275924 Q1393740 Q5531337 Q2091894 Q13561664 Q94005 Q1926725 Q7341239 Q5243797 Q1632153 Q225089 Q4909369 Q16008334 Q884164 Q329035 Q3631166 Q718047 Q6779008 Q162160 Q6262321 Q14599652 Q5928392 Q1099296 Q5728937 Q15987791 Q4384059 Q710282 Q508100 Q4137909 Q19864989 Q1373188 Q327836 Q5075337 Q195439 Q504168 Q531289 Q183009 Q181689 Q959017 Q4355869 Q2581134 Q3440096 Q6712901 Q20657887 Q1017761
(c(Q502895),P19,Q1428)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q1428']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q1322263 resource:Q5547323 . ?z rdf:type ontology:Q502895 }
Jack Murray Irma Clark-Coleman Sunny Lane Eddie Mapp Don Chezina Andrew F. Hilyer Burton D. Patrick Milton A. Candler Tamala Edwards Lowe Stokes Johnny Mize Bertha Idaho Torres Jay Moriarity Stephen Mansfield Melbert Ford David Daniell R. Thomas Smith Joe Carter James Dashner Thomas C. Hackett Gid Tanner Brenda Burns Sonny Terry Sam Hennings Joseph Vann Shelton B. Sutton, Jr. John R. McKinney Henry Palmer Catherine Taber James Fannin Robert Page Jones Charley Lincoln David Dickson Barbecue Bob Jeremy Stover William Jackson Creel William Jackson Brack Ruby Muhammad Aedin Mincks Jimmy Bryant Lockett James Pundt IV Kenneth C. Burns Mike Connell Marion Motley Billy Glaze Dennis Joseph O'Neil Steve Pettit Jimmy Maurer Olin G. Blackwell Kokomo Arnold Ebenezer J. Shields Wally Fowler Sally Jaye Carl A. Strock Charles Waterhouse Caroline Pafford Miller Mark Ritchie Ossie Davis Ken Terrell Edwin Maffitt Anderson Arthur Lucas John W. Rollins Osceola John L. Sehon Jacques Futrelle Emmett King Alfred Blalock Benjamin Walker Jared Irwin Peter Charles Harris Jonathan Krohn William Fielding Ogburn Maidie Norman Erin Bethea Willie Burton Benjamin Cromwell Franklin P. R. Bidez Erskine Caldwell Hugh E. Blair John Carpenter Carter Hiram Keller Joe Williams Johnny Barfield Ernie Lancaster George Peeples Fitzhugh L. Fulton Braxton Beacham James Augustine Healy Sterling Holloway Robert A. Hardee Ralph S. Hurst Stephen J. Anderson Mary Eleanor Robertson Walter C. Dowling Gene Martin Piano Red Jennie Runk John Wellborn Root Robby Robinson Robert A. Hardaway De'Mon Brooks Hoyt Scoggins Steve Berry Bill Heath Guy Brewer Blind Simmie Dooley Buddy Moss Margaret Woodrow Wilson Jimmy Bivins Mary Barksdale Soapy Smith John W. Hendrix Eugene Calvin Cheatham, Jr. Madison Lintz Clayton McMichen Henry T. Elrod Wayne Barrett William Pierce Ray Stevens Ida Cox Janie Lou Gibbs Victoria Monet Eugene Talmadge Doctor Clayton Charles B. Towns Jason Aldean Charles Fernley Fawcett Melvin E. Thompson Augustus Moore Herring Blind Willie McTell William Moore Amelia Boynton Robinson William Yates Atkinson Roland Hayes M. Michele Burns Julia Easterlin Buster Brown
138
[{'concept': 'common name'}, 'place of birth', 'Georgia']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:place_of_birth resource:Georgia . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1527
P47
Q15617994 Q852446
USER
How many administrative territories and US administrative territories are bordered by Minnesota ?
(Q1527,P47,c(Q15617994)) (Q1527,P47,c(Q852446))
action count
action union
action filter_type
action find
entity Q1527
relation P47
type Q15617994
action filter_type
action find
entity Q1527
relation P47
type Q852446
['Q1527', 'P47', {'concept': 'Q15617994'}] ['Q1527', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:Q852446 . resource:Q1527 property:P47 ?c } UNION { resource:Q1527 property:P47 ?c . ?c rdf:type ontology:Q15617994 } }
Minnesota
action count
action union
action filter_type
action find
entity Minnesota
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Minnesota
relation shares border with
type administrative territorial entity of the United States
['Minnesota', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Minnesota', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Minnesota property:shares_border_with ?c } UNION { resource:Minnesota property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity administrative territorial entity of the United States
SYSTEM
4 administrative territories and 5 US administrative territories
Q1207 Q1948 Q2007 Q1166 Q1537 Q1211 Q1546 Q1904 Q603676
(Q1527,P47,c(Q15617994)) (Q1527,P47,c(Q852446))
action count
action union
action filter_type
action find
entity Q1527
relation P47
type Q15617994
action filter_type
action find
entity Q1527
relation P47
type Q852446
[ANSWER]
['Q1527', 'P47', {'concept': 'Q15617994'}] ['Q1527', 'P47', {'concept': 'Q852446'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:Q852446 . resource:Q1527 property:P47 ?c } UNION { resource:Q1527 property:P47 ?c . ?c rdf:type ontology:Q15617994 } }
North Dakota Manitoba Northwest Territories Michigan Wisconsin South Dakota Iowa Ontario District of Keewatin
4 administrative territories and 5 US administrative territories
action count
action union
action filter_type
action find
entity Minnesota
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Minnesota
relation shares border with
type administrative territorial entity of the United States
['Minnesota', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Minnesota', 'shares border with', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { ?c rdf:type ontology:administrative_territorial_entity_of_the_United_States . resource:Minnesota property:shares_border_with ?c } UNION { resource:Minnesota property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1537
P127
Q811430
USER
Which construction is under posessision of Wisconsin ?
(c(Q811430),P127,Q1537)
action filter_type
action find_reverse
entity Q1537
relation P127
type Q811430
[{'concept': 'Q811430'}, 'P127', 'Q1537']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1537 . ?w rdf:type ontology:Q811430 }
Wisconsin
action filter_type
action find_reverse
entity Wisconsin
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Wisconsin']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Wisconsin . ?w rdf:type ontology:construction }
[]
construction
Q737976
SYSTEM
BMO Harris Bradley Center
Q737976
(c(Q811430),P127,Q1537)
action filter_type
action find_reverse
entity Q1537
relation P127
type Q811430
[ANSWER] is under posessision of Wisconsin
[{'concept': 'Q811430'}, 'P127', 'Q1537']
SELECT DISTINCT ?w WHERE { ?w property:P127 resource:Q1537 . ?w rdf:type ontology:Q811430 }
BMO Harris Bradley Center
BMO Harris Bradley Center is under posessision of Wisconsin
BMO Harris Bradley Center
action filter_type
action find_reverse
entity Wisconsin
relation owned by
type construction
[{'concept': 'construction'}, 'owned by', 'Wisconsin']
SELECT DISTINCT ?w WHERE { ?w property:owned_by resource:Wisconsin . ?w rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q737976
P115
Q12973014
USER
Which sports team has that construction as its arena ?
(c(Q12973014),P115,Q737976)
action filter_type
action find_reverse
entity Q737976
relation P115
type Q12973014
[{'concept': 'Q12973014'}, 'P115', 'Q737976']
SELECT DISTINCT ?e WHERE { ?e property:P115 resource:Q737976 . ?e rdf:type ontology:Q12973014 }
BMO Harris Bradley Center
action filter_type
action find_reverse
entity BMO Harris Bradley Center
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'BMO Harris Bradley Center']
SELECT DISTINCT ?e WHERE { ?e property:home_venue resource:BMO_Harris_Bradley_Center . ?e rdf:type ontology:sports_team }
[]
sports team
Q169637
SYSTEM
Milwaukee Bucks
Q169637
(c(Q12973014),P115,Q737976)
action filter_type
action find_reverse
entity Q737976
relation P115
type Q12973014
[ANSWER] has that construction as its arena
[{'concept': 'Q12973014'}, 'P115', 'Q737976']
SELECT DISTINCT ?e WHERE { ?e property:P115 resource:Q737976 . ?e rdf:type ontology:Q12973014 }
Milwaukee Bucks
Milwaukee Bucks has that construction as its arena
Milwaukee Bucks
action filter_type
action find_reverse
entity BMO Harris Bradley Center
relation home venue
type sports team
[{'concept': 'sports team'}, 'home venue', 'BMO Harris Bradley Center']
SELECT DISTINCT ?e WHERE { ?e property:home_venue resource:BMO_Harris_Bradley_Center . ?e rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15179841 Q16886136
P17
Q15617994
USER
Which administrative territories are conseiller régional or Amkuna situated in ?
OR((Q16886136,P17,c(Q15617994)), (Q15179841,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16886136
relation P17
action find
entity Q15179841
relation P17
type Q15617994
{'OR': [['Q16886136', 'P17', {'concept': 'Q15617994'}], ['Q15179841', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?d property:P17 ?b . VALUES ( ?d ) { ( resource:Q16886136 ) ( resource:Q15179841 ) } } . ?b rdf:type ontology:Q15617994 }
Amkuna conseiller régional
action filter_type
action union
action find
entity conseiller régional
relation country
action find
entity Amkuna
relation country
type designation for an administrative territorial entity
{'OR': [['conseiller régional', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Amkuna', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?d property:country ?b . VALUES ( ?d ) { ( resource:conseiller_régional ) ( resource:Amkuna ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q902
SYSTEM
France, Bangladesh
Q142 Q902
OR((Q16886136,P17,c(Q15617994)), (Q15179841,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16886136
relation P17
action find
entity Q15179841
relation P17
type Q15617994
Conseiller régional or Amkuna are situated in [ANSWERS]
{'OR': [['Q16886136', 'P17', {'concept': 'Q15617994'}], ['Q15179841', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?d property:P17 ?b . VALUES ( ?d ) { ( resource:Q16886136 ) ( resource:Q15179841 ) } } . ?b rdf:type ontology:Q15617994 }
France Bangladesh
Conseiller régional or Amkuna are situated in France and Bangladesh
France Bangladesh
action filter_type
action union
action find
entity conseiller régional
relation country
action find
entity Amkuna
relation country
type designation for an administrative territorial entity
{'OR': [['conseiller régional', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Amkuna', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?d property:country ?b . VALUES ( ?d ) { ( resource:conseiller_régional ) ( resource:Amkuna ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic associations with those administrative territories ?
(Q408,P530,Q142) (Q408,P530,Q902)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q902']
ASK WHERE { VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q902 ) } . resource:Q408 property:P530 ?n }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'Bangladesh']
ASK WHERE { VALUES ( ?n ) { ( resource:France ) ( resource:Bangladesh ) } . resource:Australia property:diplomatic_relation ?n }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q142) (Q408,P530,Q902)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q142'] ['Q408', 'P530', 'Q902']
ASK WHERE { VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q902 ) } . resource:Q408 property:P530 ?n }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'France'] ['Australia', 'diplomatic relation', 'Bangladesh']
ASK WHERE { VALUES ( ?n ) { ( resource:France ) ( resource:Bangladesh ) } . resource:Australia property:diplomatic_relation ?n }
[]