Simple Question (Direct)
Simple Question
Q770466
P20
Q56061
USER
Which administrative territory is the place of death of George E. Harris ?
(Q770466,P20,c(Q56061))
action filter_type
action find
entity Q770466
relation P20
type Q56061
['Q770466', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q770466 property:P20 ?i . ?i rdf:type ontology:Q56061 }
George E. Harris
action filter_type
action find
entity George E. Harris
relation place of death
type administrative territorial entity
['George E. Harris', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:George_E._Harris property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q770466,P20,c(Q56061))
action filter_type
action find
entity Q770466
relation P20
type Q56061
[ANSWER] is the place of death of George E. Harris
['Q770466', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q770466 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Washington, D.C.
Washington, D.C. is the place of death of George E. Harris
Washington, D.C.
action filter_type
action find
entity George E. Harris
relation place of death
type administrative territorial entity
['George E. Harris', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:George_E._Harris property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61
P47
Q852446
USER
Which US administrative territories have an adjacent border with that administrative territory ?
(c(Q852446),P47,Q61)
action filter_type
action find
entity Q61
relation P47
type Q852446
[{'concept': 'Q852446'}, 'P47', 'Q61']
SELECT DISTINCT ?k WHERE { resource:Q61 property:P47 ?k . ?k rdf:type ontology:Q852446 }
Washington, D.C.
action filter_type
action find
entity Washington, D.C.
relation shares border with
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Washington, D.C.']
SELECT DISTINCT ?k WHERE { resource:Washington,_D.C. property:shares_border_with ?k . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1370 Q1391
SYSTEM
Virginia, Maryland
Q1370 Q1391
(c(Q852446),P47,Q61)
action filter_type
action find
entity Q61
relation P47
type Q852446
[ANSWERS] have an adjacent border with that administrative territory
[{'concept': 'Q852446'}, 'P47', 'Q61']
SELECT DISTINCT ?k WHERE { resource:Q61 property:P47 ?k . ?k rdf:type ontology:Q852446 }
Virginia Maryland
Virginia and Maryland have an adjacent border with that administrative territory
Virginia Maryland
action filter_type
action find
entity Washington, D.C.
relation shares border with
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Washington, D.C.']
SELECT DISTINCT ?k WHERE { resource:Washington,_D.C. property:shares_border_with ?k . ?k rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1370
P740
Q43229
USER
Which organizations were formed at that US administrative territory ?
(c(Q43229),P740,Q1370)
action filter_type
action find_reverse
entity Q1370
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1370']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q1370 . ?x rdf:type ontology:Q43229 }
Virginia
action filter_type
action find_reverse
entity Virginia
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Virginia']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Virginia . ?x rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1391
SYSTEM
Did you mean Maryland ?
Q1370 Q1391
(c(Q43229),P740,Q1370) (c(Q43229),P740,Q1391)
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q1370'] [{'concept': 'Q43229'}, 'P740', 'Q1391']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q1370 . ?x rdf:type ontology:Q43229 }
Virginia Maryland
Did you mean Maryland ?
Maryland
[{'concept': 'organization'}, 'location of formation', 'Virginia'] [{'concept': 'organization'}, 'location of formation', 'Maryland']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Virginia . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Virginia. Could you tell me the answer for that?
(c(Q43229),P740,Q1370)
Q1370
[{'concept': 'Q43229'}, 'P740', 'Q1370']
[{'concept': 'organization'}, 'location of formation', 'Virginia']
[]
Q677464 Q5291050 Q8075185
SYSTEM
Dominion Resources, Dominion Enterprises, ZuluTrade
Q1365227 Q677464 Q5291050 Q8075185
(c(Q43229),P740,Q1370)
action filter_type
action find_reverse
entity Q1370
relation P740
type Q43229
[ANSWERS] were formed at that US administrative territory
[{'concept': 'Q43229'}, 'P740', 'Q1370']
SELECT DISTINCT ?x WHERE { ?x property:P740 resource:Q1370 . ?x rdf:type ontology:Q43229 }
Iron Crown Enterprises Dominion Resources Dominion Enterprises ZuluTrade
Dominion Resources, Dominion Enterprises and ZuluTrade were formed at that US administrative territory
Dominion Resources Dominion Enterprises ZuluTrade
action filter_type
action find_reverse
entity Virginia
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Virginia']
SELECT DISTINCT ?x WHERE { ?x property:location_of_formation resource:Virginia . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q283852
P361
Q151885 Q811979 Q43229
USER
How many organizations are parts of greater number of concepts or architectural structures than Turkcell ?
(c(Q43229),P361,c(Q151885)|c(Q811979))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q43229
type Q151885
action find_tuple_counts
relation P361
type Q43229
type Q811979
action count
action filter_multi_types
action find
entity Q283852
relation P361
type Q151885
type Q811979
[{'concept': 'Q43229'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q283852 property:P361 ?u . { { ?u rdf:type ontology:Q151885 } UNION { ?u rdf:type ontology:Q811979 } } } } . FILTER ( ?z > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q151885 ) ( ontology:Q811979 ) } } GROUP BY ?i } }
Turkcell
action count
action greater
action union
action find_tuple_counts
relation part of
type organization
type concept
action find_tuple_counts
relation part of
type organization
type architectural structure
action count
action filter_multi_types
action find
entity Turkcell
relation part of
type concept
type architectural structure
[{'concept': 'organization'}, 'part of', [{'concept': 'concept'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Turkcell property:part_of ?u . { { ?u rdf:type ontology:concept } UNION { ?u rdf:type ontology:architectural_structure } } } } . FILTER ( ?z > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:concept ) ( ontology:architectural_structure ) } } GROUP BY ?i } }
[]
concept architectural structure organization
SYSTEM
2
Q1031614 Q3495357
(c(Q43229),P361,c(Q151885)|c(Q811979))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q43229
type Q151885
action find_tuple_counts
relation P361
type Q43229
type Q811979
action count
action filter_multi_types
action find
entity Q283852
relation P361
type Q151885
type Q811979
[ANSWER]
[{'concept': 'Q43229'}, 'P361', [{'concept': 'Q151885'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q283852 property:P361 ?u . { { ?u rdf:type ontology:Q151885 } UNION { ?u rdf:type ontology:Q811979 } } } } . FILTER ( ?z > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q151885 ) ( ontology:Q811979 ) } } GROUP BY ?i } }
Camposanto Monumentale Stab
2
action count
action greater
action union
action find_tuple_counts
relation part of
type organization
type concept
action find_tuple_counts
relation part of
type organization
type architectural structure
action count
action filter_multi_types
action find
entity Turkcell
relation part of
type concept
type architectural structure
[{'concept': 'organization'}, 'part of', [{'concept': 'concept'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Turkcell property:part_of ?u . { { ?u rdf:type ontology:concept } UNION { ?u rdf:type ontology:architectural_structure } } } } . FILTER ( ?z > ?w ) . { SELECT DISTINCT ?i ( COUNT ( ?a ) AS ?z ) WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:concept ) ( ontology:architectural_structure ) } } GROUP BY ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1370
P840
Q5398426 Q15416
USER
How many television series or television programs have their narrative set in Virginia ?
(c(Q5398426),P840,Q1370) (c(Q15416),P840,Q1370)
action count
action union
action filter_type
action find_reverse
entity Q1370
relation P840
type Q5398426
action filter_type
action find_reverse
entity Q1370
relation P840
type Q15416
[{'concept': 'Q5398426'}, 'P840', 'Q1370'] [{'concept': 'Q15416'}, 'P840', 'Q1370']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:P840 resource:Q1370 . ?p rdf:type ontology:Q5398426 } UNION { ?p property:P840 resource:Q1370 . ?p rdf:type ontology:Q15416 } }
Virginia
action count
action union
action filter_type
action find_reverse
entity Virginia
relation narrative location
type television series
action filter_type
action find_reverse
entity Virginia
relation narrative location
type television program
[{'concept': 'television series'}, 'narrative location', 'Virginia'] [{'concept': 'television program'}, 'narrative location', 'Virginia']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:narrative_location resource:Virginia . ?p rdf:type ontology:television_series } UNION { ?p property:narrative_location resource:Virginia . ?p rdf:type ontology:television_program } }
[]
television series television program
SYSTEM
24
Q19866569 Q48777 Q3987357 Q754197 Q1109026 Q165739 Q1247168 Q3241489 Q16156173 Q1189631 Q13415854 Q23594 Q13418620 Q719872 Q15995063 Q7302224 Q28537 Q5648266 Q1477859 Q1591785 Q17109333 Q16919551 Q232737 Q476979
(c(Q5398426),P840,Q1370) (c(Q15416),P840,Q1370)
action count
action union
action filter_type
action find_reverse
entity Q1370
relation P840
type Q5398426
action filter_type
action find_reverse
entity Q1370
relation P840
type Q15416
[ANSWER]
[{'concept': 'Q5398426'}, 'P840', 'Q1370'] [{'concept': 'Q15416'}, 'P840', 'Q1370']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:P840 resource:Q1370 . ?p rdf:type ontology:Q5398426 } UNION { ?p property:P840 resource:Q1370 . ?p rdf:type ontology:Q15416 } }
Quantico The Waltons The Gray Ghost JAG A Different World Moonshiners Roots Line of Fire Finding Carter The Following Intelligence Homeland The Millers Cow and Chicken Family Beef Rebuilt: The Human Body Shop The Vampire Diaries Hank Millennium Hawthorne Tickle CSI: Cyber The Walking Dead Worst Week
24
action count
action union
action filter_type
action find_reverse
entity Virginia
relation narrative location
type television series
action filter_type
action find_reverse
entity Virginia
relation narrative location
type television program
[{'concept': 'television series'}, 'narrative location', 'Virginia'] [{'concept': 'television program'}, 'narrative location', 'Virginia']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:narrative_location resource:Virginia . ?p rdf:type ontology:television_series } UNION { ?p property:narrative_location resource:Virginia . ?p rdf:type ontology:television_program } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q677464
P740
Q852446
USER
Which US administrative territory is the location of formation of Dominion Resources ?
(Q677464,P740,c(Q852446))
action filter_type
action find
entity Q677464
relation P740
type Q852446
['Q677464', 'P740', {'concept': 'Q852446'}]
SELECT DISTINCT ?p WHERE { resource:Q677464 property:P740 ?p . ?p rdf:type ontology:Q852446 }
Dominion Resources
action filter_type
action find
entity Dominion Resources
relation location of formation
type administrative territorial entity of the United States
['Dominion Resources', 'location of formation', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?p WHERE { resource:Dominion_Resources property:location_of_formation ?p . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1370
SYSTEM
Virginia
Q1370
(Q677464,P740,c(Q852446))
action filter_type
action find
entity Q677464
relation P740
type Q852446
[ANSWER] is the location of formation of Dominion Resources
['Q677464', 'P740', {'concept': 'Q852446'}]
SELECT DISTINCT ?p WHERE { resource:Q677464 property:P740 ?p . ?p rdf:type ontology:Q852446 }
Virginia
Virginia is the location of formation of Dominion Resources
Virginia
action filter_type
action find
entity Dominion Resources
relation location of formation
type administrative territorial entity of the United States
['Dominion Resources', 'location of formation', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?p WHERE { resource:Dominion_Resources property:location_of_formation ?p . ?p rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q1391
P19 P27
Q502895
USER
Which people have birthplace at Maryland and are a native of United States of America ?
AND((c(Q502895),P19,Q1391), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q1391
relation P19
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1391'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P19 resource:Q1391 . ?r property:P27 resource:Q30 . ?r rdf:type ontology:Q502895 }
United States of America Maryland
action filter_type
action intersection
action find_reverse
entity Maryland
relation place of birth
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Maryland'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:place_of_birth resource:Maryland . ?r property:country_of_citizenship resource:United_States_of_America . ?r rdf:type ontology:common_name }
[]
common name
Q3568519 Q7358078 Q1701603 Q4722770 Q6285813 Q1386443 Q544341 Q5205653 Q552971 Q7983732
SYSTEM
Some of them are William Cooley, Roger Davis, John Rogers Cooke, Alfred H. Noble, Joseph Nicholson Barney, Nathan Larson, David Herold, D.M.W. Greer, Barton W. Stone, Wes Moore
Q281767 Q3181968 Q5106164 Q19519424 Q2817225 Q6124661 Q7293486 Q7616962 Q6204467 Q5362524 Q4662127 Q380418 Q5539676 Q695113 Q1349364 Q1173718 Q10363209 Q16066886 Q6262341 Q16113908 Q4023608 Q1360749 Q11060004 Q717175 Q7319309 Q613651 Q4827971 Q5684292 Q544341 Q7351123 Q5604374 Q39459 Q4911388 Q1871696 Q621818 Q6550963 Q6285813 Q5078620 Q1526302 Q691800 Q1649199 Q16058499 Q751263 Q7411811 Q5339716 Q4956078 Q4722770 Q4799800 Q7358078 Q4416955 Q8016646 Q888979 Q2604225 Q220074 Q1279758 Q862352 Q3852269 Q375988 Q8010148 Q1294463 Q16914067 Q7045357 Q894444 Q4718199 Q6287185 Q7350771 Q664099 Q18402333 Q1533556 Q983225 Q7789138 Q2626989 Q3576977 Q3101498 Q6309471 Q16013489 Q18169371 Q798506 Q11320686 Q1508559 Q7964209 Q337885 Q3568519 Q472343 Q3806735 Q5501770 Q8016135 Q718065 Q7611435 Q7787672 Q6660609 Q6765332 Q3161465 Q1701603 Q24971366 Q888614 Q7983732 Q552971 Q5498902 Q1386443 Q5295016 Q827419 Q7329135 Q5205653 Q5230959 Q5535952 Q16207044 Q6728936 Q459991 Q1093244 Q732874 Q7488088 Q5213922 Q4832151 Q7387836 Q16199513
AND((c(Q502895),P19,Q1391), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q1391
relation P19
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] have birthplace at Maryland and are a native of United States of America
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q1391'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?r WHERE { ?r property:P19 resource:Q1391 . ?r property:P27 resource:Q30 . ?r rdf:type ontology:Q502895 }
Nathaniel Fick John M. Lloyd Chris Clanton Jessie Usher Samuel Ringgold Jake Ehrlich Ransom Riggs Stiles O. Clements Benjamin Tasker, Jr. Elizabeth Calvert Aaron Johnson Johns Hopkins George Getty Arnold Elzey Hugh Latimer Dryden David Bentley Hart Robert Westfield Mary K. Bryan John W. Johnson Blac Chyna Zachary Steven Merrick James J. Archer Patrick Tracy Burris Munro Leaf Rex Salas James Jones Avedon Carol Warrington Gillette David Herold Robert Williams Joseph Casey John Carroll Bill Wilson Louis Glass Rian Johnson Lincoln Plumer Joseph Nicholson Barney Charles H. Pierce Thomas P. Carnes Tina Harris Rolando Martín Philip Augustus Marquam Lefty Grove Samuel J. Seymour Edmund P. Kennedy Bram Weinstein Alfred H. Noble Arthur Murray Preston Roger Davis Ryan Thompson William Patterson Garretson W. Gibson Josh Weinstein Joseph Keiley Mark Johnson Bill Oakley Matthew Mills Samuel Sachs William Green Edwin C. Hahn Tyrone Hall Noah Beauchamp Bosley Crowther Alexander Alderman Semmes Joseph Sterrett Robert W Crawford William Few Trina Braxton Mary Digges Lee James Wray Williams Thomas E. Bourke Jack Andraka Álvaro Escobar George Cooke Julio Perillán Norman E. Moxley Elinor Macartney Lane Edwin Booth David Geisinger George Washington Parke Custis Walter B. Hook William O. Baker William Cooley Amit Bhattacharya James T. Ellison French Forrest William Nicholson William Bowie Sterling L. Morelock Thomas Bladen Lizette Woodworth Reese Marion Perry Maus James W.C. Pennington John Rogers Cooke Lloyd Tilghman Everett James Wilkinson Wes Moore Barton W. Stone Frederick V. McNair, Jr. Nathan Larson Donald R. Delauter Bert Muhly Richard Snowden D.M.W. Greer David B. Champagne George A. Frederick Carl Seel Mae Hotely Mary Surratt Eric Brittingham Elwell Stephen Otis Shane Halter Dan Maines Azalia Snail S. Rob Sobhani Ryan Alexander Bloom
William Cooley, Roger Davis, John Rogers Cooke, Alfred H. Noble, Joseph Nicholson Barney, Nathan Larson, David Herold, D.M.W. Greer, Barton W. Stone and Wes Moore have birthplace at Maryland and are a native of United States of America
William Cooley Roger Davis John Rogers Cooke Alfred H. Noble Joseph Nicholson Barney Nathan Larson David Herold D.M.W. Greer Barton W. Stone Wes Moore
action filter_type
action intersection
action find_reverse
entity Maryland
relation place of birth
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Maryland'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?r WHERE { ?r property:place_of_birth resource:Maryland . ?r property:country_of_citizenship resource:United_States_of_America . ?r rdf:type ontology:common_name }
[]