Simple Question (Direct)
Simple Question
Q108697
P463
Q7210356
USER
What was Horst Lademacher a member of ?
(Q108697,P463,c(Q7210356))
action filter_type
action find
entity Q108697
relation P463
type Q7210356
['Q108697', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . resource:Q108697 property:P463 ?c }
Horst Lademacher
action filter_type
action find
entity Horst Lademacher
relation member of
type political organization
['Horst Lademacher', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . resource:Horst_Lademacher property:member_of ?c }
[]
political organization
Q558439
SYSTEM
Sozialistischer Deutscher Studentenbund
Q558439
(Q108697,P463,c(Q7210356))
action filter_type
action find
entity Q108697
relation P463
type Q7210356
[ANSWER]
['Q108697', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q7210356 . resource:Q108697 property:P463 ?c }
Sozialistischer Deutscher Studentenbund
Sozialistischer Deutscher Studentenbund
action filter_type
action find
entity Horst Lademacher
relation member of
type political organization
['Horst Lademacher', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:political_organization . resource:Horst_Lademacher property:member_of ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q108697
P106
Q12737077
USER
Which occupations are the professions of Horst Lademacher ?
(Q108697,P106,c(Q12737077))
action filter_type
action find
entity Q108697
relation P106
type Q12737077
['Q108697', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q108697 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Horst Lademacher
action filter_type
action find
entity Horst Lademacher
relation occupation
type occupation
['Horst Lademacher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Horst_Lademacher property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q17489339 Q201788 Q1622272
SYSTEM
historian of the modern age, historian, university teacher
Q17489339 Q201788 Q17488465 Q1622272 Q15980158
(Q108697,P106,c(Q12737077))
action filter_type
action find
entity Q108697
relation P106
type Q12737077
[ANSWERS]
['Q108697', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q108697 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
historian of the modern age historian regional historian university teacher non-fiction writer
historian of the modern age historian university teacher
action filter_type
action find
entity Horst Lademacher
relation occupation
type occupation
['Horst Lademacher', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Horst_Lademacher property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3300338
Q12737077
USER
And what about Maurice Aufair?
(Q3300338,P106,c(Q12737077))
action filter_type
action find
entity Q3300338
relation P106
type Q12737077
['Q3300338', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3300338 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Maurice Aufair
action filter_type
action find
entity Maurice Aufair
relation occupation
type occupation
['Maurice Aufair', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Maurice_Aufair property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q3300338,P106,c(Q12737077))
action filter_type
action find
entity Q3300338
relation P106
type Q12737077
[ANSWER]
['Q3300338', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3300338 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
actor
actor
action filter_type
action find
entity Maurice Aufair
relation occupation
type occupation
['Maurice Aufair', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Maurice_Aufair property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of approximately 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 . ?y property:P417 ?p } GROUP BY ?p } . FILTER ( ?e = 1 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:occupation . ?p rdf:type ontology:common_name . ?y property:patron_saint ?p } GROUP BY ?p } . FILTER ( ?e = 1 ) }
[]
common name occupation
SYSTEM
38
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 . ?y property:P417 ?p } GROUP BY ?p } . FILTER ( ?e = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
38
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:occupation . ?p rdf:type ontology:common_name . ?y property:patron_saint ?p } GROUP BY ?p } . FILTER ( ?e = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1622272
P512
Q502895
USER
Which people are the recepient of university teacher as academic degree ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?q WHERE { ?q property:P512 resource:Q1622272 . ?q rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?q WHERE { ?q property:academic_degree resource:university_teacher . ?q rdf:type ontology:common_name }
[]
common name
Q1362287 Q1631650 Q4074760
SYSTEM
Manolis Andronikos, Hovhannes Barseghian, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?q WHERE { ?q property:P512 resource:Q1622272 . ?q rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?q WHERE { ?q property:academic_degree resource:university_teacher . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1362287 Q1631650 Q4074760
P21
Q290
USER
Which sexes do those people belong to ?
(Q1362287,P21,c(Q290)) (Q1631650,P21,c(Q290)) (Q4074760,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1362287', 'P21', {'concept': 'Q290'}] ['Q1631650', 'P21', {'concept': 'Q290'}] ['Q4074760', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?r property:P21 ?u . VALUES ( ?r ) { ( resource:Q4074760 ) ( resource:Q22116332 ) ( resource:Q5697983 ) } . ?u rdf:type ontology:Q290 }
Manolis Andronikos Hovhannes Barseghian Edvard Baghdasaryan
action filter_type
action find
entity prev_answer
relation gender
type sex
['Manolis Andronikos', 'gender', {'concept': 'sex'}] ['Hovhannes Barseghian', 'gender', {'concept': 'sex'}] ['Edvard Baghdasaryan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?r property:gender ?u . VALUES ( ?r ) { ( resource:Edvard_Baghdasaryan ) ( resource:Helmut_Neef ) ( resource:Antonio_Campos_Muñoz ) } . ?u rdf:type ontology:sex }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q1362287,P21,c(Q290)) (Q1631650,P21,c(Q290)) (Q4074760,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWER]
['Q1362287', 'P21', {'concept': 'Q290'}] ['Q1631650', 'P21', {'concept': 'Q290'}] ['Q4074760', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { ?r property:P21 ?u . VALUES ( ?r ) { ( resource:Q4074760 ) ( resource:Q22116332 ) ( resource:Q5697983 ) } . ?u rdf:type ontology:Q290 }
male male male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Manolis Andronikos', 'gender', {'concept': 'sex'}] ['Hovhannes Barseghian', 'gender', {'concept': 'sex'}] ['Edvard Baghdasaryan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { ?r property:gender ?u . VALUES ( ?r ) { ( resource:Edvard_Baghdasaryan ) ( resource:Helmut_Neef ) ( resource:Antonio_Campos_Muñoz ) } . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1362287
P1066
Q502895
USER
Which person was the teacher of Manolis Andronikos ?
(Q1362287,P1066,c(Q502895))
action filter_type
action find
entity Q1362287
relation P1066
type Q502895
['Q1362287', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1362287 property:P1066 ?w . ?w rdf:type ontology:Q502895 }
Manolis Andronikos
action filter_type
action find
entity Manolis Andronikos
relation student of
type common name
['Manolis Andronikos', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Manolis_Andronikos property:student_of ?w . ?w rdf:type ontology:common_name }
[]
common name
Q704230
SYSTEM
John Beazley
Q704230
(Q1362287,P1066,c(Q502895))
action filter_type
action find
entity Q1362287
relation P1066
type Q502895
[ANSWER]
['Q1362287', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1362287 property:P1066 ?w . ?w rdf:type ontology:Q502895 }
John Beazley
John Beazley
action filter_type
action find
entity Manolis Andronikos
relation student of
type common name
['Manolis Andronikos', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Manolis_Andronikos property:student_of ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q704230 Q145 Q176292
P27
Q15617994
USER
Is that person a citizen of United Kingdom and Lucito ?
(Q704230,P27,Q145) (Q704230,P27,Q176292)
action is_in
entity Q704230
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q176292
relation P27
['Q704230', 'P27', 'Q145'] ['Q704230', 'P27', 'Q176292']
ASK WHERE { resource:Q704230 property:P27 resource:Q145 . resource:Q704230 property:P27 resource:Q176292 }
John Beazley United Kingdom Lucito
action is_in
entity John Beazley
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Lucito
relation country of citizenship
['John Beazley', 'country of citizenship', 'United Kingdom'] ['John Beazley', 'country of citizenship', 'Lucito']
ASK WHERE { resource:John_Beazley property:country_of_citizenship resource:United_Kingdom . resource:John_Beazley property:country_of_citizenship resource:Lucito }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q704230,P27,Q145) (Q704230,P27,Q176292)
action is_in
entity Q704230
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q176292
relation P27
[ANSWER]
['Q704230', 'P27', 'Q145'] ['Q704230', 'P27', 'Q176292']
ASK WHERE { resource:Q704230 property:P27 resource:Q145 . resource:Q704230 property:P27 resource:Q176292 }
YES and NO respectively
action is_in
entity John Beazley
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Lucito
relation country of citizenship
['John Beazley', 'country of citizenship', 'United Kingdom'] ['John Beazley', 'country of citizenship', 'Lucito']
ASK WHERE { resource:John_Beazley property:country_of_citizenship resource:United_Kingdom . resource:John_Beazley property:country_of_citizenship resource:Lucito }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1622272 Q1518629
P101
Q502895
USER
How many people have his/her area as university teacher or Islamic feminism ?
(c(Q502895),P101,Q1622272) (c(Q502895),P101,Q1518629)
action count
action union
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1518629
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q1518629']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:P101 resource:Q1518629 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P101 resource:Q1622272 . ?c rdf:type ontology:Q502895 } }
university teacher Islamic feminism
action count
action union
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
action filter_type
action find_reverse
entity Islamic feminism
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'Islamic feminism']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:field_of_work resource:Islamic_feminism . ?c rdf:type ontology:common_name } UNION { ?c property:field_of_work resource:university_teacher . ?c rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q265133 Q21030230
(c(Q502895),P101,Q1622272) (c(Q502895),P101,Q1518629)
action count
action union
action filter_type
action find_reverse
entity Q1622272
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1518629
relation P101
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q1622272'] [{'concept': 'Q502895'}, 'P101', 'Q1518629']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:P101 resource:Q1518629 . ?c rdf:type ontology:Q502895 } UNION { ?c property:P101 resource:Q1622272 . ?c rdf:type ontology:Q502895 } }
Amina Wadud Eliška Klimková-Deutschová
2
action count
action union
action filter_type
action find_reverse
entity university teacher
relation field of work
type common name
action filter_type
action find_reverse
entity Islamic feminism
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'university teacher'] [{'concept': 'common name'}, 'field of work', 'Islamic feminism']
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { ?c property:field_of_work resource:Islamic_feminism . ?c rdf:type ontology:common_name } UNION { ?c property:field_of_work resource:university_teacher . ?c rdf:type ontology:common_name } }
[]