Simple Question (Direct)
Simple Question
Q6230792
P102
Q7210356
USER
Which party does John E. Hurley belong to ?
(Q6230792,P102,c(Q7210356))
action filter_type
action find
entity Q6230792
relation P102
type Q7210356
['Q6230792', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q6230792 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
John E. Hurley
action filter_type
action find
entity John E. Hurley
relation member of political party
type political organization
['John E. Hurley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:John_E._Hurley property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q6230792,P102,c(Q7210356))
action filter_type
action find
entity Q6230792
relation P102
type Q7210356
[ANSWER]
['Q6230792', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q6230792 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Democratic Party
Democratic Party
action filter_type
action find
entity John E. Hurley
relation member of political party
type political organization
['John E. Hurley', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:John_E._Hurley property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6230792
P69
Q163740
USER
Which nonprofit organization is the alma mater of John E. Hurley ?
(Q6230792,P69,c(Q163740))
action filter_type
action find
entity Q6230792
relation P69
type Q163740
['Q6230792', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q6230792 property:P69 ?j . ?j rdf:type ontology:Q163740 }
John E. Hurley
action filter_type
action find
entity John E. Hurley
relation educated at
type nonprofit organization
['John E. Hurley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:John_E._Hurley property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49118
SYSTEM
Boston College
Q49118
(Q6230792,P69,c(Q163740))
action filter_type
action find
entity Q6230792
relation P69
type Q163740
[ANSWER]
['Q6230792', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?j WHERE { resource:Q6230792 property:P69 ?j . ?j rdf:type ontology:Q163740 }
Boston College
Boston College
action filter_type
action find
entity John E. Hurley
relation educated at
type nonprofit organization
['John E. Hurley', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?j WHERE { resource:John_E._Hurley property:educated_at ?j . ?j rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5277864
Q163740
USER
And what about Dina Rabinovitch?
(Q5277864,P69,c(Q163740))
action filter_type
action find
entity Q5277864
relation P69
type Q163740
['Q5277864', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q5277864 property:P69 ?k . ?k rdf:type ontology:Q163740 }
Dina Rabinovitch
action filter_type
action find
entity Dina Rabinovitch
relation educated at
type nonprofit organization
['Dina Rabinovitch', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Dina_Rabinovitch property:educated_at ?k . ?k rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q5715907
SYSTEM
Henrietta Barnett School
Q5715907
(Q5277864,P69,c(Q163740))
action filter_type
action find
entity Q5277864
relation P69
type Q163740
[ANSWER]
['Q5277864', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?k WHERE { resource:Q5277864 property:P69 ?k . ?k rdf:type ontology:Q163740 }
Henrietta Barnett School
Henrietta Barnett School
action filter_type
action find
entity Dina Rabinovitch
relation educated at
type nonprofit organization
['Dina Rabinovitch', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?k WHERE { resource:Dina_Rabinovitch property:educated_at ?k . ?k rdf:type ontology:nonprofit_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q502895 Q56061 Q163740
USER
How many nonprofit organizations have around the same number of people or administrative territories as their namesake as that nonprofit organization ?
(c(Q163740),P138,c(Q502895)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q163740
type Q502895
action find_tuple_counts
relation P138
type Q163740
type Q56061
action count
action filter_multi_types
action find
entity Q5715907
relation P138
type Q502895
type Q56061
[{'concept': 'Q163740'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q502895 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q5715907 property:P138 ?q . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q56061 } } } } . FILTER ( ?t = ?r ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type nonprofit organization
type common name
action find_tuple_counts
relation named after
type nonprofit organization
type administrative territorial entity
action count
action filter_multi_types
action find
entity Henrietta Barnett School
relation named after
type common name
type administrative territorial entity
[{'concept': 'nonprofit organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:common_name ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Henrietta_Barnett_School property:named_after ?q . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?t = ?r ) }
[]
common name administrative territorial entity nonprofit organization
SYSTEM
65
Q11923259 Q1012699 Q11913506 Q22222766 Q1047060 Q49167 Q49166 Q6304221 Q2904851 Q1623314 Q11923271 Q7791286 Q4127559 Q165715 Q7367225 Q7901181 Q5492094 Q6800570 Q5045016 Q1176629 Q3298369 Q186047 Q18202230 Q746613 Q3444269 Q13371 Q6705538 Q8028571 Q413881 Q1605137 Q1809286 Q5715907 Q6538902 Q41506 Q360551 Q432637 Q1132041 Q20379539 Q7525103 Q26837211 Q5373734 Q4775038 Q6724723 Q49115 Q5491762 Q585828 Q1164229 Q845701 Q27044152 Q193727 Q1056373 Q157033 Q23532020 Q1109093 Q1559558 Q50015 Q3113011 Q7291901 Q158085 Q2471216 Q1068752 Q1515763 Q29052 Q479853 Q7291803
(c(Q163740),P138,c(Q502895)|c(Q56061))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q163740
type Q502895
action find_tuple_counts
relation P138
type Q163740
type Q56061
action count
action filter_multi_types
action find
entity Q5715907
relation P138
type Q502895
type Q56061
[ANSWER]
[{'concept': 'Q163740'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:Q56061 ) ( ontology:Q502895 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Q5715907 property:P138 ?q . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q56061 } } } } . FILTER ( ?t = ?r ) }
Cuixart Foundation Bryant University Centro Cultural García Lorca Terry Fox foundation Case Western Reserve University Wesleyan University Williams College Judson College Seattle Pacific University Hofstra University Fundació Josep Pla Thomas Jefferson School of Law Grabar Art Conservation Center Instituto Cervantes Rosalind Franklin University of Medicine and Science Ursinus College Franklin W. Olin College of Engineering McCormick Foundation Caroline Chisholm School David Sheldrick Wildlife Trust Carthage College Valparaiso University Deutsche Mozart-Gesellschaft Astan Quds Razavi Walsh University Harvard University Luther College Wittenberg University Académie Charles Cros Hendrix College Lawrence University Henrietta Barnett School Li Ka Shing Foundation Stanford University Adolf-Clarenbach-Haus George Washington University Corcoran College of Art and Design Imatra Society Sinte Gleska University Shackleton Foundation Emory and Henry College Antioch University Midwest Macmillan Cancer Support Cornell University Franklin Pierce University Seton Hall University University of St. Thomas Soros Foundation Ida P. Rolf Fascia Research Foundation Johns Hopkins University Gallaudet University Goethe-Institut Blicher Society College of Wooster Görres society Claremont Graduate University Hamilton College Randolph–Macon College Max Planck Society Thomas Jefferson University Howard University St. Olaf College Vanderbilt University Bach Gesellschaft Randolph College
65
action count
action approx
action union
action find_tuple_counts
relation named after
type nonprofit organization
type common name
action find_tuple_counts
relation named after
type nonprofit organization
type administrative territorial entity
action count
action filter_multi_types
action find
entity Henrietta Barnett School
relation named after
type common name
type administrative territorial entity
[{'concept': 'nonprofit organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { ?w rdf:type ?y . VALUES ( ?y ) { ( ontology:administrative_territorial_entity ) ( ontology:common_name ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { resource:Henrietta_Barnett_School property:named_after ?q . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?t = ?r ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29552 Q1106819
P112
Q502895
USER
How many people founded Democratic Party or CoffeeScript ?
(Q29552,P112,c(Q502895)) (Q1106819,P112,c(Q502895))
action count
action union
action filter_type
action find
entity Q29552
relation P112
type Q502895
action filter_type
action find
entity Q1106819
relation P112
type Q502895
['Q29552', 'P112', {'concept': 'Q502895'}] ['Q1106819', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?o ) { ( resource:Q29552 ) ( resource:Q1106819 ) } . ?o property:P112 ?j }
Democratic Party CoffeeScript
action count
action union
action filter_type
action find
entity Democratic Party
relation founder
type common name
action filter_type
action find
entity CoffeeScript
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}] ['CoffeeScript', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?o ) { ( resource:Democratic_Party ) ( resource:CoffeeScript ) } . ?o property:founder ?j }
[]
common name
SYSTEM
2
Q11817 Q6181075
(Q29552,P112,c(Q502895)) (Q1106819,P112,c(Q502895))
action count
action union
action filter_type
action find
entity Q29552
relation P112
type Q502895
action filter_type
action find
entity Q1106819
relation P112
type Q502895
[ANSWER]
['Q29552', 'P112', {'concept': 'Q502895'}] ['Q1106819', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?o ) { ( resource:Q29552 ) ( resource:Q1106819 ) } . ?o property:P112 ?j }
Andrew Jackson Jeremy Ashkenas
2
action count
action union
action filter_type
action find
entity Democratic Party
relation founder
type common name
action filter_type
action find
entity CoffeeScript
relation founder
type common name
['Democratic Party', 'founder', {'concept': 'common name'}] ['CoffeeScript', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { VALUES ( ?o ) { ( resource:Democratic_Party ) ( resource:CoffeeScript ) } . ?o property:founder ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6230792
P39
Q12737077
USER
Which occupation was a position occupied by John E. Hurley ?
(Q6230792,P39,c(Q12737077))
action filter_type
action find
entity Q6230792
relation P39
type Q12737077
['Q6230792', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6230792 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
John E. Hurley
action filter_type
action find
entity John E. Hurley
relation position held
type occupation
['John E. Hurley', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:John_E._Hurley property:position_held ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q17342542
SYSTEM
Member of the Massachusetts House of Representatives
Q17342542
(Q6230792,P39,c(Q12737077))
action filter_type
action find
entity Q6230792
relation P39
type Q12737077
[ANSWER]
['Q6230792', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q6230792 property:P39 ?d . ?d rdf:type ontology:Q12737077 }
Member of the Massachusetts House of Representatives
Member of the Massachusetts House of Representatives
action filter_type
action find
entity John E. Hurley
relation position held
type occupation
['John E. Hurley', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:John_E._Hurley property:position_held ?d . ?d rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q17342542 Q1496594
P39
Q502895
USER
Did Gayton P. Osgood hold the position of that occupation ?
(Q1496594,P39,Q17342542)
action is_in
entity Q17342542
action find
entity Q1496594
relation P39
['Q1496594', 'P39', 'Q17342542']
ASK WHERE { resource:Q1496594 property:P39 resource:Q17342542 }
Member of the Massachusetts House of Representatives Gayton P. Osgood
action is_in
entity Member of the Massachusetts House of Representatives
action find
entity Gayton P. Osgood
relation position held
['Gayton P. Osgood', 'position held', 'Member of the Massachusetts House of Representatives']
ASK WHERE { resource:Gayton_P._Osgood property:position_held resource:Member_of_the_Massachusetts_House_of_Representatives }
[]
common name
SYSTEM
YES
(Q1496594,P39,Q17342542)
action is_in
entity Q17342542
action find
entity Q1496594
relation P39
[ANSWER]
['Q1496594', 'P39', 'Q17342542']
ASK WHERE { resource:Q1496594 property:P39 resource:Q17342542 }
Yes
action is_in
entity Member of the Massachusetts House of Representatives
action find
entity Gayton P. Osgood
relation position held
['Gayton P. Osgood', 'position held', 'Member of the Massachusetts House of Representatives']
ASK WHERE { resource:Gayton_P._Osgood property:position_held resource:Member_of_the_Massachusetts_House_of_Representatives }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q29552 Q30
P17
Q15617994
USER
Is that political organization situated in United States of America ?
(Q29552,P17,Q30)
action is_in
entity Q30
action find
entity Q29552
relation P17
['Q29552', 'P17', 'Q30']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 }
Democratic Party United States of America
action is_in
entity United States of America
action find
entity Democratic Party
relation country
['Democratic Party', 'country', 'United States of America']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q29552,P17,Q30)
action is_in
entity Q30
action find
entity Q29552
relation P17
[ANSWER]
['Q29552', 'P17', 'Q30']
ASK WHERE { resource:Q29552 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Democratic Party
relation country
['Democratic Party', 'country', 'United States of America']
ASK WHERE { resource:Democratic_Party property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49118 Q622449 Q30
P17
Q15617994
USER
Is Boston College located in Grünheide (Mark) and United States of America ?
(Q49118,P17,Q622449) (Q49118,P17,Q30)
action is_in
entity Q49118
action intersection
action find_reverse
entity Q622449
relation P17
action find_reverse
entity Q30
relation P17
['Q49118', 'P17', 'Q622449'] ['Q49118', 'P17', 'Q30']
ASK WHERE { resource:Q49118 property:P17 resource:Q622449 . resource:Q49118 property:P17 resource:Q30 }
Boston College Grünheide (Mark) United States of America
action is_in
entity Boston College
action intersection
action find_reverse
entity Grünheide (Mark)
relation country
action find_reverse
entity United States of America
relation country
['Boston College', 'country', 'Grünheide (Mark)'] ['Boston College', 'country', 'United States of America']
ASK WHERE { resource:Boston_College property:country resource:Grünheide_(Mark) . resource:Boston_College property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q49118,P17,Q622449) (Q49118,P17,Q30)
action is_in
entity Q49118
action intersection
action find_reverse
entity Q622449
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q49118', 'P17', 'Q622449'] ['Q49118', 'P17', 'Q30']
ASK WHERE { resource:Q49118 property:P17 resource:Q622449 . resource:Q49118 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity Boston College
action intersection
action find_reverse
entity Grünheide (Mark)
relation country
action find_reverse
entity United States of America
relation country
['Boston College', 'country', 'Grünheide (Mark)'] ['Boston College', 'country', 'United States of America']
ASK WHERE { resource:Boston_College property:country resource:Grünheide_(Mark) . resource:Boston_College property:country resource:United_States_of_America }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q16003532
P921
Q12737077 Q191067 Q838948
USER
Which occupations were the main subjects in the work lesser number of articles and works of art than middle school student ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q16003532
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?o WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?a rdf:type ?z } GROUP BY ?o } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P921 resource:Q16003532 . { { ?l rdf:type ontology:Q191067 } UNION { ?l rdf:type ontology:Q838948 } } } } }
middle school student
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity middle school student
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?o WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:article ) } . ?a rdf:type ?z } GROUP BY ?o } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:main_subject resource:middle_school_student . { { ?l rdf:type ontology:article } UNION { ?l rdf:type ontology:work_of_art } } } } }
[]
occupation article work of art
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q2961580 Q43845 Q14128148 Q814356 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q245068 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q16003532
relation P921
type Q191067
type Q838948
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?o WHERE { VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q191067 ) } . ?a rdf:type ?z } GROUP BY ?o } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:P921 resource:Q16003532 . { { ?l rdf:type ontology:Q191067 } UNION { ?l rdf:type ontology:Q838948 } } } } }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate taxi driver businessperson gridiron football player call girl political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor comedian peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire Member of Parliament in the United Kingdom
Fletcher Christian farmer librarian
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity middle school student
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) ?o WHERE { VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:article ) } . ?a rdf:type ?z } GROUP BY ?o } . FILTER ( ?e < ?t ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { ?l property:main_subject resource:middle_school_student . { { ?l rdf:type ontology:article } UNION { ?l rdf:type ontology:work_of_art } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q172907
P921
Q12737077 Q191067 Q838948
USER
And also tell me about praetor?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q172907
relation P921
type Q191067
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?p rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } . ?y property:P921 resource:Q172907 } } . FILTER ( ?v < ?d ) }
praetor
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity praetor
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:article ) ( ontology:work_of_art ) } . ?p rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:article ) ( ontology:work_of_art ) } } . ?y property:main_subject resource:praetor } } . FILTER ( ?v < ?d ) }
[]
occupation article work of art
Q131512 Q42973 Q16707842
SYSTEM
farmer, architect, Member of Parliament in the United Kingdom
Q9045502 Q2666591 Q5185440 Q765778 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q43845 Q14128148 Q814356 Q168559 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q654291 Q14373094 Q483501 Q1114448 Q16533 Q18220900 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q838811 Q219477 Q1006696 Q639669 Q49757 Q17143199 Q384593 Q372436 Q1238570 Q2259532 Q361593 Q1856798 Q16707842
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action less
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q172907
relation P921
type Q191067
type Q838948
[ANSWERS]
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } . ?p rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q191067 ) ( ontology:Q838948 ) } } . ?y property:P921 resource:Q172907 } } . FILTER ( ?v < ?d ) }
member of the Parliament of Norway Chair of the Federal Reserve Crime scene cleanup organist surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate businessperson gridiron football player call girl political commissar double agent member of the Lok Sabha soldier bishop member of parliament violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver Deputy to the Dáil rugby league player artist cartoonist judge Member of the South Australian House of Assembly caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor peasant missionary United States federal judge musician poet medical examiner police officer statesman political scientist cleric police officer baseball umpire Member of Parliament in the United Kingdom
farmer architect Member of Parliament in the United Kingdom
action less
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity praetor
relation main subject
type article
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?v ) WHERE { VALUES ( ?g ) { ( ontology:article ) ( ontology:work_of_art ) } . ?p rdf:type ?g } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:article ) ( ontology:work_of_art ) } } . ?y property:main_subject resource:praetor } } . FILTER ( ?v < ?d ) }
[]