Simple Question (Direct)
Simple Question
Q711243
P25
Q502895
USER
Who was the mom of Frank James ?
(Q711243,P25,c(Q502895))
action filter_type
action find
entity Q711243
relation P25
type Q502895
['Q711243', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q711243 property:P25 ?c }
Frank James
action filter_type
action find
entity Frank James
relation mother
type common name
['Frank James', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Frank_James property:mother ?c }
[]
common name
Q8069385
SYSTEM
Zerelda James
Q8069385
(Q711243,P25,c(Q502895))
action filter_type
action find
entity Q711243
relation P25
type Q502895
The mom of Frank James was named [ANSWER]
['Q711243', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q711243 property:P25 ?c }
Zerelda James
The mom of Frank James was named Zerelda James
Zerelda James
action filter_type
action find
entity Frank James
relation mother
type common name
['Frank James', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Frank_James property:mother ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711243
P40
Q502895
USER
Which people have Frank James as a child ?
(c(Q502895),P40,Q711243)
action filter_type
action find_reverse
entity Q711243
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q711243']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P40 resource:Q711243 }
Frank James
action filter_type
action find_reverse
entity Frank James
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frank James']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:child resource:Frank_James }
[]
common name
Q8069385 Q7349474
SYSTEM
Zerelda James, Robert S. James
Q8069385 Q7349474
(c(Q502895),P40,Q711243)
action filter_type
action find_reverse
entity Q711243
relation P40
type Q502895
[ANSWERS] have Frank James as a child
[{'concept': 'Q502895'}, 'P40', 'Q711243']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . ?t property:P40 resource:Q711243 }
Zerelda James Robert S. James
Zerelda James and Robert S. James have Frank James as a child
Zerelda James Robert S. James
action filter_type
action find_reverse
entity Frank James
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frank James']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . ?t property:child resource:Frank_James }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q8069385 Q7349474
P734
Q82799
USER
Which names are associated with those people ?
(Q8069385,P734,c(Q82799)) (Q7349474,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
['Q8069385', 'P734', {'concept': 'Q82799'}] ['Q7349474', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { ?b property:P734 ?v . ?v rdf:type ontology:Q82799 . VALUES ( ?b ) { ( resource:Q8069385 ) ( resource:Q7349474 ) } }
Zerelda James Robert S. James
action filter_type
action find
entity prev_answer
relation family name
type name
['Zerelda James', 'family name', {'concept': 'name'}] ['Robert S. James', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { ?b property:family_name ?v . ?v rdf:type ontology:name . VALUES ( ?b ) { ( resource:Zerelda_James ) ( resource:Robert_S._James ) } }
[]
name
Q12188082 Q12188082
SYSTEM
James
Q12188082 Q12188082
(Q8069385,P734,c(Q82799)) (Q7349474,P734,c(Q82799))
action filter_type
action find
entity prev_answer
relation P734
type Q82799
And [ANSWER] and [ANSWER] are associated with those people
['Q8069385', 'P734', {'concept': 'Q82799'}] ['Q7349474', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { ?b property:P734 ?v . ?v rdf:type ontology:Q82799 . VALUES ( ?b ) { ( resource:Q8069385 ) ( resource:Q7349474 ) } }
James James
And James and James are associated with those people
James James
action filter_type
action find
entity prev_answer
relation family name
type name
['Zerelda James', 'family name', {'concept': 'name'}] ['Robert S. James', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { ?b property:family_name ?v . ?v rdf:type ontology:name . VALUES ( ?b ) { ( resource:Zerelda_James ) ( resource:Robert_S._James ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7349474
P26
Q502895
USER
Which person is married to Robert S. James ?
(c(Q502895),P26,Q7349474)
action filter_type
action find
entity Q7349474
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7349474']
SELECT DISTINCT ?i WHERE { resource:Q7349474 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Robert S. James
action filter_type
action find
entity Robert S. James
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Robert S. James']
SELECT DISTINCT ?i WHERE { resource:Robert_S._James property:spouse ?i . ?i rdf:type ontology:common_name }
[]
common name
Q8069385
SYSTEM
Zerelda James
Q8069385
(c(Q502895),P26,Q7349474)
action filter_type
action find
entity Q7349474
relation P26
type Q502895
[ANSWER] is married to Robert S. James
[{'concept': 'Q502895'}, 'P26', 'Q7349474']
SELECT DISTINCT ?i WHERE { resource:Q7349474 property:P26 ?i . ?i rdf:type ontology:Q502895 }
Zerelda James
Zerelda James is married to Robert S. James
Zerelda James
action filter_type
action find
entity Robert S. James
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Robert S. James']
SELECT DISTINCT ?i WHERE { resource:Robert_S._James property:spouse ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8069385
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q8069385,P27,c(Q15617994))
action filter_type
action find
entity Q8069385
relation P27
type Q15617994
['Q8069385', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q8069385 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Zerelda James
action filter_type
action find
entity Zerelda James
relation country of citizenship
type designation for an administrative territorial entity
['Zerelda James', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Zerelda_James property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q8069385,P27,c(Q15617994))
action filter_type
action find
entity Q8069385
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q8069385', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q8069385 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Zerelda James
relation country of citizenship
type designation for an administrative territorial entity
['Zerelda James', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Zerelda_James property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7349474
P22
Q502895
USER
Who have Robert S. James as a father ?
(c(Q502895),P22,Q7349474)
action filter_type
action find_reverse
entity Q7349474
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q7349474']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q7349474 . ?e rdf:type ontology:Q502895 }
Robert S. James
action filter_type
action find_reverse
entity Robert S. James
relation father
type common name
[{'concept': 'common name'}, 'father', 'Robert S. James']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Robert_S._James . ?e rdf:type ontology:common_name }
[]
common name
Q711243 Q213626
SYSTEM
Frank James, Jesse James
Q711243 Q213626
(c(Q502895),P22,Q7349474)
action filter_type
action find_reverse
entity Q7349474
relation P22
type Q502895
[ANSWERS] have Robert S. James as a father
[{'concept': 'Q502895'}, 'P22', 'Q7349474']
SELECT DISTINCT ?e WHERE { ?e property:P22 resource:Q7349474 . ?e rdf:type ontology:Q502895 }
Frank James Jesse James
Frank James and Jesse James have Robert S. James as a father
Frank James Jesse James
action filter_type
action find_reverse
entity Robert S. James
relation father
type common name
[{'concept': 'common name'}, 'father', 'Robert S. James']
SELECT DISTINCT ?e WHERE { ?e property:father resource:Robert_S._James . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7349474
P112
Q163740
USER
Which nonprofit organization was established by Robert S. James ?
(c(Q163740),P112,Q7349474)
action filter_type
action find_reverse
entity Q7349474
relation P112
type Q163740
[{'concept': 'Q163740'}, 'P112', 'Q7349474']
SELECT DISTINCT ?a WHERE { ?a property:P112 resource:Q7349474 . ?a rdf:type ontology:Q163740 }
Robert S. James
action filter_type
action find_reverse
entity Robert S. James
relation founder
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'founder', 'Robert S. James']
SELECT DISTINCT ?a WHERE { ?a property:founder resource:Robert_S._James . ?a rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q3307837
SYSTEM
William Jewell College
Q3307837
(c(Q163740),P112,Q7349474)
action filter_type
action find_reverse
entity Q7349474
relation P112
type Q163740
[ANSWER] was established by Robert S. James
[{'concept': 'Q163740'}, 'P112', 'Q7349474']
SELECT DISTINCT ?a WHERE { ?a property:P112 resource:Q7349474 . ?a rdf:type ontology:Q163740 }
William Jewell College
William Jewell College was established by Robert S. James
William Jewell College
action filter_type
action find_reverse
entity Robert S. James
relation founder
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'founder', 'Robert S. James']
SELECT DISTINCT ?a WHERE { ?a property:founder resource:Robert_S._James . ?a rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q711243
P7
Q502895
USER
Which people had Frank James as brother ?
(c(Q502895),P7,Q711243)
action filter_type
action find
entity Q711243
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q711243']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q711243 property:P7 ?y }
Frank James
action filter_type
action find
entity Frank James
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Frank James']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Frank_James property:brother ?y }
[]
common name
Q4786782 Q213626
SYSTEM
Archie Samuel, Jesse James
Q4786782 Q213626
(c(Q502895),P7,Q711243)
action filter_type
action find
entity Q711243
relation P7
type Q502895
[ANSWERS] had Frank James as brother
[{'concept': 'Q502895'}, 'P7', 'Q711243']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q711243 property:P7 ?y }
Archie Samuel Jesse James
Archie Samuel and Jesse James had Frank James as brother
Archie Samuel Jesse James
action filter_type
action find
entity Frank James
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Frank James']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Frank_James property:brother ?y }
[]
Clarification
Simple Question|Single Entity|Indirect
Q213626
P1196
Q1914636
USER
Which situation led to the death of that person ?
(Q213626,P1196,c(Q1914636))
action filter_type
action find
entity Q213626
relation P1196
type Q1914636
['Q213626', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q213626 property:P1196 ?j . ?j rdf:type ontology:Q1914636 }
Jesse James
action filter_type
action find
entity Jesse James
relation manner of death
type activity
['Jesse James', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:Jesse_James property:manner_of_death ?j . ?j rdf:type ontology:activity }
[]
activity
Clarification for simple ques.
Q213626
SYSTEM
Did you mean Jesse James ?
Q4786782 Q213626
(Q4786782,P1196,c(Q1914636)) (Q213626,P1196,c(Q1914636))
[ANSWER]
['Q4786782', 'P1196', {'concept': 'Q1914636'}] ['Q213626', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q213626 property:P1196 ?j . ?j rdf:type ontology:Q1914636 }
Archie Samuel Jesse James
Did you mean Jesse James ?
Jesse James
['Archie Samuel', 'manner of death', {'concept': 'activity'}] ['Jesse James', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:Jesse_James property:manner_of_death ?j . ?j rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q213626,P1196,c(Q1914636))
['Q213626', 'P1196', {'concept': 'Q1914636'}]
['Jesse James', 'manner of death', {'concept': 'activity'}]
[]
Q149086
SYSTEM
homicide
Q149086
(Q213626,P1196,c(Q1914636))
action filter_type
action find
entity Q213626
relation P1196
type Q1914636
The [ANSWER] led to the death of that person
['Q213626', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q213626 property:P1196 ?j . ?j rdf:type ontology:Q1914636 }
homicide
The homicide led to the death of that person
homicide
action filter_type
action find
entity Jesse James
relation manner of death
type activity
['Jesse James', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:Jesse_James property:manner_of_death ?j . ?j rdf:type ontology:activity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P921
Q1914636 Q2342494 Q838948
USER
How many activities were the main subjects of around the same number of collectables or works of art 's work as that activity ?
(c(Q2342494)|c(Q838948),P921,c(Q1914636))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q149086
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?w rdf:type ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P921 resource:Q149086 . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?v = ?t ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type activity
type collectable
action find_reverse_tuple_counts
relation main subject
type activity
type work of art
action count
action filter_multi_types
action find_reverse
entity homicide
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?w rdf:type ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:main_subject resource:homicide . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?v = ?t ) }
[]
activity collectable work of art
SYSTEM
102
Q1069 Q4636259 Q309823 Q8236 Q11650 Q3326857 Q12281707 Q4652509 Q7202 Q11635 Q1160650 Q206814 Q12271 Q33761 Q159964 Q7598 Q23679946 Q83267 Q2190667 Q366301 Q175331 Q244783 Q11372 Q918544 Q367664 Q185727 Q3705105 Q20047041 Q184485 Q300920 Q19899872 Q5386 Q50675 Q36649 Q49389 Q12014035 Q1760612 Q1330176 Q11410 Q11625220 Q11419 Q16387 Q1326354 Q127050 Q939103 Q1648418 Q5367 Q916412 Q8242 Q124946 Q38108 Q16861871 Q42767 Q2431020 Q8162 Q254615 Q7173 Q2138622 Q752021 Q1964546 Q484591 Q2003646 Q7206 Q210005 Q7205 Q514 Q2667359 Q19963028 Q1261491 Q40283 Q7168 Q160398 Q177777 Q43114 Q864928 Q149086 Q9350 Q944932 Q4168000 Q862072 Q124757 Q925667 Q7784249 Q80993 Q212105 Q211011 Q8789 Q5775114 Q686876 Q1093434 Q1194492 Q83371 Q7141 Q5246046 Q631931 Q131683 Q861654 Q1400612 Q31728 Q25261 Q7214166 Q257758
(c(Q2342494)|c(Q838948),P921,c(Q1914636))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q149086
relation P921
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?w rdf:type ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:P921 resource:Q149086 . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?v = ?t ) }
geology 3DA open science literacy electronics 2010 UK student protests treasure hunting AM1* molecular biology theater industrial espionage civil aviation architecture Arab Spring typography GNU Project Online shaming crime collections care research expedition demonstration exegesis physical chemistry UK miners' strike Data modeling amateur service Chinese martial arts Hyacinth fever performing arts eSports Greek vase auto racing historiography visual arts tourism hiking storm chasing judicial activism game resuscitation karate information science parenting Manhattan Project Occupy movement Vaticanology motorsport infanticide literature gardening figure skating job training whaling arms trafficking linguistics gleaning marine biology nutrition Budō garden design natural history mosquito control paleoanthropology 2011 Yemeni revolution paleontology anatomy forced prostitution press-politics male prostitution self-defence histology crystallography logistics aikido life sciences homicide yoga Sport in Canada military intelligence conchology riot computer simulation ThinThread software engineering special education falconry cryptography history of Australia space colonization citizen science angling seismology cell biology academic publishing decorative arts embryology education in the United States art forgery public administration meteorology harvest Protests of 1968
102
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type activity
type collectable
action find_reverse_tuple_counts
relation main subject
type activity
type work of art
action count
action filter_multi_types
action find_reverse
entity homicide
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?v ) WHERE { VALUES ( ?n ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?w rdf:type ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d property:main_subject resource:homicide . { ?d rdf:type ?o . VALUES ( ?o ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?v = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213626
P463
Q43229
USER
Which organization was Jesse James a member of ?
(Q213626,P463,c(Q43229))
action filter_type
action find
entity Q213626
relation P463
type Q43229
['Q213626', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q43229 . resource:Q213626 property:P463 ?h }
Jesse James
action filter_type
action find
entity Jesse James
relation member of
type organization
['Jesse James', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:organization . resource:Jesse_James property:member_of ?h }
[]
organization
Q942440
SYSTEM
James-Younger Gang
Q942440
(Q213626,P463,c(Q43229))
action filter_type
action find
entity Q213626
relation P463
type Q43229
The [ANSWER] was Jesse James a member of
['Q213626', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q43229 . resource:Q213626 property:P463 ?h }
James-Younger Gang
The James-Younger Gang was Jesse James a member of
James-Younger Gang
action filter_type
action find
entity Jesse James
relation member of
type organization
['Jesse James', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:organization . resource:Jesse_James property:member_of ?h }
[]