Simple Question (Direct)
Simple Question
Q625731
P25
Q15619164
USER
Who was the mother of Deanna Troi ?
(Q625731,P25,c(Q15619164))
action filter_type
action find
entity Q625731
relation P25
type Q15619164
['Q625731', 'P25', {'concept': 'Q15619164'}]
SELECT DISTINCT ?o WHERE { resource:Q625731 property:P25 ?o . ?o rdf:type ontology:Q15619164 }
Deanna Troi
action filter_type
action find
entity Deanna Troi
relation mother
type abstract being
['Deanna Troi', 'mother', {'concept': 'abstract being'}]
SELECT DISTINCT ?o WHERE { resource:Deanna_Troi property:mother ?o . ?o rdf:type ontology:abstract_being }
[]
abstract being
Q3173451
SYSTEM
Lwaxana Troi
Q3173451
(Q625731,P25,c(Q15619164))
action filter_type
action find
entity Q625731
relation P25
type Q15619164
The mother of Deanna Troi was named [ANSWER]
['Q625731', 'P25', {'concept': 'Q15619164'}]
SELECT DISTINCT ?o WHERE { resource:Q625731 property:P25 ?o . ?o rdf:type ontology:Q15619164 }
Lwaxana Troi
The mother of Deanna Troi was named Lwaxana Troi
Lwaxana Troi
action filter_type
action find
entity Deanna Troi
relation mother
type abstract being
['Deanna Troi', 'mother', {'concept': 'abstract being'}]
SELECT DISTINCT ?o WHERE { resource:Deanna_Troi property:mother ?o . ?o rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q625731
P40
Q15619164
USER
Which abstract being has that fictional taxon as a child ?
(c(Q15619164),P40,Q3173451)
action filter_type
action find_reverse
entity Q625731
relation P40
type Q15619164
[{'concept': 'Q15619164'}, 'P40', 'Q3173451']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q625731 . ?c rdf:type ontology:Q15619164 }
Deanna Troi
action filter_type
action find_reverse
entity Deanna Troi
relation child
type abstract being
[{'concept': 'abstract being'}, 'child', 'Lwaxana Troi']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Deanna_Troi . ?c rdf:type ontology:abstract_being }
[]
abstract being
Q3173451
SYSTEM
Lwaxana Troi
Q3173451
(c(Q15619164),P40,Q3173451)
action filter_type
action find_reverse
entity Q625731
relation P40
type Q15619164
[ANSWER] has that fictional taxon as a child
[{'concept': 'Q15619164'}, 'P40', 'Q3173451']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q625731 . ?c rdf:type ontology:Q15619164 }
Lwaxana Troi
Lwaxana Troi has that fictional taxon as a child
Lwaxana Troi
action filter_type
action find_reverse
entity Deanna Troi
relation child
type abstract being
[{'concept': 'abstract being'}, 'child', 'Lwaxana Troi']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Deanna_Troi . ?c rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P157
Q15707583 Q15619164 Q15619164
USER
How many abstract beings were assasinated by atleast 1 fictional taxons and abstract beings ?
(c(Q15619164),P157,c(Q15707583)|c(Q15619164))
action count
action atleast
action union
action find_tuple_counts
relation P157
type Q15619164
type Q15707583
action find_tuple_counts
relation P157
type Q15619164
type Q15619164
value 1
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q15707583'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } } GROUP BY ?y } . FILTER ( ?d >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional taxon
action find_tuple_counts
relation killed by
type abstract being
type abstract being
value 1
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional taxon'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } } GROUP BY ?y } . FILTER ( ?d >= 1 ) }
[]
fictional taxon abstract being abstract being
SYSTEM
17
Q868246 Q14166042 Q13882625 Q54271 Q14430111 Q1998913 Q14165982 Q13882674 Q27614034 Q27614033 Q27642045 Q1059976 Q14175641 Q51795 Q14175717 Q2737965 Q14174498
(c(Q15619164),P157,c(Q15707583)|c(Q15619164))
action count
action atleast
action union
action find_tuple_counts
relation P157
type Q15619164
type Q15707583
action find_tuple_counts
relation P157
type Q15619164
type Q15619164
value 1
[ANSWER]
[{'concept': 'Q15619164'}, 'P157', [{'concept': 'Q15707583'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15707583 ) ( ontology:Q15619164 ) } } GROUP BY ?y } . FILTER ( ?d >= 1 ) }
Coleman Trebor Cashmere Bruno Büring Ki-Adi-Mundi Clove Aayla Secura Gloss Wolf-Dieter Dabelstein Ellis Robinson Sammy Robinson Ritchie Doucet Sora Bulq Rue Jango Fett Marvel Zam Wesell Wiress
17
action count
action atleast
action union
action find_tuple_counts
relation killed by
type abstract being
type fictional taxon
action find_tuple_counts
relation killed by
type abstract being
type abstract being
value 1
[{'concept': 'abstract being'}, 'killed by', [{'concept': 'fictional taxon'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?d ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:fictional_taxon ) ( ontology:abstract_being ) } } GROUP BY ?y } . FILTER ( ?d >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3173451
P21
Q290
USER
Which sex does Lwaxana Troi belong to ?
(Q3173451,P21,c(Q290))
action filter_type
action find
entity Q3173451
relation P21
type Q290
['Q3173451', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q3173451 property:P21 ?y }
Lwaxana Troi
action filter_type
action find
entity Lwaxana Troi
relation gender
type sex
['Lwaxana Troi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Lwaxana_Troi property:gender ?y }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3173451,P21,c(Q290))
action filter_type
action find
entity Q3173451
relation P21
type Q290
Lwaxana Troi belongs to [ANSWER]
['Q3173451', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q3173451 property:P21 ?y }
female
Lwaxana Troi belongs to female
female
action filter_type
action find
entity Lwaxana Troi
relation gender
type sex
['Lwaxana Troi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Lwaxana_Troi property:gender ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581072
P136
Q502895
USER
Which people have that sex as genre ?
(c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q6581072 . ?d rdf:type ontology:Q502895 }
female
action filter_type
action find_reverse
entity female
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?d WHERE { ?d property:genre resource:female . ?d rdf:type ontology:common_name }
[]
common name
Q19831537 Q23688633
SYSTEM
Luisa María Martí García, Eva Jospin
Q19831537 Q23688633
(c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[ANSWERS] have that sex as genre
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?d WHERE { ?d property:P136 resource:Q6581072 . ?d rdf:type ontology:Q502895 }
Luisa María Martí García Eva Jospin
Luisa María Martí García and Eva Jospin have that sex as genre
Luisa María Martí García Eva Jospin
action filter_type
action find_reverse
entity female
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'female']
SELECT DISTINCT ?d WHERE { ?d property:genre resource:female . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23688633
P734
Q82799
USER
Who is associated with Eva Jospin ?
(Q23688633,P734,c(Q82799))
action filter_type
action find
entity Q23688633
relation P734
type Q82799
['Q23688633', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q23688633 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Eva Jospin
action filter_type
action find
entity Eva Jospin
relation family name
type name
['Eva Jospin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Eva_Jospin property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q24247881
SYSTEM
Jospin
Q24247881
(Q23688633,P734,c(Q82799))
action filter_type
action find
entity Q23688633
relation P734
type Q82799
[ANSWER] is associated with Eva [ANSWER]
['Q23688633', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q23688633 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Jospin
Jospin is associated with Eva Jospin
Jospin
action filter_type
action find
entity Eva Jospin
relation family name
type name
['Eva Jospin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Eva_Jospin property:family_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18945243
Q82799
USER
And what about Federico Stefani?
(Q18945243,P734,c(Q82799))
action filter_type
action find
entity Q18945243
relation P734
type Q82799
['Q18945243', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q18945243 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Federico Stefani
action filter_type
action find
entity Federico Stefani
relation family name
type name
['Federico Stefani', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Federico_Stefani property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q21497154
SYSTEM
Stefani
Q21497154
(Q18945243,P734,c(Q82799))
action filter_type
action find
entity Q18945243
relation P734
type Q82799
[ANSWER]
['Q18945243', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q18945243 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Stefani
Stefani
action filter_type
action find
entity Federico Stefani
relation family name
type name
['Federico Stefani', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Federico_Stefani property:family_name ?r . ?r rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18945243
P20
Q56061
USER
Where did that person expire ?
(Q21497154,P20,c(Q56061))
action filter_type
action find
entity Q18945243
relation P20
type Q56061
['Q21497154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q18945243 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Federico Stefani
action filter_type
action find
entity Federico Stefani
relation place of death
type administrative territorial entity
['Stefani', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Federico_Stefani property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q21497154,P20,c(Q56061))
action filter_type
action find
entity Q18945243
relation P20
type Q56061
That person expired in [ANSWER]
['Q21497154', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q18945243 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Venice
That person expired in Venice
Venice
action filter_type
action find
entity Federico Stefani
relation place of death
type administrative territorial entity
['Stefani', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Federico_Stefani property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18945243
P19
Q15617994
USER
Where was that person born ?
(Q641,P19,c(Q15617994))
action filter_type
action find
entity Q18945243
relation P19
type Q15617994
['Q641', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q18945243 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Federico Stefani
action filter_type
action find
entity Federico Stefani
relation place of birth
type designation for an administrative territorial entity
['Venice', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Federico_Stefani property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q6671
SYSTEM
Cittadella
Q6671
(Q641,P19,c(Q15617994))
action filter_type
action find
entity Q18945243
relation P19
type Q15617994
That person was born in [ANSWER]
['Q641', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q18945243 property:P19 ?o . ?o rdf:type ontology:Q15617994 }
Cittadella
That person was born in Cittadella
Cittadella
action filter_type
action find
entity Federico Stefani
relation place of birth
type designation for an administrative territorial entity
['Venice', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Federico_Stefani property:place_of_birth ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]