Simple Question (Direct)
Simple Question
Q8006374
P1412
Q34770
USER
Which language is William C. Newland capable of writing ?
(Q8006374,P1412,c(Q34770))
action filter_type
action find
entity Q8006374
relation P1412
type Q34770
['Q8006374', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q8006374 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
William C. Newland
action filter_type
action find
entity William C. Newland
relation languages spoken, written or signed
type language
['William C. Newland', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:William_C._Newland property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q8006374,P1412,c(Q34770))
action filter_type
action find
entity Q8006374
relation P1412
type Q34770
[ANSWER] is William C. Newland capable of writing
['Q8006374', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q8006374 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
English
English is William C. Newland capable of writing
English
action filter_type
action find
entity William C. Newland
relation languages spoken, written or signed
type language
['William C. Newland', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:William_C._Newland property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8006374
P937
Q56061
USER
What is the work location of that person ?
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q8006374
relation P937
type Q56061
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q8006374 property:P937 ?u . ?u rdf:type ontology:Q56061 }
William C. Newland
action filter_type
action find
entity William C. Newland
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:William_C._Newland property:work_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q41087
SYSTEM
Raleigh
Q41087
(Q1860,P937,c(Q56061))
action filter_type
action find
entity Q8006374
relation P937
type Q56061
The work location of that person is a [ANSWER]
['Q1860', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q8006374 property:P937 ?u . ?u rdf:type ontology:Q56061 }
Raleigh
The work location of that person is a Raleigh
Raleigh
action filter_type
action find
entity William C. Newland
relation work location
type administrative territorial entity
['English', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:William_C._Newland property:work_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8006374
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q41087,P27,c(Q15617994))
action filter_type
action find
entity Q8006374
relation P27
type Q15617994
['Q41087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q8006374 property:P27 ?m }
William C. Newland
action filter_type
action find
entity William C. Newland
relation country of citizenship
type designation for an administrative territorial entity
['Raleigh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_C._Newland property:country_of_citizenship ?m }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q41087,P27,c(Q15617994))
action filter_type
action find
entity Q8006374
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q41087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q8006374 property:P27 ?m }
United States of America
The United States of America is that person an inhabitant of
United States of America
action filter_type
action find
entity William C. Newland
relation country of citizenship
type designation for an administrative territorial entity
['Raleigh', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:William_C._Newland property:country_of_citizenship ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q1215640
P495
Q838948
USER
Is that administrative territory a country of origin of Jonathan of the Bears ?
(Q1215640,P495,Q30)
action is_in
entity Q1215640
action find
entity Q30
relation P495
['Q1215640', 'P495', 'Q30']
ASK WHERE { resource:Q30 property:P495 resource:Q1215640 }
United States of America Jonathan of the Bears
action is_in
entity Jonathan of the Bears
action find
entity United States of America
relation country of origin
['Jonathan of the Bears', 'country of origin', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_origin resource:Jonathan_of_the_Bears }
[]
work of art
SYSTEM
NO
(Q1215640,P495,Q30)
action is_in
entity Q1215640
action find
entity Q30
relation P495
[ANSWER]
['Q1215640', 'P495', 'Q30']
ASK WHERE { resource:Q30 property:P495 resource:Q1215640 }
No
action is_in
entity Jonathan of the Bears
action find
entity United States of America
relation country of origin
['Jonathan of the Bears', 'country of origin', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_origin resource:Jonathan_of_the_Bears }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q8006374 Q29552
P102
Q7210356
USER
Is William C. Newland affiliated with Democratic Party ?
(Q8006374,P102,Q29552)
action is_in
entity Q29552
action find
entity Q8006374
relation P102
['Q8006374', 'P102', 'Q29552']
ASK WHERE { resource:Q8006374 property:P102 resource:Q29552 }
William C. Newland Democratic Party
action is_in
entity Democratic Party
action find
entity William C. Newland
relation member of political party
['William C. Newland', 'member of political party', 'Democratic Party']
ASK WHERE { resource:William_C._Newland property:member_of_political_party resource:Democratic_Party }
[]
political organization
SYSTEM
YES
(Q8006374,P102,Q29552)
action is_in
entity Q29552
action find
entity Q8006374
relation P102
[ANSWER]
['Q8006374', 'P102', 'Q29552']
ASK WHERE { resource:Q8006374 property:P102 resource:Q29552 }
Yes
action is_in
entity Democratic Party
action find
entity William C. Newland
relation member of political party
['William C. Newland', 'member of political party', 'Democratic Party']
ASK WHERE { resource:William_C._Newland property:member_of_political_party resource:Democratic_Party }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2264125 Q30
P6 P22
Q502895
USER
Which people do United States of America serve as the head of government for or were the father of Bladud ?
OR((Q30,P6,c(Q502895)), (Q2264125,P22,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q2264125
relation P22
type Q502895
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q2264125', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q30 property:P6 ?c } UNION { resource:Q2264125 property:P22 ?c } } . ?c rdf:type ontology:Q502895 }
Bladud United States of America
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Bladud
relation father
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Bladud', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:United_States_of_America property:head_of_government ?c } UNION { resource:Bladud property:father ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q35171 Q12306 Q9916 Q11812 Q11613 Q207 Q12325 Q23505 Q23 Q11820
SYSTEM
Some of them are Grover Cleveland, Millard Fillmore, Dwight D. Eisenhower, Thomas Jefferson, Harry S. Truman, George W. Bush, James Buchanan, George H. W. Bush, George Washington, Martin Van Buren
Q35171 Q11815 Q11816 Q11817 Q9588 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q35498 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q1851709 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
OR((Q30,P6,c(Q502895)), (Q2264125,P22,c(Q502895)))
action filter_type
action union
action find
entity Q30
relation P6
action find
entity Q2264125
relation P22
type Q502895
[ANSWERS] United States of America serve as the head of government for or were the father of Bladud
{'OR': [['Q30', 'P6', {'concept': 'Q502895'}], ['Q2264125', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q30 property:P6 ?c } UNION { resource:Q2264125 property:P22 ?c } } . ?c rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Richard Nixon Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Chester A. Arthur Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover 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 McKinley Rud Hud Hudibras 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
Grover Cleveland, Millard Fillmore, Dwight D. Eisenhower, Thomas Jefferson, Harry S. Truman, George W. Bush, James Buchanan, George H. W. Bush, George Washington and Martin Van Buren United States of America serve as the head of government for or were the father of Bladud
Grover Cleveland Millard Fillmore Dwight D. Eisenhower Thomas Jefferson Harry S. Truman George W. Bush James Buchanan George H. W. Bush George Washington Martin Van Buren
action filter_type
action union
action find
entity United States of America
relation head of government
action find
entity Bladud
relation father
type common name
{'OR': [['United States of America', 'head of government', {'concept': 'common name'}], ['Bladud', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:United_States_of_America property:head_of_government ?c } UNION { resource:Bladud property:father ?c } } . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36751
P282
Q8192 Q9779 Q34770
USER
Which languages adopt more number of writing systems or alphabets as the writing system than Phrygian language ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36751
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } UNION { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q9779 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { { ?s rdf:type ontology:Q8192 } UNION { ?s rdf:type ontology:Q9779 } } . resource:Q36751 property:P282 ?s } } . FILTER ( ?y > ?t ) }
Phrygian language
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Phrygian language
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:writing_system } UNION { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:alphabet } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { { ?s rdf:type ontology:writing_system } UNION { ?s rdf:type ontology:alphabet } } . resource:Phrygian_language property:writing_system ?s } } . FILTER ( ?y > ?t ) }
[]
writing system alphabet language
Q182695 Q35499 Q1669994
SYSTEM
Late Old Japanese, Old Church Slavonic, Minoan language
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36751
relation P282
type Q8192
type Q9779
[ANSWERS] adopt more number of writing systems or alphabets as the writing system than Phrygian language
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } UNION { ?j property:P282 ?d . ?j rdf:type ontology:Q34770 . ?d rdf:type ontology:Q9779 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { { ?s rdf:type ontology:Q8192 } UNION { ?s rdf:type ontology:Q9779 } } . resource:Q36751 property:P282 ?s } } . FILTER ( ?y > ?t ) }
Late Old Japanese Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
Late Old Japanese, Old Church Slavonic and Minoan language adopt more number of writing systems or alphabets as the writing system than Phrygian language
Late Old Japanese Old Church Slavonic Minoan language
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Phrygian language
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:writing_system } UNION { ?j property:writing_system ?d . ?j rdf:type ontology:language . ?d rdf:type ontology:alphabet } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { { ?s rdf:type ontology:writing_system } UNION { ?s rdf:type ontology:alphabet } } . resource:Phrygian_language property:writing_system ?s } } . FILTER ( ?y > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q29977
P282
Q8192 Q9779 Q34770
USER
And what about Gaulish?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q29977
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:Q8192 } UNION { ?o rdf:type ontology:Q9779 } } . resource:Q29977 property:P282 ?o } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 . ?n property:P282 ?v } UNION { ?n property:P282 ?v . ?n rdf:type ontology:Q34770 . ?v rdf:type ontology:Q9779 } } GROUP BY ?n } }
Gaulish
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Gaulish
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:writing_system } UNION { ?o rdf:type ontology:alphabet } } . resource:Gaulish property:writing_system ?o } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n rdf:type ontology:language . ?v rdf:type ontology:writing_system . ?n property:writing_system ?v } UNION { ?n property:writing_system ?v . ?n rdf:type ontology:language . ?v rdf:type ontology:alphabet } } GROUP BY ?n } }
[]
writing system alphabet language
Q182695 Q35499 Q1669994
SYSTEM
Late Old Japanese, Old Church Slavonic, Minoan language
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q29977
relation P282
type Q8192
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:Q8192 } UNION { ?o rdf:type ontology:Q9779 } } . resource:Q29977 property:P282 ?o } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 . ?n property:P282 ?v } UNION { ?n property:P282 ?v . ?n rdf:type ontology:Q34770 . ?v rdf:type ontology:Q9779 } } GROUP BY ?n } }
Late Old Japanese Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
Late Old Japanese Old Church Slavonic Minoan language
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Gaulish
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?a ) WHERE { { { ?o rdf:type ontology:writing_system } UNION { ?o rdf:type ontology:alphabet } } . resource:Gaulish property:writing_system ?o } } . FILTER ( ?t > ?a ) . { SELECT DISTINCT ?n ( COUNT ( ?v ) AS ?t ) WHERE { { ?n rdf:type ontology:language . ?v rdf:type ontology:writing_system . ?n property:writing_system ?v } UNION { ?n property:writing_system ?v . ?n rdf:type ontology:language . ?v rdf:type ontology:alphabet } } GROUP BY ?n } }
[]