Simple Question (Direct)
Simple Question
Q216118
P119
Q43229
USER
Where is the place of burial for Paul László located ?
(Q216118,P119,c(Q43229))
action filter_type
action find
entity Q216118
relation P119
type Q43229
['Q216118', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q216118 property:P119 ?y . ?y rdf:type ontology:Q43229 }
Paul László
action filter_type
action find
entity Paul László
relation place of burial
type organization
['Paul László', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Paul_László property:place_of_burial ?y . ?y rdf:type ontology:organization }
[]
organization
Q1358639
SYSTEM
Westwood Village Memorial Park Cemetery
Q1358639
(Q216118,P119,c(Q43229))
action filter_type
action find
entity Q216118
relation P119
type Q43229
The place of burial for Paul László is located in [ANSWER]
['Q216118', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q216118 property:P119 ?y . ?y rdf:type ontology:Q43229 }
Westwood Village Memorial Park Cemetery
The place of burial for Paul László is located in Westwood Village Memorial Park Cemetery
Westwood Village Memorial Park Cemetery
action filter_type
action find
entity Paul László
relation place of burial
type organization
['Paul László', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Paul_László property:place_of_burial ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216118
P20
Q56061
USER
Where did the demise of Paul László occur ?
(Q216118,P20,c(Q56061))
action filter_type
action find
entity Q216118
relation P20
type Q56061
['Q216118', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q216118 property:P20 ?w }
Paul László
action filter_type
action find
entity Paul László
relation place of death
type administrative territorial entity
['Paul László', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Paul_László property:place_of_death ?w }
[]
administrative territorial entity
Q47164
SYSTEM
Santa Monica
Q47164
(Q216118,P20,c(Q56061))
action filter_type
action find
entity Q216118
relation P20
type Q56061
The demise of Paul László occurred in [ANSWER]
['Q216118', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q216118 property:P20 ?w }
Santa Monica
The demise of Paul László occurred in Santa Monica
Santa Monica
action filter_type
action find
entity Paul László
relation place of death
type administrative territorial entity
['Paul László', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Paul_László property:place_of_death ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216118
P106
Q12737077
USER
Which occupations are the professions of Paul László ?
(Q216118,P106,c(Q12737077))
action filter_type
action find
entity Q216118
relation P106
type Q12737077
['Q216118', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q216118 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Paul László
action filter_type
action find
entity Paul László
relation occupation
type occupation
['Paul László', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Paul_László property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q42973 Q5322166
SYSTEM
architect, designer
Q42973 Q5322166
(Q216118,P106,c(Q12737077))
action filter_type
action find
entity Q216118
relation P106
type Q12737077
The professions of Paul László are the [ANSWERS]
['Q216118', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q216118 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
architect designer
The professions of Paul László are the architect and designer
architect designer
action filter_type
action find
entity Paul László
relation occupation
type occupation
['Paul László', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Paul_László property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P101
Q1914636 Q58778 Q43229
USER
Which organizations have his/her area as atmost 2 activities and systems ?
(c(Q43229),P101,c(Q1914636)|c(Q58778))
action atmost
action union
action find_tuple_counts
relation P101
type Q43229
type Q1914636
action find_tuple_counts
relation P101
type Q43229
type Q58778
value 2
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q1914636'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?a property:P101 ?w . ?a rdf:type ontology:Q43229 . ?w rdf:type ontology:Q58778 } UNION { ?a property:P101 ?w . ?a rdf:type ontology:Q43229 . ?w rdf:type ontology:Q1914636 } } GROUP BY ?a } . FILTER ( ?u <= 2 ) }
action atmost
action union
action find_tuple_counts
relation field of work
type organization
type activity
action find_tuple_counts
relation field of work
type organization
type system
value 2
[{'concept': 'organization'}, 'field of work', [{'concept': 'activity'}, {'concept': 'system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?a property:field_of_work ?w . ?a rdf:type ontology:organization . ?w rdf:type ontology:system } UNION { ?a property:field_of_work ?w . ?a rdf:type ontology:organization . ?w rdf:type ontology:activity } } GROUP BY ?a } . FILTER ( ?u <= 2 ) }
[]
activity system organization
Q2842849 Q1830038 Q24336846
SYSTEM
American Alliance of Museums, Center for Public Integrity, Nevercrew
Q882355 Q16879120 Q17275959 Q4810131 Q7566627 Q1202877 Q7203726 Q17053378 Q772547 Q17182491 Q632013 Q5359840 Q4048379 Q2831738 Q4397763 Q5871472 Q5499899 Q4958705 Q5023936 Q18590100 Q1075994 Q20899876 Q6952630 Q19559831 Q3066228 Q22669992 Q1058914 Q574985 Q17182150 Q4387609 Q647493 Q282967 Q24040733 Q4789272 Q14691924 Q8963096 Q8025936 Q17092916 Q62341 Q4744098 Q19314966 Q3061374 Q7516771 Q5333360 Q377192 Q3332621 Q8059648 Q569273 Q5761665 Q17182282 Q18690853 Q11892170 Q5031671 Q23451275 Q18694341 Q17156177 Q16959190 Q1529128 Q55206 Q74877 Q2529854 Q25119446 Q981349 Q3211913 Q1138046 Q3356176 Q2842849 Q463258 Q7707897 Q11896814 Q5570597 Q5030170 Q5376002 Q5465482 Q1275112 Q7390611 Q21029280 Q23894214 Q4852955 Q5203287 Q6175727 Q1200706 Q286673 Q5249223 Q19908438 Q27580890 Q19561271 Q6500733 Q11897477 Q4309929 Q1543093 Q11891929 Q4863417 Q3357065 Q1830038 Q3191943 Q5755073 Q11340731 Q19334262 Q7370254 Q6449572 Q23894208 Q18811462 Q2945223 Q380342 Q1764307 Q18690925 Q6411797 Q685777 Q5450772 Q327884 Q24074500 Q2470594 Q26448444 Q94786 Q1391304 Q1410527 Q860572 Q23927926 Q19364018 Q25086060 Q18424822 Q2859148 Q319845 Q3321166 Q24175902 Q19544203 Q4640709 Q2948472 Q1341478 Q24706960 Q491458 Q2840345 Q4686894 Q19285361 Q24336846 Q7927334 Q5358610 Q12072279
(c(Q43229),P101,c(Q1914636)|c(Q58778))
action atmost
action union
action find_tuple_counts
relation P101
type Q43229
type Q1914636
action find_tuple_counts
relation P101
type Q43229
type Q58778
value 2
[ANSWERS] have his/her area as atmost 2 activities and systems
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q1914636'}, {'concept': 'Q58778'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?a property:P101 ?w . ?a rdf:type ontology:Q43229 . ?w rdf:type ontology:Q58778 } UNION { ?a property:P101 ?w . ?a rdf:type ontology:Q43229 . ?w rdf:type ontology:Q1914636 } } GROUP BY ?a } . FILTER ( ?u <= 2 ) }
Wau Holland Foundation Lavauzelle Graphic Cascade AIDS Project Association of Women for Action and Research South Carolina Railroad German Professional Association for Information & Knowledge Plazi Malaysia Mental Literacy Movement armed forces AIDS Foundation Houston Service Civil International Eley Kishimoto Rock Mafia Expertise Centre for Forensic Psychiatry Rosinter Restaurants Fundación Salvador Seguí Free Knowledge Foundation Brazilian Antarctic Program InfiniDB Fondital Special Broadcasting Service G. Peignot et Fils NAWO Cozy FamilySearch Murdoch Childrens Research Institute software house Macchiaioli Bunnies on the Bayou architectural firm Arts Vision Agnès b. mixed martial arts organization Argentine Antarctic Program Wetterauer Engineering Fundación de Investigaciones Marxistas Winslow, Lanier & Co. Schmidt Ocean Institute Vacheron Constantin American Indian Higher Education Consortium theatre comedy group Evellin, goldsmith Silversher & Silversher Economic Cooperation Foundation The Designers Republic Community Boards Yrjö Jahnsson Foundation Treni Regionali Ticino Lombardia Centro de Estudios Andaluces Q Center Sigrid Jusélius Foundation Samaria ry Candia Spelling Reform Association Finnish Aeronautical Association National Center on Time & Learning Notion Capital postal service Sally Ride Science JCDecaux Vodohod Papelera Española British Interplanetary Society LP8 média Covens & Mortier Organization of American Historians American Alliance of Museums American Abstract Artists Texas Outlaw Comics Finnish Foundation for Technology Promotion Global Research Alliance Canadian Industries Limited Endeca Technologies Inc. Food for the Hungry Elsham SKINNY Con más American College of Clinical Pharmacy Baltimore and Ohio Chicago Terminal Railroad D-Sight Jeffersonville, Madison and Indianapolis Railroad Immediate Music Nefesh B'Nefesh Decision Support Panel Committee Against Torture Lonxanet Loyn & Co printer Tieke Flemish Esperanto League Stockmann Saimaan kameraseura Barrett-Jackson Reitan Group Center for Public Integrity Kaigetsudō school Casa de Zamora en Madrid Manual of Errors Artists cabaret ensemble Rotary Watches Kvadrat Academy of Managed Care Pharmacy science fiction club Centro de Estudios Históricos manufactory Sundance Institute Finnish Book Foundation King Kigeli V Foundation Software in the Public Interest Finnish Film Foundation Wycliffe Global Alliance Fundación José Manuel Lara AKhRR MORElab Daniel Kern Manufacture d'Orgues WOT Services War Resisters League photo agency amaBhungane Lanchester Marionettes auction company Giants Software Aqualand investment bank Monon Railroad Giants! Gaming Connétable 568 Group Tokutek Energy company Women in Animation SoundTeMP Alter Eco Advocates for Informed Choice Ateliers Henri Chapron Nevercrew Victorian Tertiary Admissions Centre Elefantasia Rozetka
American Alliance of Museums, Center for Public Integrity and Nevercrew have his/her area as atmost 2 activities and systems
American Alliance of Museums Center for Public Integrity Nevercrew
action atmost
action union
action find_tuple_counts
relation field of work
type organization
type activity
action find_tuple_counts
relation field of work
type organization
type system
value 2
[{'concept': 'organization'}, 'field of work', [{'concept': 'activity'}, {'concept': 'system'}]]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?a WHERE { { ?a property:field_of_work ?w . ?a rdf:type ontology:organization . ?w rdf:type ontology:system } UNION { ?a property:field_of_work ?w . ?a rdf:type ontology:organization . ?w rdf:type ontology:activity } } GROUP BY ?a } . FILTER ( ?u <= 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1830038
P159
Q56061
USER
Which administrative territory is the headquarter location of that organization ?
(Q1830038,P159,c(Q56061))
action filter_type
action find
entity Q1830038
relation P159
type Q56061
['Q1830038', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1830038 property:P159 ?o }
Center for Public Integrity
action filter_type
action find
entity Center for Public Integrity
relation headquarters location
type administrative territorial entity
['Center for Public Integrity', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Center_for_Public_Integrity property:headquarters_location ?o }
[]
administrative territorial entity
Clarification for simple ques.
Q24336846
SYSTEM
Did you mean Nevercrew ?
Q2842849 Q1830038 Q24336846
(Q2842849,P159,c(Q56061)) (Q1830038,P159,c(Q56061)) (Q24336846,P159,c(Q56061))
[ANSWER]
['Q2842849', 'P159', {'concept': 'Q56061'}] ['Q1830038', 'P159', {'concept': 'Q56061'}] ['Q24336846', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1830038 property:P159 ?o }
American Alliance of Museums Center for Public Integrity Nevercrew
Did you mean Nevercrew ?
Nevercrew
['American Alliance of Museums', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Center for Public Integrity', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Nevercrew', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Center_for_Public_Integrity property:headquarters_location ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Center for Public Integrity. Could you tell me the answer for that?
(Q1830038,P159,c(Q56061))
Q1830038
['Q1830038', 'P159', {'concept': 'Q56061'}]
['Center for Public Integrity', 'headquarters location', {'concept': 'administrative territorial entity'}]
[]
Q61
SYSTEM
Washington, D.C.
Q61
(Q1830038,P159,c(Q56061))
action filter_type
action find
entity Q1830038
relation P159
type Q56061
[ANSWER] is the headquarter location of that organization
['Q1830038', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q1830038 property:P159 ?o }
Washington, D.C.
Washington, D.C. is the headquarter location of that organization
Washington, D.C.
action filter_type
action find
entity Center for Public Integrity
relation headquarters location
type administrative territorial entity
['Center for Public Integrity', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Center_for_Public_Integrity property:headquarters_location ?o }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P101
Q5962346 Q336 Q43229
USER
Which organizations have field of work as min number of classification schemes and sciences ?
(c(Q43229),P101,c(Q5962346)|c(Q336))
action argmin
action union
action find_tuple_counts
relation P101
type Q43229
type Q5962346
action find_tuple_counts
relation P101
type Q43229
type Q336
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q5962346'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:Q336 ) ( ontology:Q5962346 ) } . ?j rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( MIN ( ?h ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { { ?y property:P101 ?q . ?y rdf:type ontology:Q43229 . ?q rdf:type ontology:Q5962346 } UNION { ?y property:P101 ?q . ?y rdf:type ontology:Q43229 . ?q rdf:type ontology:Q336 } } GROUP BY ?y } } }
action argmin
action union
action find_tuple_counts
relation field of work
type organization
type classification scheme
action find_tuple_counts
relation field of work
type organization
type science
[{'concept': 'organization'}, 'field of work', [{'concept': 'classification scheme'}, {'concept': 'science'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:science ) ( ontology:classification_scheme ) } . ?j rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( MIN ( ?h ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { { ?y property:field_of_work ?q . ?y rdf:type ontology:organization . ?q rdf:type ontology:classification_scheme } UNION { ?y property:field_of_work ?q . ?y rdf:type ontology:organization . ?q rdf:type ontology:science } } GROUP BY ?y } } }
[]
classification scheme science organization
Q2842849 Q1830038 Q24336846
SYSTEM
American Alliance of Museums, Center for Public Integrity, Nevercrew
Q882355 Q16879120 Q17275959 Q4810131 Q7566627 Q1202877 Q7203726 Q17053378 Q772547 Q17182491 Q632013 Q5359840 Q4048379 Q2831738 Q4397763 Q5871472 Q5499899 Q4958705 Q5023936 Q18590100 Q1075994 Q20899876 Q6952630 Q19559831 Q22669992 Q1058914 Q574985 Q17182150 Q4387609 Q647493 Q282967 Q24040733 Q4789272 Q14691924 Q8963096 Q8025936 Q17092916 Q62341 Q4744098 Q19314966 Q3061374 Q7516771 Q5333360 Q3332621 Q569273 Q5761665 Q17182282 Q18690853 Q11892170 Q5031671 Q23451275 Q18694341 Q17156177 Q16959190 Q1529128 Q55206 Q74877 Q2529854 Q25119446 Q981349 Q3211913 Q1138046 Q3356176 Q2842849 Q463258 Q7707897 Q11896814 Q5570597 Q5030170 Q5376002 Q5465482 Q1275112 Q7390611 Q21029280 Q23894214 Q4852955 Q5203287 Q6175727 Q1200706 Q286673 Q5249223 Q19908438 Q27580890 Q19561271 Q6500733 Q11897477 Q4309929 Q1543093 Q11891929 Q4863417 Q3357065 Q1830038 Q3191943 Q5755073 Q11340731 Q19334262 Q7370254 Q6449572 Q23894208 Q18811462 Q2945223 Q380342 Q1764307 Q18690925 Q6411797 Q685777 Q5450772 Q327884 Q24074500 Q2470594 Q26448444 Q94786 Q1391304 Q1410527 Q860572 Q23927926 Q19364018 Q25086060 Q18424822 Q2859148 Q319845 Q3321166 Q24175902 Q19544203 Q4640709 Q2948472 Q1341478 Q24706960 Q491458 Q2840345 Q4686894 Q19285361 Q24336846 Q7927334 Q5358610 Q12072279
(c(Q43229),P101,c(Q5962346)|c(Q336))
action argmin
action union
action find_tuple_counts
relation P101
type Q43229
type Q5962346
action find_tuple_counts
relation P101
type Q43229
type Q336
[ANSWERS] have field of work as min number of classification schemes and sciences
[{'concept': 'Q43229'}, 'P101', [{'concept': 'Q5962346'}, {'concept': 'Q336'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:Q336 ) ( ontology:Q5962346 ) } . ?j rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( MIN ( ?h ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { { ?y property:P101 ?q . ?y rdf:type ontology:Q43229 . ?q rdf:type ontology:Q5962346 } UNION { ?y property:P101 ?q . ?y rdf:type ontology:Q43229 . ?q rdf:type ontology:Q336 } } GROUP BY ?y } } }
Wau Holland Foundation Lavauzelle Graphic Cascade AIDS Project Association of Women for Action and Research South Carolina Railroad German Professional Association for Information & Knowledge Plazi Malaysia Mental Literacy Movement armed forces AIDS Foundation Houston Service Civil International Eley Kishimoto Rock Mafia Expertise Centre for Forensic Psychiatry Rosinter Restaurants Fundación Salvador Seguí Free Knowledge Foundation Brazilian Antarctic Program InfiniDB Fondital Special Broadcasting Service G. Peignot et Fils NAWO Cozy Murdoch Childrens Research Institute software house Macchiaioli Bunnies on the Bayou architectural firm Arts Vision Agnès b. mixed martial arts organization Argentine Antarctic Program Wetterauer Engineering Fundación de Investigaciones Marxistas Winslow, Lanier & Co. Schmidt Ocean Institute Vacheron Constantin American Indian Higher Education Consortium theatre comedy group Evellin, goldsmith Silversher & Silversher Economic Cooperation Foundation Community Boards Treni Regionali Ticino Lombardia Centro de Estudios Andaluces Q Center Sigrid Jusélius Foundation Samaria ry Candia Spelling Reform Association Finnish Aeronautical Association National Center on Time & Learning Notion Capital postal service Sally Ride Science JCDecaux Vodohod Papelera Española British Interplanetary Society LP8 média Covens & Mortier Organization of American Historians American Alliance of Museums American Abstract Artists Texas Outlaw Comics Finnish Foundation for Technology Promotion Global Research Alliance Canadian Industries Limited Endeca Technologies Inc. Food for the Hungry Elsham SKINNY Con más American College of Clinical Pharmacy Baltimore and Ohio Chicago Terminal Railroad D-Sight Jeffersonville, Madison and Indianapolis Railroad Immediate Music Nefesh B'Nefesh Decision Support Panel Committee Against Torture Lonxanet Loyn & Co printer Tieke Flemish Esperanto League Stockmann Saimaan kameraseura Barrett-Jackson Reitan Group Center for Public Integrity Kaigetsudō school Casa de Zamora en Madrid Manual of Errors Artists cabaret ensemble Rotary Watches Kvadrat Academy of Managed Care Pharmacy science fiction club Centro de Estudios Históricos manufactory Sundance Institute Finnish Book Foundation King Kigeli V Foundation Software in the Public Interest Finnish Film Foundation Wycliffe Global Alliance Fundación José Manuel Lara AKhRR MORElab Daniel Kern Manufacture d'Orgues WOT Services War Resisters League photo agency amaBhungane Lanchester Marionettes auction company Giants Software Aqualand investment bank Monon Railroad Giants! Gaming Connétable 568 Group Tokutek Energy company Women in Animation SoundTeMP Alter Eco Advocates for Informed Choice Ateliers Henri Chapron Nevercrew Victorian Tertiary Admissions Centre Elefantasia Rozetka
American Alliance of Museums, Center for Public Integrity and Nevercrew have field of work as min number of classification schemes and sciences
American Alliance of Museums Center for Public Integrity Nevercrew
action argmin
action union
action find_tuple_counts
relation field of work
type organization
type classification scheme
action find_tuple_counts
relation field of work
type organization
type science
[{'concept': 'organization'}, 'field of work', [{'concept': 'classification scheme'}, {'concept': 'science'}]]
SELECT DISTINCT ?x WHERE { FILTER ( ?a = ?i ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?a ) WHERE { VALUES ( ?f ) { ( ontology:science ) ( ontology:classification_scheme ) } . ?j rdf:type ?f } GROUP BY ?x } . { SELECT DISTINCT ( MIN ( ?h ) AS ?i ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?h ) WHERE { { ?y property:field_of_work ?q . ?y rdf:type ontology:organization . ?q rdf:type ontology:classification_scheme } UNION { ?y property:field_of_work ?q . ?y rdf:type ontology:organization . ?q rdf:type ontology:science } } GROUP BY ?y } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P101
Q483394 Q2198855
USER
How many genres and cultural movements are the fields of work of that organization ?
(Q24336846,P101,c(Q483394)) (Q24336846,P101,c(Q2198855)) (Q2842849,P101,c(Q483394)) (Q2842849,P101,c(Q2198855)) (Q1830038,P101,c(Q483394)) (Q1830038,P101,c(Q2198855)) (Q24336846,P101,c(Q483394)) (Q24336846,P101,c(Q2198855))
['Q24336846', 'P101', {'concept': 'Q483394'}] ['Q24336846', 'P101', {'concept': 'Q2198855'}] ['Q2842849', 'P101', {'concept': 'Q483394'}] ['Q2842849', 'P101', {'concept': 'Q2198855'}] ['Q1830038', 'P101', {'concept': 'Q483394'}] ['Q1830038', 'P101', {'concept': 'Q2198855'}] ['Q24336846', 'P101', {'concept': 'Q483394'}] ['Q24336846', 'P101', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q24336846 property:Q627436 ?z } UNION { resource:Q24336846 property:Q627436 ?y } UNION { resource:Q2842849 property:Q627436 ?z } UNION { resource:Q2842849 property:Q627436 ?y } UNION { resource:Q1830038 property:Q627436 ?z } UNION { resource:Q1830038 property:Q627436 ?y } UNION { resource:Q24336846 property:Q627436 ?z } UNION { resource:Q24336846 property:Q627436 ?y } } . ?z rdf:type ontology:Q483394 . ?y rdf:type ontology:Q2198855 }
['Nevercrew', 'field of work', {'concept': 'genre'}] ['Nevercrew', 'field of work', {'concept': 'cultural movement'}] ['American Alliance of Museums', 'field of work', {'concept': 'genre'}] ['American Alliance of Museums', 'field of work', {'concept': 'cultural movement'}] ['Center for Public Integrity', 'field of work', {'concept': 'genre'}] ['Center for Public Integrity', 'field of work', {'concept': 'cultural movement'}] ['Nevercrew', 'field of work', {'concept': 'genre'}] ['Nevercrew', 'field of work', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Nevercrew property:field_of_work ?z } UNION { resource:Nevercrew property:field_of_work ?y } UNION { resource:American_Alliance_of_Museums property:field_of_work ?z } UNION { resource:American_Alliance_of_Museums property:field_of_work ?y } UNION { resource:Center_for_Public_Integrity property:field_of_work ?z } UNION { resource:Center_for_Public_Integrity property:field_of_work ?y } UNION { resource:Nevercrew property:field_of_work ?z } UNION { resource:Nevercrew property:field_of_work ?y } } . ?z rdf:type ontology:genre . ?y rdf:type ontology:cultural_movement }
[]
genre cultural movement
Quantitative|Count|Mult. entity type|Clarification
Q1830038
SYSTEM
Did you mean Center for Public Integrity ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q24336846 property:Q627436 ?z } UNION { resource:Q24336846 property:Q627436 ?y } UNION { resource:Q2842849 property:Q627436 ?z } UNION { resource:Q2842849 property:Q627436 ?y } UNION { resource:Q1830038 property:Q627436 ?z } UNION { resource:Q1830038 property:Q627436 ?y } UNION { resource:Q24336846 property:Q627436 ?z } UNION { resource:Q24336846 property:Q627436 ?y } } . ?z rdf:type ontology:Q483394 . ?y rdf:type ontology:Q2198855 }
Did you mean Center for Public Integrity ?
Center for Public Integrity
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Nevercrew property:field_of_work ?z } UNION { resource:Nevercrew property:field_of_work ?y } UNION { resource:American_Alliance_of_Museums property:field_of_work ?z } UNION { resource:American_Alliance_of_Museums property:field_of_work ?y } UNION { resource:Center_for_Public_Integrity property:field_of_work ?z } UNION { resource:Center_for_Public_Integrity property:field_of_work ?y } UNION { resource:Nevercrew property:field_of_work ?z } UNION { resource:Nevercrew property:field_of_work ?y } } . ?z rdf:type ontology:genre . ?y rdf:type ontology:cultural_movement }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Nevercrew. Could you tell me the answer for that?
(Q24336846,P101,c(Q483394)) (Q24336846,P101,c(Q2198855)) (Q2842849,P101,c(Q483394)) (Q2842849,P101,c(Q2198855)) (Q1830038,P101,c(Q483394)) (Q1830038,P101,c(Q2198855)) (Q24336846,P101,c(Q483394)) (Q24336846,P101,c(Q2198855))
Q24336846
['Q24336846', 'P101', {'concept': 'Q483394'}] ['Q24336846', 'P101', {'concept': 'Q2198855'}] ['Q2842849', 'P101', {'concept': 'Q483394'}] ['Q2842849', 'P101', {'concept': 'Q2198855'}] ['Q1830038', 'P101', {'concept': 'Q483394'}] ['Q1830038', 'P101', {'concept': 'Q2198855'}] ['Q24336846', 'P101', {'concept': 'Q483394'}] ['Q24336846', 'P101', {'concept': 'Q2198855'}]
['Nevercrew', 'field of work', {'concept': 'genre'}] ['Nevercrew', 'field of work', {'concept': 'cultural movement'}] ['American Alliance of Museums', 'field of work', {'concept': 'genre'}] ['American Alliance of Museums', 'field of work', {'concept': 'cultural movement'}] ['Center for Public Integrity', 'field of work', {'concept': 'genre'}] ['Center for Public Integrity', 'field of work', {'concept': 'cultural movement'}] ['Nevercrew', 'field of work', {'concept': 'genre'}] ['Nevercrew', 'field of work', {'concept': 'cultural movement'}]
[]
SYSTEM
2 genres and 1 cultural movements
Q17516 Q186030 Q15852218
(Q24336846,P101,c(Q483394)) (Q24336846,P101,c(Q2198855)) (Q2842849,P101,c(Q483394)) (Q2842849,P101,c(Q2198855)) (Q1830038,P101,c(Q483394)) (Q1830038,P101,c(Q2198855)) (Q24336846,P101,c(Q483394)) (Q24336846,P101,c(Q2198855))
[ANSWER]
['Q24336846', 'P101', {'concept': 'Q483394'}] ['Q24336846', 'P101', {'concept': 'Q2198855'}] ['Q2842849', 'P101', {'concept': 'Q483394'}] ['Q2842849', 'P101', {'concept': 'Q2198855'}] ['Q1830038', 'P101', {'concept': 'Q483394'}] ['Q1830038', 'P101', {'concept': 'Q2198855'}] ['Q24336846', 'P101', {'concept': 'Q483394'}] ['Q24336846', 'P101', {'concept': 'Q2198855'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q24336846 property:Q627436 ?z } UNION { resource:Q24336846 property:Q627436 ?y } UNION { resource:Q2842849 property:Q627436 ?z } UNION { resource:Q2842849 property:Q627436 ?y } UNION { resource:Q1830038 property:Q627436 ?z } UNION { resource:Q1830038 property:Q627436 ?y } UNION { resource:Q24336846 property:Q627436 ?z } UNION { resource:Q24336846 property:Q627436 ?y } } . ?z rdf:type ontology:Q483394 . ?y rdf:type ontology:Q2198855 }
street art contemporary art urban art
2 genres and 1 cultural movements
['Nevercrew', 'field of work', {'concept': 'genre'}] ['Nevercrew', 'field of work', {'concept': 'cultural movement'}] ['American Alliance of Museums', 'field of work', {'concept': 'genre'}] ['American Alliance of Museums', 'field of work', {'concept': 'cultural movement'}] ['Center for Public Integrity', 'field of work', {'concept': 'genre'}] ['Center for Public Integrity', 'field of work', {'concept': 'cultural movement'}] ['Nevercrew', 'field of work', {'concept': 'genre'}] ['Nevercrew', 'field of work', {'concept': 'cultural movement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Nevercrew property:field_of_work ?z } UNION { resource:Nevercrew property:field_of_work ?y } UNION { resource:American_Alliance_of_Museums property:field_of_work ?z } UNION { resource:American_Alliance_of_Museums property:field_of_work ?y } UNION { resource:Center_for_Public_Integrity property:field_of_work ?z } UNION { resource:Center_for_Public_Integrity property:field_of_work ?y } UNION { resource:Nevercrew property:field_of_work ?z } UNION { resource:Nevercrew property:field_of_work ?y } } . ?z rdf:type ontology:genre . ?y rdf:type ontology:cultural_movement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1830038
P463
Q502895
USER
Which person is a member of Center for Public Integrity ?
(c(Q502895),P463,Q1830038)
action filter_type
action find_reverse
entity Q1830038
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q1830038']
SELECT DISTINCT ?b WHERE { ?b property:P463 resource:Q1830038 . ?b rdf:type ontology:Q502895 }
Center for Public Integrity
action filter_type
action find_reverse
entity Center for Public Integrity
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Center for Public Integrity']
SELECT DISTINCT ?b WHERE { ?b property:member_of resource:Center_for_Public_Integrity . ?b rdf:type ontology:common_name }
[]
common name
Q233397
SYSTEM
Arianna Huffington
Q233397
(c(Q502895),P463,Q1830038)
action filter_type
action find_reverse
entity Q1830038
relation P463
type Q502895
[ANSWER] is a member of Center for Public Integrity
[{'concept': 'Q502895'}, 'P463', 'Q1830038']
SELECT DISTINCT ?b WHERE { ?b property:P463 resource:Q1830038 . ?b rdf:type ontology:Q502895 }
Arianna Huffington
Arianna Huffington is a member of Center for Public Integrity
Arianna Huffington
action filter_type
action find_reverse
entity Center for Public Integrity
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Center for Public Integrity']
SELECT DISTINCT ?b WHERE { ?b property:member_of resource:Center_for_Public_Integrity . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q233397
P551
Q56061
USER
Where did that person live ?
(Q233397,P551,c(Q56061))
action filter_type
action find
entity Q233397
relation P551
type Q56061
['Q233397', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q233397 property:P551 ?i . ?i rdf:type ontology:Q56061 }
Arianna Huffington
action filter_type
action find
entity Arianna Huffington
relation residence
type administrative territorial entity
['Arianna Huffington', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Arianna_Huffington property:residence ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524 Q350
SYSTEM
Athens, Cambridge
Q1524 Q350
(Q233397,P551,c(Q56061))
action filter_type
action find
entity Q233397
relation P551
type Q56061
That person lived in [ANSWERS]
['Q233397', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q233397 property:P551 ?i . ?i rdf:type ontology:Q56061 }
Athens Cambridge
That person lived in Athens and Cambridge
Athens Cambridge
action filter_type
action find
entity Arianna Huffington
relation residence
type administrative territorial entity
['Arianna Huffington', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Arianna_Huffington property:residence ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11359031
P551
Q502895
USER
Does Ai Ueto reside at those administrative territories ?
(Q11359031,P551,Q1524) (Q11359031,P551,Q350)
action is_in
entity prev_answer
action find
entity Q11359031
relation P551
['Q11359031', 'P551', 'Q1524'] ['Q11359031', 'P551', 'Q350']
ASK WHERE { resource:Q11359031 property:P551 ?j . VALUES ( ?j ) { ( resource:Q1524 ) ( resource:Q350 ) } }
Ai Ueto
action is_in
entity prev_answer
action find
entity Ai Ueto
relation residence
['Ai Ueto', 'residence', 'Athens'] ['Ai Ueto', 'residence', 'Cambridge']
ASK WHERE { resource:Ai_Ueto property:residence ?j . VALUES ( ?j ) { ( resource:Athens ) ( resource:Cambridge ) } }
[]
common name
SYSTEM
NO
(Q11359031,P551,Q1524) (Q11359031,P551,Q350)
action is_in
entity prev_answer
action find
entity Q11359031
relation P551
[ANSWER]
['Q11359031', 'P551', 'Q1524'] ['Q11359031', 'P551', 'Q350']
ASK WHERE { resource:Q11359031 property:P551 ?j . VALUES ( ?j ) { ( resource:Q1524 ) ( resource:Q350 ) } }
No
action is_in
entity prev_answer
action find
entity Ai Ueto
relation residence
['Ai Ueto', 'residence', 'Athens'] ['Ai Ueto', 'residence', 'Cambridge']
ASK WHERE { resource:Ai_Ueto property:residence ?j . VALUES ( ?j ) { ( resource:Athens ) ( resource:Cambridge ) } }
[]