Simple Question (Direct)
Simple Question
Q2458381
P106
Q12737077
USER
What are the professions of Al Belletto ?
(Q2458381,P106,c(Q12737077))
action filter_type
action find
entity Q2458381
relation P106
type Q12737077
['Q2458381', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2458381 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Al Belletto
action filter_type
action find
entity Al Belletto
relation occupation
type occupation
['Al Belletto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Al_Belletto property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q15981151 Q806349 Q12800682
SYSTEM
jazz musician, bandleader, saxophonist
Q15981151 Q806349 Q12800682
(Q2458381,P106,c(Q12737077))
action filter_type
action find
entity Q2458381
relation P106
type Q12737077
The professions of Al Belletto are [ANSWERS]
['Q2458381', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q2458381 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
jazz musician bandleader saxophonist
The professions of Al Belletto are jazz musician, bandleader and saxophonist
jazz musician bandleader saxophonist
action filter_type
action find
entity Al Belletto
relation occupation
type occupation
['Al Belletto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Al_Belletto property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15981151
P425
Q151885
USER
Which concept is associated with the field of occupation jazz musician ?
(Q15981151,P425,c(Q151885))
action filter_type
action find
entity Q15981151
relation P425
type Q151885
['Q15981151', 'P425', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q15981151 property:P425 ?h . ?h rdf:type ontology:Q151885 }
jazz musician
action filter_type
action find
entity jazz musician
relation field of this occupation
type concept
['jazz musician', 'field of this occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:jazz_musician property:field_of_this_occupation ?h . ?h rdf:type ontology:concept }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q15981151,P425,c(Q151885))
action filter_type
action find
entity Q15981151
relation P425
type Q151885
And [ANSWER] is associated with the field of occupation [ANSWER] musician
['Q15981151', 'P425', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q15981151 property:P425 ?h . ?h rdf:type ontology:Q151885 }
jazz
And jazz is associated with the field of occupation jazz musician
jazz
action filter_type
action find
entity jazz musician
relation field of this occupation
type concept
['jazz musician', 'field of this occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:jazz_musician property:field_of_this_occupation ?h . ?h rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2458381
P27
Q15617994
USER
Which administrative territory is Al Belletto an inhabitant of ?
(Q2458381,P27,c(Q15617994))
action filter_type
action find
entity Q2458381
relation P27
type Q15617994
['Q2458381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2458381 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Al Belletto
action filter_type
action find
entity Al Belletto
relation country of citizenship
type designation for an administrative territorial entity
['Al Belletto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Al_Belletto property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2458381,P27,c(Q15617994))
action filter_type
action find
entity Q2458381
relation P27
type Q15617994
[ANSWER] is Al Belletto an inhabitant of
['Q2458381', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q2458381 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
United States of America is Al Belletto an inhabitant of
United States of America
action filter_type
action find
entity Al Belletto
relation country of citizenship
type designation for an administrative territorial entity
['Al Belletto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Al_Belletto property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atleast 75 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 75
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?c property:P530 ?y . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?d >= 75 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?c property:diplomatic_relation ?y . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?d >= 75 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q230
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 75
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?c property:P530 ?y . ?c rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?d >= 75 ) }
Georgia
1
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 75
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?d ) WHERE { ?c property:diplomatic_relation ?y . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?d >= 75 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P6
Q502895
USER
Which people do United States of America serve as the head of government for ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q30 property:P6 ?r . ?r rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:United_States_of_America property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
United States of America serve as the head of government for [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q30 property:P6 ?r . ?r rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
United States of America serve as the head of government for Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:United_States_of_America property:head_of_government ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P800
Q2342494
USER
Who notable work were done by Donald Trump ?
(Q22686,P800,c(Q2342494))
action filter_type
action find
entity Q22686
relation P800
type Q2342494
['Q22686', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2342494 . resource:Q22686 property:P800 ?b }
Donald Trump
action filter_type
action find
entity Donald Trump
relation notable work
type collectable
['Donald Trump', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:collectable . resource:Donald_Trump property:notable_work ?b }
[]
collectable
Q7847758 Q21427293
SYSTEM
Trump: The Art of the Deal, Crippled America
Q7847758 Q21427293
(Q22686,P800,c(Q2342494))
action filter_type
action find
entity Q22686
relation P800
type Q2342494
Trump: The Art of the Deal and crippled America were done by Donald Trump
['Q22686', 'P800', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2342494 . resource:Q22686 property:P800 ?b }
Trump: The Art of the Deal Crippled America
Trump: The Art of the Deal and crippled America were done by Donald Trump
Trump: The Art of the Deal Crippled America
action filter_type
action find
entity Donald Trump
relation notable work
type collectable
['Donald Trump', 'notable work', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:collectable . resource:Donald_Trump property:notable_work ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7847758 Q21427293
P50
Q502895
USER
Who wrote Trump: The Art of the Deal and Crippled America ?
(Q7847758,P50,c(Q502895)) (Q21427293,P50,c(Q502895))
action union
action filter_type
action find
entity Q7847758
relation P50
type Q502895
action filter_type
action find
entity Q21427293
relation P50
type Q502895
['Q7847758', 'P50', {'concept': 'Q502895'}] ['Q21427293', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q7847758 property:P50 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q21427293 property:P50 ?d . ?d rdf:type ontology:Q502895 } }
Trump: The Art of the Deal Crippled America
action union
action filter_type
action find
entity Trump: The Art of the Deal
relation author
type common name
action filter_type
action find
entity Crippled America
relation author
type common name
['Trump: The Art of the Deal', 'author', {'concept': 'common name'}] ['Crippled America', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Trump:_The_Art_of_the_Deal property:author ?d . ?d rdf:type ontology:common_name } UNION { resource:Crippled_America property:author ?d . ?d rdf:type ontology:common_name } }
[]
common name
Q22686 Q7823367 Q22686
SYSTEM
Donald Trump for 1st, 3rd, Tony Schwartz for 2nd
Q22686 Q7823367 Q22686
(Q7847758,P50,c(Q502895)) (Q21427293,P50,c(Q502895))
action union
action filter_type
action find
entity Q7847758
relation P50
type Q502895
action filter_type
action find
entity Q21427293
relation P50
type Q502895
[ANSWERS]
['Q7847758', 'P50', {'concept': 'Q502895'}] ['Q21427293', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q7847758 property:P50 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q21427293 property:P50 ?d . ?d rdf:type ontology:Q502895 } }
Donald Trump Tony Schwartz Donald Trump
The Donald Trump, Tony Schwartz and Donald Trump wrote Trump: The Art of the Deal and Crippled America
Donald Trump Tony Schwartz Donald Trump
action union
action filter_type
action find
entity Trump: The Art of the Deal
relation author
type common name
action filter_type
action find
entity Crippled America
relation author
type common name
['Trump: The Art of the Deal', 'author', {'concept': 'common name'}] ['Crippled America', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Trump:_The_Art_of_the_Deal property:author ?d . ?d rdf:type ontology:common_name } UNION { resource:Crippled_America property:author ?d . ?d rdf:type ontology:common_name } }
[]