Simple Question (Direct)
Simple Question
Q3240953
P40
Q502895
USER
Which person is an offspring of Lily Pastré ?
(Q3240953,P40,c(Q502895))
action filter_type
action find
entity Q3240953
relation P40
type Q502895
['Q3240953', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3240953 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Lily Pastré
action filter_type
action find
entity Lily Pastré
relation child
type common name
['Lily Pastré', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lily_Pastré property:child ?g . ?g rdf:type ontology:common_name }
[]
common name
Q20931546
SYSTEM
Nicole Véra Claire Hélène Maurice Pastré
Q20931546
(Q3240953,P40,c(Q502895))
action filter_type
action find
entity Q3240953
relation P40
type Q502895
[ANSWER] is an offspring of Lily Pastré
['Q3240953', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q3240953 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Nicole Véra Claire Hélène Maurice Pastré
Nicole Véra Claire Hélène Maurice Pastré is an offspring of Lily Pastré
Nicole Véra Claire Hélène Maurice Pastré
action filter_type
action find
entity Lily Pastré
relation child
type common name
['Lily Pastré', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Lily_Pastré property:child ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20931546
P21
Q290
USER
Which sex does that person possess ?
(Q20931546,P21,c(Q290))
action filter_type
action find
entity Q20931546
relation P21
type Q290
['Q20931546', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q20931546 property:P21 ?c . ?c rdf:type ontology:Q290 }
Nicole Véra Claire Hélène Maurice Pastré
action filter_type
action find
entity Nicole Véra Claire Hélène Maurice Pastré
relation gender
type sex
['Nicole Véra Claire Hélène Maurice Pastré', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nicole_Véra_Claire_Hélène_Maurice_Pastré property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q20931546,P21,c(Q290))
action filter_type
action find
entity Q20931546
relation P21
type Q290
That person possesses the [ANSWER]
['Q20931546', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q20931546 property:P21 ?c . ?c rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Nicole Véra Claire Hélène Maurice Pastré
relation gender
type sex
['Nicole Véra Claire Hélène Maurice Pastré', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Nicole_Véra_Claire_Hélène_Maurice_Pastré property:gender ?c . ?c rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P21
Q16521 Q193291
USER
How many taxons and spirits have the gender as that sex ?
(c(Q16521),P21,Q6581072) (c(Q193291),P21,Q6581072) (c(Q16521),P21,Q6581072) (c(Q193291),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q16521
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q193291
[{'concept': 'Q16521'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072'] [{'concept': 'Q16521'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:P21 resource:Q6581072 . ?d rdf:type ontology:Q16521 } UNION { ?d rdf:type ontology:Q193291 . ?d property:P21 resource:Q6581072 } }
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type taxon
action filter_type
action find_reverse
entity female
relation gender
type spirit
[{'concept': 'taxon'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female'] [{'concept': 'taxon'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:gender resource:female . ?d rdf:type ontology:taxon } UNION { ?d rdf:type ontology:spirit . ?d property:gender resource:female } }
[]
taxon spirit
SYSTEM
14 taxons and 15 spirits
Q1888154 Q1359465 Q7270702 Q1477162 Q4683151 Q4750939 Q6179133 Q2665317 Q6799149 Q5613160 Q16411365 Q5594049 Q4843154 Q1930712 Q3293278 Q6727083 Q7630348 Q15263107 Q1385709 Q7714263 Q6799152 Q5423293 Q6842208 Q2454771 Q14832020 Q739947 Q4696473 Q16481571 Q1888234
(c(Q16521),P21,Q6581072) (c(Q193291),P21,Q6581072) (c(Q16521),P21,Q6581072) (c(Q193291),P21,Q6581072)
action count
action union
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q16521
action filter_type
action find_reverse
entity Q6581072
relation P21
type Q193291
[ANSWER]
[{'concept': 'Q16521'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072'] [{'concept': 'Q16521'}, 'P21', 'Q6581072'] [{'concept': 'Q193291'}, 'P21', 'Q6581072']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:P21 resource:Q6581072 . ?d rdf:type ontology:Q16521 } UNION { ?d rdf:type ontology:Q193291 . ?d property:P21 resource:Q6581072 } }
Maman Brigitte Erzulie Queenie Yemaja Adjassou-Linguetor Anaisa Pye Jenny River Song Maîtresse Délai Gua Brita Gran Maître Bai Yun Ayida-Weddo Marinette Mademoiselle Charlotte Su Lin Yuan Zai Seedling Grumpy Cat Maîtresse Hounon'gon Ezili Dantor Midge the Sea Lion Mawu Lil Bub Ayizan Ai Imperia Mami Wata
14 taxons and 15 spirits
action count
action union
action filter_type
action find_reverse
entity female
relation gender
type taxon
action filter_type
action find_reverse
entity female
relation gender
type spirit
[{'concept': 'taxon'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female'] [{'concept': 'taxon'}, 'gender', 'female'] [{'concept': 'spirit'}, 'gender', 'female']
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { ?d property:gender resource:female . ?d rdf:type ontology:taxon } UNION { ?d rdf:type ontology:spirit . ?d property:gender resource:female } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20931546
P26
Q502895
USER
Who is the spouse of Nicole Véra Claire Hélène Maurice Pastré ?
(c(Q502895),P26,Q20931546)
action filter_type
action find
entity Q20931546
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q20931546']
SELECT DISTINCT ?p WHERE { resource:Q20931546 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Nicole Véra Claire Hélène Maurice Pastré
action filter_type
action find
entity Nicole Véra Claire Hélène Maurice Pastré
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nicole Véra Claire Hélène Maurice Pastré']
SELECT DISTINCT ?p WHERE { resource:Nicole_Véra_Claire_Hélène_Maurice_Pastré property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q545253
SYSTEM
Joachim, 7th Prince Murat
Q545253
(c(Q502895),P26,Q20931546)
action filter_type
action find
entity Q20931546
relation P26
type Q502895
The spouse of Nicole Véra Claire Hélène Maurice Pastré is born [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q20931546']
SELECT DISTINCT ?p WHERE { resource:Q20931546 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Joachim, 7th Prince Murat
The spouse of Nicole Véra Claire Hélène Maurice Pastré is born Joachim, 7th Prince Murat
Joachim, 7th Prince Murat
action filter_type
action find
entity Nicole Véra Claire Hélène Maurice Pastré
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Nicole Véra Claire Hélène Maurice Pastré']
SELECT DISTINCT ?p WHERE { resource:Nicole_Véra_Claire_Hélène_Maurice_Pastré property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3240953
P25
Q502895
USER
Who was the mom of Lily Pastré ?
(Q3240953,P25,c(Q502895))
action filter_type
action find
entity Q3240953
relation P25
type Q502895
['Q3240953', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3240953 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Lily Pastré
action filter_type
action find
entity Lily Pastré
relation mother
type common name
['Lily Pastré', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lily_Pastré property:mother ?t . ?t rdf:type ontology:common_name }
[]
common name
Q20931631
SYSTEM
Véra Double
Q20931631
(Q3240953,P25,c(Q502895))
action filter_type
action find
entity Q3240953
relation P25
type Q502895
The mom of Lily Pastré was the [ANSWER]
['Q3240953', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3240953 property:P25 ?t . ?t rdf:type ontology:Q502895 }
Véra Double
The mom of Lily Pastré was the Véra Double
Véra Double
action filter_type
action find
entity Lily Pastré
relation mother
type common name
['Lily Pastré', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Lily_Pastré property:mother ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q545253
P22
Q502895
USER
Which male person was the parent of Joachim, 7th Prince Murat ?
(Q545253,P22,c(Q502895))
action filter_type
action find
entity Q545253
relation P22
type Q502895
['Q545253', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q545253 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Joachim, 7th Prince Murat
action filter_type
action find
entity Joachim, 7th Prince Murat
relation father
type common name
['Joachim, 7th Prince Murat', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Joachim,_7th_Prince_Murat property:father ?b . ?b rdf:type ontology:common_name }
[]
common name
Q3179490
SYSTEM
Joachim, 6th Prince Murat
Q3179490
(Q545253,P22,c(Q502895))
action filter_type
action find
entity Q545253
relation P22
type Q502895
[ANSWER] was the parent of Joachim, 7th Prince Murat
['Q545253', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q545253 property:P22 ?b . ?b rdf:type ontology:Q502895 }
Joachim, 6th Prince Murat
Joachim, 6th Prince Murat was the parent of Joachim, 7th Prince Murat
Joachim, 6th Prince Murat
action filter_type
action find
entity Joachim, 7th Prince Murat
relation father
type common name
['Joachim, 7th Prince Murat', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Joachim,_7th_Prince_Murat property:father ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3179490
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q3179490,P106,c(Q12737077))
action filter_type
action find
entity Q3179490
relation P106
type Q12737077
['Q3179490', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3179490 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Joachim, 6th Prince Murat
action filter_type
action find
entity Joachim, 6th Prince Murat
relation occupation
type occupation
['Joachim, 6th Prince Murat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Joachim,_6th_Prince_Murat property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3179490,P106,c(Q12737077))
action filter_type
action find
entity Q3179490
relation P106
type Q12737077
Is [ANSWER] is the profession of that person
['Q3179490', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3179490 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
politician
Is politician is the profession of that person
politician
action filter_type
action find
entity Joachim, 6th Prince Murat
relation occupation
type occupation
['Joachim, 6th Prince Murat', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Joachim,_6th_Prince_Murat property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q5913424
P106
Q502895
USER
Does Ignacio Mejía have the profession as that occupation ?
(Q5913424,P106,Q82955)
action is_in
entity Q82955
action find
entity Q5913424
relation P106
['Q5913424', 'P106', 'Q82955']
ASK WHERE { resource:Q5913424 property:P106 resource:Q82955 }
politician Ignacio Mejía
action is_in
entity politician
action find
entity Ignacio Mejía
relation occupation
['Ignacio Mejía', 'occupation', 'politician']
ASK WHERE { resource:Ignacio_Mejía property:occupation resource:politician }
[]
common name
SYSTEM
YES
(Q5913424,P106,Q82955)
action is_in
entity Q82955
action find
entity Q5913424
relation P106
[ANSWER]
['Q5913424', 'P106', 'Q82955']
ASK WHERE { resource:Q5913424 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Ignacio Mejía
relation occupation
['Ignacio Mejía', 'occupation', 'politician']
ASK WHERE { resource:Ignacio_Mejía property:occupation resource:politician }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q545253 Q16557572
P26
Q502895
USER
Is Frank Raad the life partner of Joachim, 7th Prince Murat ?
(Q545253,P26,Q16557572)
action is_in
entity Q16557572
action find
entity Q545253
relation P26
['Q545253', 'P26', 'Q16557572']
ASK WHERE { resource:Q545253 property:P26 resource:Q16557572 }
Joachim, 7th Prince Murat Frank Raad
action is_in
entity Frank Raad
action find
entity Joachim, 7th Prince Murat
relation spouse
['Joachim, 7th Prince Murat', 'spouse', 'Frank Raad']
ASK WHERE { resource:Joachim,_7th_Prince_Murat property:spouse resource:Frank_Raad }
[]
common name
SYSTEM
NO
(Q545253,P26,Q16557572)
action is_in
entity Q16557572
action find
entity Q545253
relation P26
[ANSWER]
['Q545253', 'P26', 'Q16557572']
ASK WHERE { resource:Q545253 property:P26 resource:Q16557572 }
No
action is_in
entity Frank Raad
action find
entity Joachim, 7th Prince Murat
relation spouse
['Joachim, 7th Prince Murat', 'spouse', 'Frank Raad']
ASK WHERE { resource:Joachim,_7th_Prince_Murat property:spouse resource:Frank_Raad }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q545253
P19
Q20667921
USER
Which french administrative division was Joachim, 7th Prince Murat born in ?
(Q545253,P19,c(Q20667921))
action filter_type
action find
entity Q545253
relation P19
type Q20667921
['Q545253', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q545253 property:P19 ?i . ?i rdf:type ontology:Q20667921 }
Joachim, 7th Prince Murat
action filter_type
action find
entity Joachim, 7th Prince Murat
relation place of birth
type type of french administrative division
['Joachim, 7th Prince Murat', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Joachim,_7th_Prince_Murat property:place_of_birth ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q48958
SYSTEM
Neuilly-sur-Seine
Q48958
(Q545253,P19,c(Q20667921))
action filter_type
action find
entity Q545253
relation P19
type Q20667921
Which french administrative division was Joachim, 7th Prince Murat born in
['Q545253', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q545253 property:P19 ?i . ?i rdf:type ontology:Q20667921 }
Neuilly-sur-Seine
Which french administrative division was Joachim, 7th Prince Murat born in
Neuilly-sur-Seine
action filter_type
action find
entity Joachim, 7th Prince Murat
relation place of birth
type type of french administrative division
['Joachim, 7th Prince Murat', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Joachim,_7th_Prince_Murat property:place_of_birth ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]