Simple Question (Direct)
Simple Question
Q15728993
P512
Q3412758
USER
What is the name of the degree held by Christian Welzel ?
(Q15728993,P512,c(Q3412758))
action filter_type
action find
entity Q15728993
relation P512
type Q3412758
['Q15728993', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q3412758 . resource:Q15728993 property:P512 ?t }
Christian Welzel
action filter_type
action find
entity Christian Welzel
relation academic degree
type qualification
['Christian Welzel', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:qualification . resource:Christian_Welzel property:academic_degree ?t }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q15728993,P512,c(Q3412758))
action filter_type
action find
entity Q15728993
relation P512
type Q3412758
The name of the degree held by Christian Welzel is the [ANSWER]
['Q15728993', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q3412758 . resource:Q15728993 property:P512 ?t }
doctoral degree
The name of the degree held by Christian Welzel is the doctoral degree
doctoral degree
action filter_type
action find
entity Christian Welzel
relation academic degree
type qualification
['Christian Welzel', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:qualification . resource:Christian_Welzel property:academic_degree ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q849697
P69
Q502895
USER
Who studied at that qualification ?
(c(Q502895),P69,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q849697']
SELECT DISTINCT ?l WHERE { ?l property:P69 resource:Q849697 . ?l rdf:type ontology:Q502895 }
doctoral degree
action filter_type
action find_reverse
entity doctoral degree
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'doctoral degree']
SELECT DISTINCT ?l WHERE { ?l property:educated_at resource:doctoral_degree . ?l rdf:type ontology:common_name }
[]
common name
Q2369193 Q120389 Q3419113
SYSTEM
Auguste Sabatier, Stéphane Udry, Raoul Allier
Q2369193 Q120389 Q3419113
(c(Q502895),P69,Q849697)
action filter_type
action find_reverse
entity Q849697
relation P69
type Q502895
[ANSWERS] studied at that qualification
[{'concept': 'Q502895'}, 'P69', 'Q849697']
SELECT DISTINCT ?l WHERE { ?l property:P69 resource:Q849697 . ?l rdf:type ontology:Q502895 }
Auguste Sabatier Stéphane Udry Raoul Allier
Auguste Sabatier, Stéphane Udry and Raoul Allier studied at that qualification
Auguste Sabatier Stéphane Udry Raoul Allier
action filter_type
action find_reverse
entity doctoral degree
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'doctoral degree']
SELECT DISTINCT ?l WHERE { ?l property:educated_at resource:doctoral_degree . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3419113
P20
Q20667921
USER
Where did that person die ?
(Q3419113,P20,c(Q20667921))
action filter_type
action find
entity Q3419113
relation P20
type Q20667921
['Q3419113', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q3419113 property:P20 ?f . ?f rdf:type ontology:Q20667921 }
Raoul Allier
action filter_type
action find
entity Raoul Allier
relation place of death
type type of french administrative division
['Raoul Allier', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Raoul_Allier property:place_of_death ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q3419113
SYSTEM
Did you mean Raoul Allier ?
Q2369193 Q120389 Q3419113
(Q2369193,P20,c(Q20667921)) (Q120389,P20,c(Q20667921)) (Q3419113,P20,c(Q20667921))
[ANSWER]
['Q2369193', 'P20', {'concept': 'Q20667921'}] ['Q120389', 'P20', {'concept': 'Q20667921'}] ['Q3419113', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q3419113 property:P20 ?f . ?f rdf:type ontology:Q20667921 }
Auguste Sabatier Stéphane Udry Raoul Allier
Did you mean Raoul Allier ?
Raoul Allier
['Auguste Sabatier', 'place of death', {'concept': 'type of french administrative division'}] ['Stéphane Udry', 'place of death', {'concept': 'type of french administrative division'}] ['Raoul Allier', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Raoul_Allier property:place_of_death ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3419113,P20,c(Q20667921))
['Q3419113', 'P20', {'concept': 'Q20667921'}]
['Raoul Allier', 'place of death', {'concept': 'type of french administrative division'}]
[]
Q128716
SYSTEM
Sarzeau
Q128716
(Q3419113,P20,c(Q20667921))
action filter_type
action find
entity Q3419113
relation P20
type Q20667921
That person died at [ANSWER]
['Q3419113', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { resource:Q3419113 property:P20 ?f . ?f rdf:type ontology:Q20667921 }
Sarzeau
That person died at Sarzeau
Sarzeau
action filter_type
action find
entity Raoul Allier
relation place of death
type type of french administrative division
['Raoul Allier', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { resource:Raoul_Allier property:place_of_death ?f . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q128716 Q3292642
P19
Q502895
USER
Does Marie Le Franc have location of birth at that french administrative division ?
(Q3292642,P19,Q128716)
action is_in
entity Q128716
action find
entity Q3292642
relation P19
['Q3292642', 'P19', 'Q128716']
ASK WHERE { resource:Q3292642 property:P19 resource:Q128716 }
Sarzeau Marie Le Franc
action is_in
entity Sarzeau
action find
entity Marie Le Franc
relation place of birth
['Marie Le Franc', 'place of birth', 'Sarzeau']
ASK WHERE { resource:Marie_Le_Franc property:place_of_birth resource:Sarzeau }
[]
common name
SYSTEM
YES
(Q3292642,P19,Q128716)
action is_in
entity Q128716
action find
entity Q3292642
relation P19
[ANSWER]
['Q3292642', 'P19', 'Q128716']
ASK WHERE { resource:Q3292642 property:P19 resource:Q128716 }
Yes
action is_in
entity Sarzeau
action find
entity Marie Le Franc
relation place of birth
['Marie Le Franc', 'place of birth', 'Sarzeau']
ASK WHERE { resource:Marie_Le_Franc property:place_of_birth resource:Sarzeau }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q502895 Q15416 Q7725634
USER
Which people are atleast 1 television programs or literary works based on ?
(c(Q15416)|c(Q7725634),P144,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P144
type Q502895
type Q7725634
value 1
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q15416 ) } } GROUP BY ?v } . FILTER ( ?q >= 1 ) }
action atleast
action union
action find_reverse_tuple_counts
relation based on
type common name
type television program
action find_reverse_tuple_counts
relation based on
type common name
type literary work
value 1
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:television_program ) } } GROUP BY ?v } . FILTER ( ?q >= 1 ) }
[]
common name television program literary work
Q467216 Q7151235 Q4758379
SYSTEM
Amy Fisher, Paul Hemphill, Andrew Revkin
Q467216 Q22088567 Q7151235 Q26267872 Q5213429 Q176819 Q5516058 Q4758379
(c(Q15416)|c(Q7725634),P144,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15416
action find_reverse_tuple_counts
relation P144
type Q502895
type Q7725634
value 1
[ANSWERS] are atleast 1 television programs or literary works based on
[[{'concept': 'Q15416'}, {'concept': 'Q7725634'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q15416 ) } } GROUP BY ?v } . FILTER ( ?q >= 1 ) }
Amy Fisher Philip Hamilton Paul Hemphill Marianne Ihlen Dan Dunn Thomas W. Sneddon, Jr. Gabrielle Carey Andrew Revkin
Amy Fisher, Paul Hemphill and Andrew Revkin are atleast 1 television programs or literary works based on
Amy Fisher Paul Hemphill Andrew Revkin
action atleast
action union
action find_reverse_tuple_counts
relation based on
type common name
type television program
action find_reverse_tuple_counts
relation based on
type common name
type literary work
value 1
[[{'concept': 'television program'}, {'concept': 'literary work'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?q ) WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:television_program ) } } GROUP BY ?v } . FILTER ( ?q >= 1 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P144
Q502895 Q15961987
USER
How many people are more number of television genres adapted from than that person ?
(c(Q15961987),P144,c(Q502895))
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q502895 }
[{'concept': 'television genre'}, 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:common_name }
[]
common name television genre
Comparative|Count over More/Less|Single entity type|Clarification
Q7151235
SYSTEM
Did you mean Paul Hemphill ?
(c(Q15961987),P144,c(Q502895))
[ANSWER]
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q502895 }
Did you mean Paul Hemphill ?
Paul Hemphill
[{'concept': 'television genre'}, 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q15961987),P144,c(Q502895))
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q502895'}]
[{'concept': 'television genre'}, 'based on', {'concept': 'common name'}]
[]
SYSTEM
1
Q5358186
(c(Q15961987),P144,c(Q502895))
[ANSWER]
[{'concept': 'Q15961987'}, 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P144 ?y . ?z rdf:type ontology:Q15961987 . ?y rdf:type ontology:Q502895 }
Yarō Abe
1
[{'concept': 'television genre'}, 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:based_on ?y . ?z rdf:type ontology:television_genre . ?y rdf:type ontology:common_name }
[]