Simple Question (Direct)
Simple Question
Q4355276
P21
Q290
USER
What is the sex of P. H. Moynihan ?
(Q4355276,P21,c(Q290))
action filter_type
action find
entity Q4355276
relation P21
type Q290
['Q4355276', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q4355276 property:P21 ?d . ?d rdf:type ontology:Q290 }
P. H. Moynihan
action filter_type
action find
entity P. H. Moynihan
relation gender
type sex
['P. H. Moynihan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:P._H._Moynihan property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4355276,P21,c(Q290))
action filter_type
action find
entity Q4355276
relation P21
type Q290
The sex of P. is a [ANSWER]
['Q4355276', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q4355276 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
The sex of P. is a male
male
action filter_type
action find
entity P. H. Moynihan
relation gender
type sex
['P. H. Moynihan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:P._H._Moynihan property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4355276
P39
Q12737077
USER
Which occupation was a position held by P. H. Moynihan ?
(Q4355276,P39,c(Q12737077))
action filter_type
action find
entity Q4355276
relation P39
type Q12737077
['Q4355276', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4355276 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
P. H. Moynihan
action filter_type
action find
entity P. H. Moynihan
relation position held
type occupation
['P. H. Moynihan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:P._H._Moynihan property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q4355276,P39,c(Q12737077))
action filter_type
action find
entity Q4355276
relation P39
type Q12737077
The [ANSWER] was a position held by P. H. Moynihan
['Q4355276', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4355276 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
United States representative
The United States representative was a position held by P. H. Moynihan
United States representative
action filter_type
action find
entity P. H. Moynihan
relation position held
type occupation
['P. H. Moynihan', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:P._H._Moynihan property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4355276
P735
Q82799
USER
What is the firstname of P. H. Moynihan ?
(Q4355276,P735,c(Q82799))
action filter_type
action find
entity Q4355276
relation P735
type Q82799
['Q4355276', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q4355276 property:P735 ?s . ?s rdf:type ontology:Q82799 }
P. H. Moynihan
action filter_type
action find
entity P. H. Moynihan
relation given name
type name
['P. H. Moynihan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:P._H._Moynihan property:given_name ?s . ?s rdf:type ontology:name }
[]
name
Q19803513
SYSTEM
P.
Q19803513
(Q4355276,P735,c(Q82799))
action filter_type
action find
entity Q4355276
relation P735
type Q82799
The firstname of [ANSWER] is [ANSWER]
['Q4355276', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q4355276 property:P735 ?s . ?s rdf:type ontology:Q82799 }
P.
The firstname of P. is P.
P.
action filter_type
action find
entity P. H. Moynihan
relation given name
type name
['P. H. Moynihan', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:P._H._Moynihan property:given_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4355276
P19
Q56061
USER
Which administrative territory is the place of birth of P. H. Moynihan ?
(Q4355276,P19,c(Q56061))
action filter_type
action find
entity Q4355276
relation P19
type Q56061
['Q4355276', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4355276 property:P19 ?c . ?c rdf:type ontology:Q56061 }
P. H. Moynihan
action filter_type
action find
entity P. H. Moynihan
relation place of birth
type administrative territorial entity
['P. H. Moynihan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:P._H._Moynihan property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1297
SYSTEM
Chicago
Q1297
(Q4355276,P19,c(Q56061))
action filter_type
action find
entity Q4355276
relation P19
type Q56061
[ANSWER] is the place of birth of P. H. Moynihan
['Q4355276', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q4355276 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Chicago
Chicago is the place of birth of P. H. Moynihan
Chicago
action filter_type
action find
entity P. H. Moynihan
relation place of birth
type administrative territorial entity
['P. H. Moynihan', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:P._H._Moynihan property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q126838
Q56061
USER
And also tell me about Jürgen von Hagen?
(Q126838,P19,c(Q56061))
action filter_type
action find
entity Q126838
relation P19
type Q56061
['Q126838', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q126838 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Jürgen von Hagen
action filter_type
action find
entity Jürgen von Hagen
relation place of birth
type administrative territorial entity
['Jürgen von Hagen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jürgen_von_Hagen property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1130
SYSTEM
Iserlohn
Q1130
(Q126838,P19,c(Q56061))
action filter_type
action find
entity Q126838
relation P19
type Q56061
[ANSWER]
['Q126838', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q126838 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Iserlohn
Iserlohn
action filter_type
action find
entity Jürgen von Hagen
relation place of birth
type administrative territorial entity
['Jürgen von Hagen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jürgen_von_Hagen property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q126838
P512
Q3412758
USER
What degree does that person hold ?
(Q1130,P512,c(Q3412758))
action filter_type
action find
entity Q126838
relation P512
type Q3412758
['Q1130', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?n WHERE { resource:Q126838 property:P512 ?n . ?n rdf:type ontology:Q3412758 }
Jürgen von Hagen
action filter_type
action find
entity Jürgen von Hagen
relation academic degree
type qualification
['Iserlohn', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?n WHERE { resource:Jürgen_von_Hagen property:academic_degree ?n . ?n rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1130,P512,c(Q3412758))
action filter_type
action find
entity Q126838
relation P512
type Q3412758
That person holds a [ANSWER]
['Q1130', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?n WHERE { resource:Q126838 property:P512 ?n . ?n rdf:type ontology:Q3412758 }
doctoral degree
That person holds a doctoral degree
doctoral degree
action filter_type
action find
entity Jürgen von Hagen
relation academic degree
type qualification
['Iserlohn', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?n WHERE { resource:Jürgen_von_Hagen property:academic_degree ?n . ?n rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q126838
P463
Q19335303
USER
What was that person a member of ?
(Q849697,P463,c(Q19335303))
action filter_type
action find
entity Q126838
relation P463
type Q19335303
['Q849697', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?q WHERE { resource:Q126838 property:P463 ?q . ?q rdf:type ontology:Q19335303 }
Jürgen von Hagen
action filter_type
action find
entity Jürgen von Hagen
relation member of
type type of business entity in Germany
['doctoral degree', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?q WHERE { resource:Jürgen_von_Hagen property:member_of ?q . ?q rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q849697,P463,c(Q19335303))
action filter_type
action find
entity Q126838
relation P463
type Q19335303
That person a member of was the [ANSWER]
['Q849697', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?q WHERE { resource:Q126838 property:P463 ?q . ?q rdf:type ontology:Q19335303 }
German Academy of Sciences Leopoldina
That person a member of was the German Academy of Sciences Leopoldina
German Academy of Sciences Leopoldina
action filter_type
action find
entity Jürgen von Hagen
relation member of
type type of business entity in Germany
['doctoral degree', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?q WHERE { resource:Jürgen_von_Hagen property:member_of ?q . ?q rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q126838
P106
Q12737077
USER
What are the job of that person ?
(Q543804,P106,c(Q12737077))
action filter_type
action find
entity Q126838
relation P106
type Q12737077
['Q543804', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q126838 property:P106 ?y }
Jürgen von Hagen
action filter_type
action find
entity Jürgen von Hagen
relation occupation
type occupation
['German Academy of Sciences Leopoldina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Jürgen_von_Hagen property:occupation ?y }
[]
occupation
Q188094 Q1622272
SYSTEM
economist, university teacher
Q188094 Q1622272
(Q543804,P106,c(Q12737077))
action filter_type
action find
entity Q126838
relation P106
type Q12737077
The job of that person are an [ANSWERS]
['Q543804', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q126838 property:P106 ?y }
economist university teacher
The job of that person are an economist and university teacher
economist university teacher
action filter_type
action find
entity Jürgen von Hagen
relation occupation
type occupation
['German Academy of Sciences Leopoldina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Jürgen_von_Hagen property:occupation ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18415311 Q4355276
P20
Q56061
USER
Which administrative territories did the expiration of P. H. Moynihan or Samuel Augustus Gilbert occur ?
OR((Q4355276,P20,c(Q56061)), (Q18415311,P20,c(Q56061)))
action filter_type
action union
action find
entity Q4355276
relation P20
action find
entity Q18415311
relation P20
type Q56061
{'OR': [['Q4355276', 'P20', {'concept': 'Q56061'}], ['Q18415311', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . { { resource:Q4355276 property:P20 ?x } UNION { resource:Q18415311 property:P20 ?x } } }
Samuel Augustus Gilbert P. H. Moynihan
action filter_type
action union
action find
entity P. H. Moynihan
relation place of death
action find
entity Samuel Augustus Gilbert
relation place of death
type administrative territorial entity
{'OR': [['P. H. Moynihan', 'place of death', {'concept': 'administrative territorial entity'}], ['Samuel Augustus Gilbert', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . { { resource:P._H._Moynihan property:place_of_death ?x } UNION { resource:Samuel_Augustus_Gilbert property:place_of_death ?x } } }
[]
administrative territorial entity
Q28848 Q1297
SYSTEM
Saint Paul, Chicago
Q28848 Q1297
OR((Q4355276,P20,c(Q56061)), (Q18415311,P20,c(Q56061)))
action filter_type
action union
action find
entity Q4355276
relation P20
action find
entity Q18415311
relation P20
type Q56061
[ANSWERS] did the expiration of P. H. Moynihan or Samuel Augustus Gilbert occur
{'OR': [['Q4355276', 'P20', {'concept': 'Q56061'}], ['Q18415311', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q56061 . { { resource:Q4355276 property:P20 ?x } UNION { resource:Q18415311 property:P20 ?x } } }
Saint Paul Chicago
Saint Paul and Chicago did the expiration of P. H. Moynihan or Samuel Augustus Gilbert occur
Saint Paul Chicago
action filter_type
action union
action find
entity P. H. Moynihan
relation place of death
action find
entity Samuel Augustus Gilbert
relation place of death
type administrative territorial entity
{'OR': [['P. H. Moynihan', 'place of death', {'concept': 'administrative territorial entity'}], ['Samuel Augustus Gilbert', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:administrative_territorial_entity . { { resource:P._H._Moynihan property:place_of_death ?x } UNION { resource:Samuel_Augustus_Gilbert property:place_of_death ?x } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18415311
P607
Q198
USER
Which battle did Samuel Augustus Gilbert take part in?
(Q28848,P607,c(Q198)) (Q1297,P607,c(Q198))
action filter_type
action find
entity Q18415311
relation P607
type Q198
['Q28848', 'P607', {'concept': 'Q198'}] ['Q1297', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q18415311 property:P607 ?t . ?t rdf:type ontology:Q198 }
Samuel Augustus Gilbert
action filter_type
action find
entity Samuel Augustus Gilbert
relation conflict
type war
['Saint Paul', 'conflict', {'concept': 'war'}] ['Chicago', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Samuel_Augustus_Gilbert property:conflict ?t . ?t rdf:type ontology:war }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q28848,P607,c(Q198)) (Q1297,P607,c(Q198))
action filter_type
action find
entity Q18415311
relation P607
type Q198
Samuel Augustus Gilbert took the [ANSWER] part
['Q28848', 'P607', {'concept': 'Q198'}] ['Q1297', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q18415311 property:P607 ?t . ?t rdf:type ontology:Q198 }
American Civil War
Samuel Augustus Gilbert took the American Civil War part
American Civil War
action filter_type
action find
entity Samuel Augustus Gilbert
relation conflict
type war
['Saint Paul', 'conflict', {'concept': 'war'}] ['Chicago', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Samuel_Augustus_Gilbert property:conflict ?t . ?t rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8676
P921
Q2342494
USER
What are that war a main subject of ?
(c(Q2342494),P921,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q8676']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q8676 . ?y rdf:type ontology:Q2342494 }
American Civil War
action filter_type
action find_reverse
entity American Civil War
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'American Civil War']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:American_Civil_War . ?y rdf:type ontology:collectable }
[]
collectable
Q471005 Q2910027 Q7761504
SYSTEM
The Mysterious Island, Boneshaker, The Root Cellar
Q4659176 Q7333277 Q5451628 Q1540288 Q7745774 Q7769477 Q5564469 Q7761504 Q7756723 Q1997545 Q7303849 Q3400570 Q347325 Q6550461 Q1219239 Q4676457 Q4754260 Q5625337 Q3521472 Q5554726 Q6515676 Q5598240 Q7659353 Q21504988 Q7712123 Q7713277 Q7496713 Q4996610 Q183363 Q4745433 Q4656590 Q4132785 Q6766210 Q27117409 Q7003926 Q471005 Q2499287 Q8028004 Q7773607 Q2717946 Q6877353 Q6546312 Q5596147 Q7752393 Q7836055 Q6301797 Q7738533 Q5500459 Q20004061 Q2870 Q7997446 Q241348 Q7081055 Q6756693 Q13373598 Q2910027 Q523076
(c(Q2342494),P921,Q8676)
action filter_type
action find_reverse
entity Q8676
relation P921
type Q2342494
That war a main subject of are also [ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q8676']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q8676 . ?y rdf:type ontology:Q2342494 }
A Rebel in Time Rifles for Watie Fire on the Mountain The Crisis The Last Full Measure The Titans Girl in Blue The Root Cellar The Perilous Road Texar's Revenge, or, North Against South Red Cap Cloudsplitter Confederates Lincoln The Red Badge of Courage Across Five Aprils Andersonville Gypsy Breynton The Killer Angels Gettysburg: A Novel of the Civil War Lee and Grant at Appomattox Gray Victory Swords of Steel Letters of a Civil War Surgeon The Able McLaughlins The Amalgamation Polka Shiloh Bull Run The March American by Blood A Dream of Kings Bring the Jubilee Marjorie's Quest Singing the new nation Never Call Retreat: Lee and Grant: The Final Victory The Mysterious Island Cold Mountain With Lee in Virginia, A Story of the American Civil War The Warriors The Unvanquished Miss Ravenel's Conversion from Secession to Loyalty Lighthouse Grant Comes East The Mostly True Adventures of Homer P. Figg Traveller Jubilee The Guns of the South Freedom Lest We Forget Gone with the Wind Who Would Have Thought It? Scarlett Ohio in the War March Gods and Generals Boneshaker Little Women
That war a main subject of are also The Mysterious Island, Boneshaker and The Root Cellar
The Mysterious Island Boneshaker The Root Cellar
action filter_type
action find_reverse
entity American Civil War
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'American Civil War']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:American_Civil_War . ?y rdf:type ontology:collectable }
[]