Simple Question (Direct)
Simple Question
Q1359229
P21
Q290
USER
Which sex does Ernst Leuschner possess ?
(Q1359229,P21,c(Q290))
action filter_type
action find
entity Q1359229
relation P21
type Q290
['Q1359229', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1359229 property:P21 ?k }
Ernst Leuschner
action filter_type
action find
entity Ernst Leuschner
relation gender
type sex
['Ernst Leuschner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Ernst_Leuschner property:gender ?k }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1359229,P21,c(Q290))
action filter_type
action find
entity Q1359229
relation P21
type Q290
Ernst Leuschner possesses un [ANSWER]
['Q1359229', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q1359229 property:P21 ?k }
male
Ernst Leuschner possesses un male
male
action filter_type
action find
entity Ernst Leuschner
relation gender
type sex
['Ernst Leuschner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Ernst_Leuschner property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1359229
P106
Q12737077
USER
What are the professions of Ernst Leuschner ?
(Q1359229,P106,c(Q12737077))
action filter_type
action find
entity Q1359229
relation P106
type Q12737077
['Q1359229', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1359229 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Ernst Leuschner
action filter_type
action find
entity Ernst Leuschner
relation occupation
type occupation
['Ernst Leuschner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Ernst_Leuschner property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q82955 Q131524
SYSTEM
politician, entrepreneur
Q82955 Q131524
(Q1359229,P106,c(Q12737077))
action filter_type
action find
entity Q1359229
relation P106
type Q12737077
The professions of Ernst Leuschner are a [ANSWERS]
['Q1359229', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q1359229 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
politician entrepreneur
The professions of Ernst Leuschner are a politician and entrepreneur
politician entrepreneur
action filter_type
action find
entity Ernst Leuschner
relation occupation
type occupation
['Ernst Leuschner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Ernst_Leuschner property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4219376
Q12737077
USER
And what about Józef Kenig?
(Q4219376,P106,c(Q12737077))
action filter_type
action find
entity Q4219376
relation P106
type Q12737077
['Q4219376', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4219376 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Józef Kenig
action filter_type
action find
entity Józef Kenig
relation occupation
type occupation
['Józef Kenig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Józef_Kenig property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q1930187 Q4263842
SYSTEM
journalist, literary critic
Q1930187 Q4263842
(Q4219376,P106,c(Q12737077))
action filter_type
action find
entity Q4219376
relation P106
type Q12737077
[ANSWERS]
['Q4219376', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4219376 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
journalist literary critic
journalist literary critic
action filter_type
action find
entity Józef Kenig
relation occupation
type occupation
['Józef Kenig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Józef_Kenig property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations do around the same number of collectables belong to as that occupation ?
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
occupation collectable
Comparative|More/Less|Single entity type|Clarification
Q1930187
SYSTEM
Did you mean journalist ?
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
Did you mean journalist ?
journalist
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
[]
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494),P101,c(Q12737077))
[ANSWERS] around the same number of collectables belong to as that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
Chief of police, archaeologist and Commissioner of Baseball around the same number of collectables belong to as that occupation
chief of police archaeologist Commissioner of Baseball
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P101
Q12737077 Q2342494
USER
Which occupations are the area of around the same number of collectables as that occupation ?
(c(Q2342494),P101,c(Q12737077))
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
occupation collectable
Comparative|More/Less|Single entity type|Clarification
Q1051088
SYSTEM
Did you mean Commissioner of Baseball ?
(c(Q2342494),P101,c(Q12737077))
[ANSWER]
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
Did you mean Commissioner of Baseball ?
Commissioner of Baseball
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
USER
No, I meant chief of police. Could you tell me the answer for that?
(c(Q2342494),P101,c(Q12737077))
Q2855502
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
[]
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q39631 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q17156912 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q2405480 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q16009483 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q42603 Q3621491 Q11774891 Q6981670
(c(Q2342494),P101,c(Q12737077))
[ANSWERS] are the area of around the same number of collectables as that occupation
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 }
novelist legislator singer business magnate secretary teacher physician sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist malariologist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist voice actor journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary sideshow performer editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer priest archaeologist ice hockey player Navajo weaving
Chief of police, archaeologist and Commissioner of Baseball are the area of around the same number of collectables as that occupation
chief of police archaeologist Commissioner of Baseball
[{'concept': 'collectable'}, 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2855502
P39
Q502895
USER
How many people held the position of chief of police ?
(c(Q502895),P39,Q2855502)
action count
action filter_type
action find_reverse
entity Q2855502
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q2855502']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P39 resource:Q2855502 . ?o rdf:type ontology:Q502895 }
chief of police
action count
action filter_type
action find_reverse
entity chief of police
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'chief of police']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:position_held resource:chief_of_police . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
93
Q6775256 Q6376874 Q5295002 Q7609862 Q6260884 Q7335488 Q8004090 Q8021626 Q1344993 Q4647693 Q4934320 Q7793445 Q19758168 Q5217594 Q1312401 Q7350877 Q5364475 Q16037693 Q16196284 Q7587557 Q6394623 Q6767532 Q7328011 Q5335939 Q16875402 Q6140256 Q1100480 Q6198884 Q5485231 Q3420958 Q5496067 Q6186247 Q5560545 Q5341452 Q16019165 Q1455514 Q6211403 Q5542770 Q5488333 Q1894995 Q7703280 Q16143016 Q7328373 Q5335227 Q4820839 Q6112178 Q6778451 Q16012074 Q5545690 Q4933785 Q5488103 Q6828323 Q7816726 Q6281864 Q4917699 Q6237907 Q5126564 Q5230988 Q7027681 Q505315 Q16156569 Q7791665 Q7328245 Q4893317 Q1809858 Q15815981 Q7407300 Q16750583 Q720565 Q5543149 Q5735790 Q7507811 Q15462901 Q5214135 Q5498217 Q54678 Q5000813 Q6197632 Q5234909 Q18148363 Q6137076 Q7328361 Q5081694 Q1745311 Q2435266 Q7342668 Q7317454 Q9049116 Q7407426 Q343830 Q5497913 Q7342607 Q7853343
(c(Q502895),P39,Q2855502)
action count
action filter_type
action find_reverse
entity Q2855502
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q2855502']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:P39 resource:Q2855502 . ?o rdf:type ontology:Q502895 }
Martin Dardis Kathleen O'Toole Donald Pomerleau Stephen M. Studdert John Timoney Rip Collins William A. Worton Willie L. Williams Frederick Dent Grant A. DeWade Langley Bob Wasserman Thomas Reddin Kurt von Koseritz Daniel Isom Fred Heineman Robert Warshaw Ella Bully-Cummings Emmett Goodwin Steve Strachan St. Clair Augustine Mulholland Kerry Pettingill Mark Ericks Richard Neal Eddie Compass Ronal W. Serpas James N. Robey W. Cleon Skousen Jim Wetherington Frank Battaglia Raymond Kelly Fred Peters Jesse Curry Gil Kerlikowske Edward A. Flynn Patrick V. Murphy Georg Schertz Joe Mokwa George N. Turner Frank McKetta Margarete Koppers Terrance W. Gainer Rafael Piñeiro Richard Perkins Ed Norris August Vollmer Jack Doyle Marvin P. Iannone Thomas Gibbons George W. Matsell Bob Ricks Frank Madigan Michael B. Driver Tom Martin Joseph C. Carter Bishop Robinson John Harrington Clarence Harmon David B. Mitchell Nick Pastore Andrew J. Rogers Ricky G. Adams Thomas Lafayette Houchins Jr. Richard P. Rosenthal Bernard Kerik Albert Bond Lambert Horst Ende Sam Catron Tom Brown Jerry Sanders George Pabey Herbert Turner Jenkins Sid Hatfield O. W. Wilson Dan Oates Frederick Kohler Jürgen Roters Burton Becker Jim Purcell David Hennessy J. D. Batton James K. Watkins Richard Pennington Charles Plummer Klaus Kandt Tim McCarthy Robert C. White Reuben Greenberg Ned Locke Sam Dotson Denver S. Dickerson Frederick H. Bealefeld III Robert C. Haas Tunney Hunsaker
93
action count
action filter_type
action find_reverse
entity chief of police
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'chief of police']
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { ?o property:position_held resource:chief_of_police . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2741536
P39
Q502895
USER
And also tell me about Leader of the Opposition?
(c(Q502895),P39,Q2741536)
action count
action filter_type
action find_reverse
entity Q2741536
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q2741536']
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P39 resource:Q2741536 . ?y rdf:type ontology:Q502895 }
Leader of the Opposition
action count
action filter_type
action find_reverse
entity Leader of the Opposition
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Leader of the Opposition']
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:position_held resource:Leader_of_the_Opposition . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
42
Q8016 Q193656 Q9559 Q166714 Q291169 Q244620 Q7519118 Q128976 Q208665 Q128956 Q160852 Q157259 Q181875 Q334073 Q128967 Q216594 Q234182 Q302486 Q192 Q333309 Q312567 Q243705 Q335576 Q332419 Q106618 Q177235 Q315999 Q7416 Q82006 Q129006 Q332377 Q9576 Q58282 Q166646 Q335589 Q166663 Q5294786 Q775821 Q325381 Q166635 Q317258 Q337380
(c(Q502895),P39,Q2741536)
action count
action filter_type
action find_reverse
entity Q2741536
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q2741536']
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:P39 resource:Q2741536 . ?y rdf:type ontology:Q502895 }
Winston Churchill Henry Temple, 3rd Viscount Palmerston John Major H. H. Asquith Jeremy Corbyn Archibald Primrose, 5th Earl of Rosebery Simon Kerslake Alec Douglas-Home Arthur Henderson Harold Wilson William Ewart Gladstone John Russell, 1st Earl Russell Robert Peel George Brown, Baron George-Brown Edward Heath Ed Miliband Harriet Harman Iain Duncan Smith David Cameron Ivor Richard, Baron Richard William Lamb, 2nd Viscount Melbourne Robert Gascoyne-Cecil, 3rd Marquess of Salisbury Thomas Galbraith, 2nd Baron Strathclyde Michael Foot Henry Campbell-Bannerman Edward Carson, Baron Carson Joseph Chamberlain Margaret Thatcher Benjamin Disraeli Clement Attlee John Smith James Callaghan William Hague Ramsay MacDonald Robert Gascoyne-Cecil, 7th Marquess of Salisbury Bonar Law Donald Maclean William Vernon Harcourt Michael Howard Stanley Baldwin Neil Kinnock Hugh Gaitskell
42
action count
action filter_type
action find_reverse
entity Leader of the Opposition
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Leader of the Opposition']
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { ?y property:position_held resource:Leader_of_the_Opposition . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1051088
P123
Q2342494
USER
What was released by Commissioner of Baseball ?
(c(Q2342494),P123,Q1051088)
action filter_type
action find_reverse
entity Q1051088
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q1051088']
SELECT DISTINCT ?m WHERE { ?m property:P123 resource:Q1051088 . ?m rdf:type ontology:Q2342494 }
Commissioner of Baseball
action filter_type
action find_reverse
entity Commissioner of Baseball
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Commissioner of Baseball']
SELECT DISTINCT ?m WHERE { ?m property:publisher resource:Commissioner_of_Baseball . ?m rdf:type ontology:collectable }
[]
collectable
Q908951
SYSTEM
Mitchell Report
Q908951
(c(Q2342494),P123,Q1051088)
action filter_type
action find_reverse
entity Q1051088
relation P123
type Q2342494
The [ANSWER] was released by Commissioner of Baseball
[{'concept': 'Q2342494'}, 'P123', 'Q1051088']
SELECT DISTINCT ?m WHERE { ?m property:P123 resource:Q1051088 . ?m rdf:type ontology:Q2342494 }
Mitchell Report
The Mitchell Report was released by Commissioner of Baseball
Mitchell Report
action filter_type
action find_reverse
entity Commissioner of Baseball
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'Commissioner of Baseball']
SELECT DISTINCT ?m WHERE { ?m property:publisher resource:Commissioner_of_Baseball . ?m rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q908951
P641
Q349
USER
Which sport was that collectable a part of ?
(Q908951,P641,c(Q349))
action filter_type
action find
entity Q908951
relation P641
type Q349
['Q908951', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q908951 property:P641 ?r . ?r rdf:type ontology:Q349 }
Mitchell Report
action filter_type
action find
entity Mitchell Report
relation sport
type sport
['Mitchell Report', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Mitchell_Report property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q908951,P641,c(Q349))
action filter_type
action find
entity Q908951
relation P641
type Q349
Which sport was that collectable a part of
['Q908951', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q908951 property:P641 ?r . ?r rdf:type ontology:Q349 }
baseball
Which sport was that collectable a part of
baseball
action filter_type
action find
entity Mitchell Report
relation sport
type sport
['Mitchell Report', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Mitchell_Report property:sport ?r . ?r rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P425
Q349 Q151885
USER
Which sports are associated with the field of occupation less number of concepts than that sport ?
(c(Q151885),P425,c(Q349))
action less
action find_reverse_tuple_counts
relation P425
type Q349
type Q151885
action count
action filter_type
action find_reverse
entity Q5369
relation P425
type Q151885
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P425 ?o . ?o rdf:type ontology:Q349 . ?v rdf:type ontology:Q151885 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P425 resource:Q5369 . ?p rdf:type ontology:Q151885 } } . FILTER ( ?l < ?f ) }
action less
action find_reverse_tuple_counts
relation field of this occupation
type sport
type concept
action count
action filter_type
action find_reverse
entity baseball
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:field_of_this_occupation ?o . ?o rdf:type ontology:sport . ?v rdf:type ontology:concept } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:field_of_this_occupation resource:baseball . ?p rdf:type ontology:concept } } . FILTER ( ?l < ?f ) }
[]
sport concept
Q206763 Q136851 Q10962
SYSTEM
floorball, curling, rugby league
Q10962 Q136851 Q43450 Q7856 Q4543 Q170737 Q5375 Q221635 Q134211 Q188966 Q1734 Q206989 Q8418 Q1455 Q838089 Q36908 Q40561 Q159992 Q1748406 Q61465 Q185851 Q193387 Q108429 Q171038 Q191051 Q627165 Q754586 Q212845 Q847 Q32112 Q376040 Q838781 Q206763 Q3930 Q2736 Q177275 Q2497700 Q2483334 Q130949 Q178678 Q41466 Q7707 Q3924425 Q5377 Q2215841 Q210778 Q114466 Q192937 Q3341285 Q213934 Q213796 Q131359 Q182570 Q12267267 Q201965 Q5372 Q11420 Q41323 Q7291 Q231200
(c(Q151885),P425,c(Q349))
action less
action find_reverse_tuple_counts
relation P425
type Q349
type Q151885
action count
action filter_type
action find_reverse
entity Q5369
relation P425
type Q151885
[ANSWERS] are associated with the field of occupation less number of concepts than that sport
[{'concept': 'Q151885'}, 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:P425 ?o . ?o rdf:type ontology:Q349 . ?v rdf:type ontology:Q151885 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P425 resource:Q5369 . ?p rdf:type ontology:Q151885 } } . FILTER ( ?l < ?f ) }
rugby league curling gymnastics rallying beach volleyball long jump cricket track cycling polo contract bridge volleyball shooting sport handball field hockey amateur wrestling mountaineering sumo surfing roller hockey (quad) rhythmic gymnastics lacrosse croquet archery softball windsurfing Harri-jasotze racquetball Basque pelota tennis boxing wakeboarding eventing floorball table tennis association football bobsleigh Aizkolaritza Valencian pilota skiing kick boxing ice hockey water polo combined track and field events golf cycle sport beach soccer mixed martial arts korfball cue sports canoeing and kayaking powerlifting professional wrestling discus throw Sega-joko Nordic combined basketball judo American football badminton netball
Floorball, curling and rugby league are associated with the field of occupation less number of concepts than that sport
floorball curling rugby league
action less
action find_reverse_tuple_counts
relation field of this occupation
type sport
type concept
action count
action filter_type
action find_reverse
entity baseball
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?l ) WHERE { ?v property:field_of_this_occupation ?o . ?o rdf:type ontology:sport . ?v rdf:type ontology:concept } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:field_of_this_occupation resource:baseball . ?p rdf:type ontology:concept } } . FILTER ( ?l < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q206763
P641
Q618123 Q12973014
USER
How many geographical objects or sports teams play floorball ?
(c(Q618123),P641,Q206763) (c(Q12973014),P641,Q206763)
action count
action union
action filter_type
action find_reverse
entity Q206763
relation P641
type Q618123
action filter_type
action find_reverse
entity Q206763
relation P641
type Q12973014
[{'concept': 'Q618123'}, 'P641', 'Q206763'] [{'concept': 'Q12973014'}, 'P641', 'Q206763']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p rdf:type ontology:Q618123 . ?p property:P641 resource:Q206763 } UNION { ?p property:P641 resource:Q206763 . ?p rdf:type ontology:Q12973014 } }
floorball
action count
action union
action filter_type
action find_reverse
entity floorball
relation sport
type geographical object
action filter_type
action find_reverse
entity floorball
relation sport
type sports team
[{'concept': 'geographical object'}, 'sport', 'floorball'] [{'concept': 'sports team'}, 'sport', 'floorball']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p rdf:type ontology:geographical_object . ?p property:sport resource:floorball } UNION { ?p property:sport resource:floorball . ?p rdf:type ontology:sports_team } }
[]
geographical object sports team
SYSTEM
13
Q1465962 Q217601 Q19281942 Q11870887 Q19979042 Q26156208 Q15944684 Q15944683 Q1361449 Q1538282 Q5350396 Q14325622 Q10709573
(c(Q618123),P641,Q206763) (c(Q12973014),P641,Q206763)
action count
action union
action filter_type
action find_reverse
entity Q206763
relation P641
type Q618123
action filter_type
action find_reverse
entity Q206763
relation P641
type Q12973014
[ANSWER]
[{'concept': 'Q618123'}, 'P641', 'Q206763'] [{'concept': 'Q12973014'}, 'P641', 'Q206763']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p rdf:type ontology:Q618123 . ?p property:P641 resource:Q206763 } UNION { ?p property:P641 resource:Q206763 . ?p rdf:type ontology:Q12973014 } }
Swiss Unihockey Drøbak-Frogn IL Öråns SK Kempeleen Kiri Team Thorengruppen SK floorball club Sweden U19 women's national floorball team Sweden U19 men's national floorball team HIFK Huddinge IK Ekenäs IF Salon Vilpas Hungary women's national floorball team
13
action count
action union
action filter_type
action find_reverse
entity floorball
relation sport
type geographical object
action filter_type
action find_reverse
entity floorball
relation sport
type sports team
[{'concept': 'geographical object'}, 'sport', 'floorball'] [{'concept': 'sports team'}, 'sport', 'floorball']
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { ?p rdf:type ontology:geographical_object . ?p property:sport resource:floorball } UNION { ?p property:sport resource:floorball . ?p rdf:type ontology:sports_team } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q206763
P495
Q15617994
USER
Which administrative territories are the countries of origin of that sport ?
action filter_type
action find
entity Q206763
relation P495
type Q15617994
SELECT DISTINCT ?r WHERE { resource:Q206763 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
floorball
action filter_type
action find
entity floorball
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { resource:floorball property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q39 Q34
SYSTEM
Finland, Switzerland, Sweden
Q33 Q39 Q34
action filter_type
action find
entity Q206763
relation P495
type Q15617994
[ANSWERS] are the countries of origin of that sport
SELECT DISTINCT ?r WHERE { resource:Q206763 property:P495 ?r . ?r rdf:type ontology:Q15617994 }
Finland Switzerland Sweden
Finland, Switzerland and Sweden are the countries of origin of that sport
Finland Switzerland Sweden
action filter_type
action find
entity floorball
relation country of origin
type designation for an administrative territorial entity
SELECT DISTINCT ?r WHERE { resource:floorball property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories were around the same number of fictional locations inspired by as that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|Count over More/Less|Single entity type|Clarification
Q34
SYSTEM
Did you mean Sweden ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean Sweden ?
Sweden
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Finland. Could you tell me the answer for that?
(c(Q3895768),P941,c(Q15617994))
Q33
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
9
Q142 Q159 Q424 Q794 Q33 Q954 Q31 Q889 Q55
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
France Russia Cambodia Iran Finland Zimbabwe Belgium Afghanistan Netherlands
9
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1030
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with greater number of administrative territories than Namibia ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1030
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?w ) WHERE { ?p property:P530 ?o . ?p rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P530 resource:Q1030 . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?z ) }
Namibia
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Namibia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?w ) WHERE { ?p property:diplomatic_relation ?o . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:diplomatic_relation resource:Namibia . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q1030
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with greater number of administrative territories than Namibia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?w ) WHERE { ?p property:P530 ?o . ?p rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:P530 resource:Q1030 . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?w > ?z ) }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories than Namibia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Namibia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?w ) WHERE { ?p property:diplomatic_relation ?o . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { ?s property:diplomatic_relation resource:Namibia . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q20
P530
Q15617994 Q15617994
USER
And how about Norway?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?d } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?a } }
Norway
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?d } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q20
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?d } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?a } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { FILTER ( ?w > ?n ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?d } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P921
Q2342494
USER
Which collectable has that administrative territory as its main topic ?
(c(Q2342494),P921,Q155)
action filter_type
action find_reverse
entity Q155
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q155']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q155 . ?r rdf:type ontology:Q2342494 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Brazil']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:Brazil . ?r rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q155 Q30
(c(Q2342494),P921,Q38) (c(Q2342494),P921,Q155) (c(Q2342494),P921,Q30)
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q38'] [{'concept': 'Q2342494'}, 'P921', 'Q155'] [{'concept': 'Q2342494'}, 'P921', 'Q30']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q155 . ?r rdf:type ontology:Q2342494 }
Italy Brazil United States of America
Did you mean Italy ?
Italy
[{'concept': 'collectable'}, 'main subject', 'Italy'] [{'concept': 'collectable'}, 'main subject', 'Brazil'] [{'concept': 'collectable'}, 'main subject', 'United States of America']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:Brazil . ?r rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q2342494),P921,Q155)
Q155
[{'concept': 'Q2342494'}, 'P921', 'Q155']
[{'concept': 'collectable'}, 'main subject', 'Brazil']
[]
Q6152025
SYSTEM
Travels in Brazil
Q6152025
(c(Q2342494),P921,Q155)
action filter_type
action find_reverse
entity Q155
relation P921
type Q2342494
[ANSWER] has that administrative territory as its main topic
[{'concept': 'Q2342494'}, 'P921', 'Q155']
SELECT DISTINCT ?r WHERE { ?r property:P921 resource:Q155 . ?r rdf:type ontology:Q2342494 }
Travels in Brazil
Travels in Brazil has that administrative territory as its main topic
Travels in Brazil
action filter_type
action find_reverse
entity Brazil
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'Brazil']
SELECT DISTINCT ?r WHERE { ?r property:main_subject resource:Brazil . ?r rdf:type ontology:collectable }
[]