Simple Question (Direct)
Simple Question
Q993255
P20
Q56061
USER
Where did Bruno Fritz expire ?
(Q993255,P20,c(Q56061))
action filter_type
action find
entity Q993255
relation P20
type Q56061
['Q993255', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q993255 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Bruno Fritz
action filter_type
action find
entity Bruno Fritz
relation place of death
type administrative territorial entity
['Bruno Fritz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Bruno_Fritz property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q993255,P20,c(Q56061))
action filter_type
action find
entity Q993255
relation P20
type Q56061
Bruno Fritz expired at [ANSWER]
['Q993255', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q993255 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Berlin
Bruno Fritz expired at Berlin
Berlin
action filter_type
action find
entity Bruno Fritz
relation place of death
type administrative territorial entity
['Bruno Fritz', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Bruno_Fritz property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q993255
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q64)
action filter_type
action find_reverse
entity Q993255
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q64']
SELECT DISTINCT ?l WHERE { ?l property:P161 resource:Q993255 . ?l rdf:type ontology:Q838948 }
Bruno Fritz
action filter_type
action find_reverse
entity Bruno Fritz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Berlin']
SELECT DISTINCT ?l WHERE { ?l property:cast_member resource:Bruno_Fritz . ?l rdf:type ontology:work_of_art }
[]
work of art
Q1218464 Q820298 Q167647
SYSTEM
The Big Chance, Escape from East Berlin, Pension Schöller
Q820298 Q21646560 Q1218464 Q19898289 Q167647
(c(Q838948),P161,Q64)
action filter_type
action find_reverse
entity Q993255
relation P161
type Q838948
The name of works of art staring that person are [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q64']
SELECT DISTINCT ?l WHERE { ?l property:P161 resource:Q993255 . ?l rdf:type ontology:Q838948 }
Escape from East Berlin Josef the Chaste The Big Chance You Have to be Beautiful Pension Schöller
The name of works of art staring that person are The Big Chance, Escape from East Berlin and Pension Schöller
The Big Chance Escape from East Berlin Pension Schöller
action filter_type
action find_reverse
entity Bruno Fritz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Berlin']
SELECT DISTINCT ?l WHERE { ?l property:cast_member resource:Bruno_Fritz . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7705296
P106
Q151885
USER
What is the job of Teruaki Masumoto ?
(Q7705296,P106,c(Q151885))
action filter_type
action find
entity Q7705296
relation P106
type Q151885
['Q7705296', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q7705296 property:P106 ?t . ?t rdf:type ontology:Q151885 }
Teruaki Masumoto
action filter_type
action find
entity Teruaki Masumoto
relation occupation
type concept
['Teruaki Masumoto', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Teruaki_Masumoto property:occupation ?t . ?t rdf:type ontology:concept }
[]
concept
Q1476215
SYSTEM
human rights activist
Q1476215
(Q7705296,P106,c(Q151885))
action filter_type
action find
entity Q7705296
relation P106
type Q151885
The job of Teruaki Masumoto is a [ANSWER]
['Q7705296', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q7705296 property:P106 ?t . ?t rdf:type ontology:Q151885 }
human rights activist
The job of Teruaki Masumoto is a human rights activist
human rights activist
action filter_type
action find
entity Teruaki Masumoto
relation occupation
type concept
['Teruaki Masumoto', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Teruaki_Masumoto property:occupation ?t . ?t rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12884652
Q151885
USER
And how about Spyros Andriopoulos?
(Q12884652,P106,c(Q151885))
action filter_type
action find
entity Q12884652
relation P106
type Q151885
['Q12884652', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q12884652 property:P106 ?j . ?j rdf:type ontology:Q151885 }
Spyros Andriopoulos
action filter_type
action find
entity Spyros Andriopoulos
relation occupation
type concept
['Spyros Andriopoulos', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Spyros_Andriopoulos property:occupation ?j . ?j rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q12884652,P106,c(Q151885))
action filter_type
action find
entity Q12884652
relation P106
type Q151885
[ANSWER]
['Q12884652', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q12884652 property:P106 ?j . ?j rdf:type ontology:Q151885 }
athletics competitor
athletics competitor
action filter_type
action find
entity Spyros Andriopoulos
relation occupation
type concept
['Spyros Andriopoulos', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:Spyros_Andriopoulos property:occupation ?j . ?j rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1216030 Q167647
P161
Q502895
USER
Which people starred in Pension Schöller or The Serpent and the Rainbow ?
OR((Q167647,P161,c(Q502895)), (Q1216030,P161,c(Q502895)))
action filter_type
action union
action find
entity Q167647
relation P161
action find
entity Q1216030
relation P161
type Q502895
{'OR': [['Q167647', 'P161', {'concept': 'Q502895'}], ['Q1216030', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { ?q property:P161 ?l . VALUES ( ?q ) { ( resource:Q167647 ) ( resource:Q1216030 ) } } . ?l rdf:type ontology:Q502895 }
The Serpent and the Rainbow Pension Schöller
action filter_type
action union
action find
entity Pension Schöller
relation cast member
action find
entity The Serpent and the Rainbow
relation cast member
type common name
{'OR': [['Pension Schöller', 'cast member', {'concept': 'common name'}], ['The Serpent and the Rainbow', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { ?q property:cast_member ?l . VALUES ( ?q ) { ( resource:Pension_Schöller ) ( resource:The_Serpent_and_the_Rainbow ) } } . ?l rdf:type ontology:common_name }
[]
common name
Q273137 Q299302 Q993255 Q109366 Q87452 Q97720 Q76647 Q315763 Q445755 Q464744
SYSTEM
Some of them are Dey Young, Michael Gough, Bruno Fritz, Rudolf Platte, Hans Stiebner, Camilla Spira, Paul Henckels, Bill Pullman, Cathy Tyson, Paul Guilfoyle
Q344576 Q2163573 Q445755 Q993255 Q108811 Q1874966 Q315763 Q1382964 Q3523800 Q650121 Q87452 Q101059 Q1491904 Q109366 Q299302 Q76647 Q464744 Q101868 Q1229686 Q273137 Q97720 Q1421136
OR((Q167647,P161,c(Q502895)), (Q1216030,P161,c(Q502895)))
action filter_type
action union
action find
entity Q167647
relation P161
action find
entity Q1216030
relation P161
type Q502895
[ANSWERS] starred in Pension Schöller or The Serpent and the Rainbow
{'OR': [['Q167647', 'P161', {'concept': 'Q502895'}], ['Q1216030', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { ?q property:P161 ?l . VALUES ( ?q ) { ( resource:Q167647 ) ( resource:Q1216030 ) } } . ?l rdf:type ontology:Q502895 }
Paul Winfield Rolf Kutschera Cathy Tyson Bruno Fritz Edith Schollwer Ludwig Schmitz Bill Pullman Ewald Wenck Theresa Merritt Zakes Mokae Hans Stiebner Eva Ingeborg Scholz Joachim Brennecke Rudolf Platte Michael Gough Paul Henckels Paul Guilfoyle Wolfgang Neuss Peter Mosbacher Dey Young Camilla Spira Fita Benkhoff
Dey Young, Michael Gough, Bruno Fritz, Rudolf Platte, Hans Stiebner, Camilla Spira, Paul Henckels, Bill Pullman, Cathy Tyson and Paul Guilfoyle starred in Pension Schöller or The Serpent and the Rainbow
Dey Young Michael Gough Bruno Fritz Rudolf Platte Hans Stiebner Camilla Spira Paul Henckels Bill Pullman Cathy Tyson Paul Guilfoyle
action filter_type
action union
action find
entity Pension Schöller
relation cast member
action find
entity The Serpent and the Rainbow
relation cast member
type common name
{'OR': [['Pension Schöller', 'cast member', {'concept': 'common name'}], ['The Serpent and the Rainbow', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { ?q property:cast_member ?l . VALUES ( ?q ) { ( resource:Pension_Schöller ) ( resource:The_Serpent_and_the_Rainbow ) } } . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q273137 Q299302 Q993255 Q109366 Q87452 Q97720 Q76647 Q315763 Q445755 Q464744
P21
Q290
USER
Which sexes do those people possess ?
(Q273137,P21,c(Q290)) (Q299302,P21,c(Q290)) (Q993255,P21,c(Q290)) (Q109366,P21,c(Q290)) (Q87452,P21,c(Q290)) (Q97720,P21,c(Q290)) (Q76647,P21,c(Q290)) (Q315763,P21,c(Q290)) (Q445755,P21,c(Q290)) (Q464744,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q273137', 'P21', {'concept': 'Q290'}] ['Q299302', 'P21', {'concept': 'Q290'}] ['Q993255', 'P21', {'concept': 'Q290'}] ['Q109366', 'P21', {'concept': 'Q290'}] ['Q87452', 'P21', {'concept': 'Q290'}] ['Q97720', 'P21', {'concept': 'Q290'}] ['Q76647', 'P21', {'concept': 'Q290'}] ['Q315763', 'P21', {'concept': 'Q290'}] ['Q445755', 'P21', {'concept': 'Q290'}] ['Q464744', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . VALUES ( ?q ) { ( resource:Q344576 ) ( resource:Q2163573 ) ( resource:Q445755 ) } . ?q property:P21 ?c }
Dey Young Michael Gough Bruno Fritz Rudolf Platte Hans Stiebner Camilla Spira Paul Henckels Bill Pullman Cathy Tyson Paul Guilfoyle
action filter_type
action find
entity prev_answer
relation gender
type sex
['Dey Young', 'gender', {'concept': 'sex'}] ['Michael Gough', 'gender', {'concept': 'sex'}] ['Bruno Fritz', 'gender', {'concept': 'sex'}] ['Rudolf Platte', 'gender', {'concept': 'sex'}] ['Hans Stiebner', 'gender', {'concept': 'sex'}] ['Camilla Spira', 'gender', {'concept': 'sex'}] ['Paul Henckels', 'gender', {'concept': 'sex'}] ['Bill Pullman', 'gender', {'concept': 'sex'}] ['Cathy Tyson', 'gender', {'concept': 'sex'}] ['Paul Guilfoyle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . VALUES ( ?q ) { ( resource:Paul_Winfield ) ( resource:Rolf_Kutschera ) ( resource:Cathy_Tyson ) } . ?q property:gender ?c }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581097 Q6581097 Q6581072 Q6581097
(Q273137,P21,c(Q290)) (Q299302,P21,c(Q290)) (Q993255,P21,c(Q290)) (Q109366,P21,c(Q290)) (Q87452,P21,c(Q290)) (Q97720,P21,c(Q290)) (Q76647,P21,c(Q290)) (Q315763,P21,c(Q290)) (Q445755,P21,c(Q290)) (Q464744,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q273137', 'P21', {'concept': 'Q290'}] ['Q299302', 'P21', {'concept': 'Q290'}] ['Q993255', 'P21', {'concept': 'Q290'}] ['Q109366', 'P21', {'concept': 'Q290'}] ['Q87452', 'P21', {'concept': 'Q290'}] ['Q97720', 'P21', {'concept': 'Q290'}] ['Q76647', 'P21', {'concept': 'Q290'}] ['Q315763', 'P21', {'concept': 'Q290'}] ['Q445755', 'P21', {'concept': 'Q290'}] ['Q464744', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . VALUES ( ?q ) { ( resource:Q344576 ) ( resource:Q2163573 ) ( resource:Q445755 ) } . ?q property:P21 ?c }
female male male male male female male male female male
Those people possess a female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Dey Young', 'gender', {'concept': 'sex'}] ['Michael Gough', 'gender', {'concept': 'sex'}] ['Bruno Fritz', 'gender', {'concept': 'sex'}] ['Rudolf Platte', 'gender', {'concept': 'sex'}] ['Hans Stiebner', 'gender', {'concept': 'sex'}] ['Camilla Spira', 'gender', {'concept': 'sex'}] ['Paul Henckels', 'gender', {'concept': 'sex'}] ['Bill Pullman', 'gender', {'concept': 'sex'}] ['Cathy Tyson', 'gender', {'concept': 'sex'}] ['Paul Guilfoyle', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . VALUES ( ?q ) { ( resource:Paul_Winfield ) ( resource:Rolf_Kutschera ) ( resource:Cathy_Tyson ) } . ?q property:gender ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q299302
P737
Q502895
USER
Which person was influenced by Michael Gough ?
(c(Q502895),P737,Q299302)
action filter_type
action find_reverse
entity Q299302
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q299302']
SELECT DISTINCT ?k WHERE { ?k property:P737 resource:Q299302 . ?k rdf:type ontology:Q502895 }
Michael Gough
action filter_type
action find_reverse
entity Michael Gough
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Michael Gough']
SELECT DISTINCT ?k WHERE { ?k property:influenced_by resource:Michael_Gough . ?k rdf:type ontology:common_name }
[]
common name
Q708172
SYSTEM
Nipsey Russell
Q708172
(c(Q502895),P737,Q299302)
action filter_type
action find_reverse
entity Q299302
relation P737
type Q502895
[ANSWER] was influenced by Michael Gough
[{'concept': 'Q502895'}, 'P737', 'Q299302']
SELECT DISTINCT ?k WHERE { ?k property:P737 resource:Q299302 . ?k rdf:type ontology:Q502895 }
Nipsey Russell
Nipsey Russell was influenced by Michael Gough
Nipsey Russell
action filter_type
action find_reverse
entity Michael Gough
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Michael Gough']
SELECT DISTINCT ?k WHERE { ?k property:influenced_by resource:Michael_Gough . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q708172
P172
Q2472587
USER
Which ethnic group does that person belong ?
(Q708172,P172,c(Q2472587))
action filter_type
action find
entity Q708172
relation P172
type Q2472587
['Q708172', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?t WHERE { resource:Q708172 property:P172 ?t . ?t rdf:type ontology:Q2472587 }
Nipsey Russell
action filter_type
action find
entity Nipsey Russell
relation ethnic group
type people
['Nipsey Russell', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?t WHERE { resource:Nipsey_Russell property:ethnic_group ?t . ?t rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q708172,P172,c(Q2472587))
action filter_type
action find
entity Q708172
relation P172
type Q2472587
That person belongs to [ANSWER]
['Q708172', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?t WHERE { resource:Q708172 property:P172 ?t . ?t rdf:type ontology:Q2472587 }
African Americans
That person belongs to African Americans
African Americans
action filter_type
action find
entity Nipsey Russell
relation ethnic group
type people
['Nipsey Russell', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?t WHERE { resource:Nipsey_Russell property:ethnic_group ?t . ?t rdf:type ontology:people }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1755265
P138
Q271669 Q2221906 Q151885
USER
How many concepts are named after greater number of landforms or geographic locations than Kulli culture ?
(c(Q151885),P138,c(Q271669)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q271669
action find_tuple_counts
relation P138
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q1755265
relation P138
type Q271669
type Q2221906
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?b ) { ( ontology:Q271669 ) ( ontology:Q2221906 ) } . ?a rdf:type ?b } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q1755265 property:P138 ?j . { { ?j rdf:type ontology:Q271669 } UNION { ?j rdf:type ontology:Q2221906 } } } } . FILTER ( ?r > ?e ) }
Kulli culture
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type landform
action find_tuple_counts
relation named after
type concept
type geographic location
action count
action filter_multi_types
action find
entity Kulli culture
relation named after
type landform
type geographic location
[{'concept': 'concept'}, 'named after', [{'concept': 'landform'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?b ) { ( ontology:landform ) ( ontology:geographic_location ) } . ?a rdf:type ?b } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Kulli_culture property:named_after ?j . { { ?j rdf:type ontology:landform } UNION { ?j rdf:type ontology:geographic_location } } } } . FILTER ( ?r > ?e ) }
[]
landform geographic location concept
SYSTEM
7
Q182324 Q1127723 Q2624476 Q127455 Q169320 Q611017 Q260801
(c(Q151885),P138,c(Q271669)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q271669
action find_tuple_counts
relation P138
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q1755265
relation P138
type Q271669
type Q2221906
[ANSWER]
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?b ) { ( ontology:Q271669 ) ( ontology:Q2221906 ) } . ?a rdf:type ?b } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q1755265 property:P138 ?j . { { ?j rdf:type ontology:Q271669 } UNION { ?j rdf:type ontology:Q2221906 } } } } . FILTER ( ?r > ?e ) }
Antikythera mechanism Paracas culture Marajoara culture Ordos culture Trialeti culture Lusatian culture Havelland culture
7
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type landform
action find_tuple_counts
relation named after
type concept
type geographic location
action count
action filter_multi_types
action find
entity Kulli culture
relation named after
type landform
type geographic location
[{'concept': 'concept'}, 'named after', [{'concept': 'landform'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?b ) { ( ontology:landform ) ( ontology:geographic_location ) } . ?a rdf:type ?b } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Kulli_culture property:named_after ?j . { { ?j rdf:type ontology:landform } UNION { ?j rdf:type ontology:geographic_location } } } } . FILTER ( ?r > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1423912
P138
Q271669 Q2221906 Q151885
USER
And also tell me about Przeworsk culture?
(c(Q151885),P138,c(Q271669)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q271669
action find_tuple_counts
relation P138
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q1423912
relation P138
type Q271669
type Q2221906
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p property:P138 ?h . ?p rdf:type ontology:Q151885 . ?h rdf:type ontology:Q2221906 } UNION { ?p property:P138 ?h . ?h rdf:type ontology:Q271669 . ?p rdf:type ontology:Q151885 } } GROUP BY ?p } . FILTER ( ?r > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { { ?j rdf:type ontology:Q271669 } UNION { ?j rdf:type ontology:Q2221906 } } . resource:Q1423912 property:P138 ?j } } }
Przeworsk culture
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type landform
action find_tuple_counts
relation named after
type concept
type geographic location
action count
action filter_multi_types
action find
entity Przeworsk culture
relation named after
type landform
type geographic location
[{'concept': 'concept'}, 'named after', [{'concept': 'landform'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p property:named_after ?h . ?p rdf:type ontology:concept . ?h rdf:type ontology:geographic_location } UNION { ?p property:named_after ?h . ?h rdf:type ontology:landform . ?p rdf:type ontology:concept } } GROUP BY ?p } . FILTER ( ?r > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { { ?j rdf:type ontology:landform } UNION { ?j rdf:type ontology:geographic_location } } . resource:Przeworsk_culture property:named_after ?j } } }
[]
landform geographic location concept
SYSTEM
7
Q182324 Q1127723 Q2624476 Q127455 Q169320 Q611017 Q260801
(c(Q151885),P138,c(Q271669)|c(Q2221906))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q271669
action find_tuple_counts
relation P138
type Q151885
type Q2221906
action count
action filter_multi_types
action find
entity Q1423912
relation P138
type Q271669
type Q2221906
[ANSWER]
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q271669'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p property:P138 ?h . ?p rdf:type ontology:Q151885 . ?h rdf:type ontology:Q2221906 } UNION { ?p property:P138 ?h . ?h rdf:type ontology:Q271669 . ?p rdf:type ontology:Q151885 } } GROUP BY ?p } . FILTER ( ?r > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { { ?j rdf:type ontology:Q271669 } UNION { ?j rdf:type ontology:Q2221906 } } . resource:Q1423912 property:P138 ?j } } }
Antikythera mechanism Paracas culture Marajoara culture Ordos culture Trialeti culture Lusatian culture Havelland culture
7
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type landform
action find_tuple_counts
relation named after
type concept
type geographic location
action count
action filter_multi_types
action find
entity Przeworsk culture
relation named after
type landform
type geographic location
[{'concept': 'concept'}, 'named after', [{'concept': 'landform'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?p WHERE { { ?p property:named_after ?h . ?p rdf:type ontology:concept . ?h rdf:type ontology:geographic_location } UNION { ?p property:named_after ?h . ?h rdf:type ontology:landform . ?p rdf:type ontology:concept } } GROUP BY ?p } . FILTER ( ?r > ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { { ?j rdf:type ontology:landform } UNION { ?j rdf:type ontology:geographic_location } } . resource:Przeworsk_culture property:named_after ?j } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q299302
P69
Q2385804
USER
What is the educational institution where Michael Gough was educated ?
(Q299302,P69,c(Q2385804))
action filter_type
action find
entity Q299302
relation P69
type Q2385804
['Q299302', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?c WHERE { resource:Q299302 property:P69 ?c . ?c rdf:type ontology:Q2385804 }
Michael Gough
action filter_type
action find
entity Michael Gough
relation educated at
type educational institution
['Michael Gough', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?c WHERE { resource:Michael_Gough property:educated_at ?c . ?c rdf:type ontology:educational_institution }
[]
educational institution
Q5316554
SYSTEM
Durham School
Q5316554
(Q299302,P69,c(Q2385804))
action filter_type
action find
entity Q299302
relation P69
type Q2385804
The educational institution Michael Gough was educated is at [ANSWER]
['Q299302', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?c WHERE { resource:Q299302 property:P69 ?c . ?c rdf:type ontology:Q2385804 }
Durham School
The educational institution Michael Gough was educated is at Durham School
Durham School
action filter_type
action find
entity Michael Gough
relation educated at
type educational institution
['Michael Gough', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?c WHERE { resource:Michael_Gough property:educated_at ?c . ?c rdf:type ontology:educational_institution }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5545932
Q2385804
USER
And also tell me about Thorwald Alef?
(Q5545932,P69,c(Q2385804))
action filter_type
action find
entity Q5545932
relation P69
type Q2385804
['Q5545932', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?m WHERE { resource:Q5545932 property:P69 ?m . ?m rdf:type ontology:Q2385804 }
Thorwald Alef
action filter_type
action find
entity Thorwald Alef
relation educated at
type educational institution
['Thorwald Alef', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?m WHERE { resource:Thorwald_Alef property:educated_at ?m . ?m rdf:type ontology:educational_institution }
[]
educational institution
Q3355352
SYSTEM
Royal University College of Fine Arts
Q3355352
(Q5545932,P69,c(Q2385804))
action filter_type
action find
entity Q5545932
relation P69
type Q2385804
[ANSWER]
['Q5545932', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?m WHERE { resource:Q5545932 property:P69 ?m . ?m rdf:type ontology:Q2385804 }
Royal University College of Fine Arts
Royal University College of Fine Arts
action filter_type
action find
entity Thorwald Alef
relation educated at
type educational institution
['Thorwald Alef', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?m WHERE { resource:Thorwald_Alef property:educated_at ?m . ?m rdf:type ontology:educational_institution }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3355352 Q649456
P17
Q15617994
USER
Is Royal University College of Fine Arts present in Hirschthal ?
(Q3355352,P17,Q649456)
action is_in
entity Q649456
action find
entity Q3355352
relation P17
['Q3355352', 'P17', 'Q649456']
ASK WHERE { resource:Q3355352 property:P17 resource:Q649456 }
Royal University College of Fine Arts Hirschthal
action is_in
entity Hirschthal
action find
entity Royal University College of Fine Arts
relation country
['Royal University College of Fine Arts', 'country', 'Hirschthal']
ASK WHERE { resource:Royal_University_College_of_Fine_Arts property:country resource:Hirschthal }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3355352,P17,Q649456)
action is_in
entity Q649456
action find
entity Q3355352
relation P17
[ANSWER]
['Q3355352', 'P17', 'Q649456']
ASK WHERE { resource:Q3355352 property:P17 resource:Q649456 }
No
action is_in
entity Hirschthal
action find
entity Royal University College of Fine Arts
relation country
['Royal University College of Fine Arts', 'country', 'Hirschthal']
ASK WHERE { resource:Royal_University_College_of_Fine_Arts property:country resource:Hirschthal }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5316554 Q145
P17
Q15617994
USER
Is Durham School located in United Kingdom ?
(Q5316554,P17,Q145)
action is_in
entity Q145
action find
entity Q5316554
relation P17
['Q5316554', 'P17', 'Q145']
ASK WHERE { resource:Q5316554 property:P17 resource:Q145 }
Durham School United Kingdom
action is_in
entity United Kingdom
action find
entity Durham School
relation country
['Durham School', 'country', 'United Kingdom']
ASK WHERE { resource:Durham_School property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q5316554,P17,Q145)
action is_in
entity Q145
action find
entity Q5316554
relation P17
[ANSWER]
['Q5316554', 'P17', 'Q145']
ASK WHERE { resource:Q5316554 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Durham School
relation country
['Durham School', 'country', 'United Kingdom']
ASK WHERE { resource:Durham_School property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1218464 Q3479250
P344
Q502895
USER
Is Serge Cottereau the cinematographer of The Big Chance ?
(Q1218464,P344,Q3479250)
action is_in
entity Q3479250
action find
entity Q1218464
relation P344
['Q1218464', 'P344', 'Q3479250']
ASK WHERE { resource:Q1218464 property:P344 resource:Q3479250 }
The Big Chance Serge Cottereau
action is_in
entity Serge Cottereau
action find
entity The Big Chance
relation director of photography
['The Big Chance', 'director of photography', 'Serge Cottereau']
ASK WHERE { resource:The_Big_Chance property:director_of_photography resource:Serge_Cottereau }
[]
common name
SYSTEM
NO
(Q1218464,P344,Q3479250)
action is_in
entity Q3479250
action find
entity Q1218464
relation P344
[ANSWER]
['Q1218464', 'P344', 'Q3479250']
ASK WHERE { resource:Q1218464 property:P344 resource:Q3479250 }
No
action is_in
entity Serge Cottereau
action find
entity The Big Chance
relation director of photography
['The Big Chance', 'director of photography', 'Serge Cottereau']
ASK WHERE { resource:The_Big_Chance property:director_of_photography resource:Serge_Cottereau }
[]