Simple Question (Direct)
Simple Question
Q22337631
P26
Q502895
USER
Which person is the life partner of Gertrud of Joinville ?
(Q22337631,P26,c(Q502895))
action filter_type
action find
entity Q22337631
relation P26
type Q502895
['Q22337631', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q22337631 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Gertrud of Joinville
action filter_type
action find
entity Gertrud of Joinville
relation spouse
type common name
['Gertrud of Joinville', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Gertrud_of_Joinville property:spouse ?b . ?b rdf:type ontology:common_name }
[]
common name
Q2616417
SYSTEM
Gerard II of Vaudémont
Q2616417
(Q22337631,P26,c(Q502895))
action filter_type
action find
entity Q22337631
relation P26
type Q502895
[ANSWER] is the life partner of Gertrud of Joinville
['Q22337631', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q22337631 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Gerard II of Vaudémont
Gerard II of Vaudémont is the life partner of Gertrud of Joinville
Gerard II of Vaudémont
action filter_type
action find
entity Gertrud of Joinville
relation spouse
type common name
['Gertrud of Joinville', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Gertrud_of_Joinville property:spouse ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2616417
P21
Q290
USER
What is the sex of that person ?
(Q2616417,P21,c(Q290))
action filter_type
action find
entity Q2616417
relation P21
type Q290
['Q2616417', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q2616417 property:P21 ?g }
Gerard II of Vaudémont
action filter_type
action find
entity Gerard II of Vaudémont
relation gender
type sex
['Gerard II of Vaudémont', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Gerard_II_of_Vaudémont property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2616417,P21,c(Q290))
action filter_type
action find
entity Q2616417
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2616417', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q2616417 property:P21 ?g }
male
The sex of that person is a male
male
action filter_type
action find
entity Gerard II of Vaudémont
relation gender
type sex
['Gerard II of Vaudémont', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Gerard_II_of_Vaudémont property:gender ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1178361
P1303
Q34379 Q502895
USER
Which musical instruments are played by less number of people than davul ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1178361
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P1303 resource:Q1178361 . ?c rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?b } }
davul
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity davul
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:instrument resource:davul . ?c rdf:type ontology:common_name } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?b } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q1178361
relation P1303
type Q502895
[ANSWERS] are played by less number of people than davul
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:P1303 resource:Q1178361 . ?c rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?b } }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by less number of people than davul
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity davul
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?v < ?k ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?k ) WHERE { ?c property:instrument resource:davul . ?c rdf:type ontology:common_name } } . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?b } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3445701
P19
Q56061
USER
How many administrative territories were Elkouria Amidane born in ?
(Q3445701,P19,c(Q56061))
action count
action filter_type
action find
entity Q3445701
relation P19
type Q56061
['Q3445701', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q3445701 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Elkouria Amidane
action count
action filter_type
action find
entity Elkouria Amidane
relation place of birth
type administrative territorial entity
['Elkouria Amidane', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Elkouria_Amidane property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q47837
(Q3445701,P19,c(Q56061))
action count
action filter_type
action find
entity Q3445701
relation P19
type Q56061
[ANSWER]
['Q3445701', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q3445701 property:P19 ?e . ?e rdf:type ontology:Q56061 }
El Aaiún
1
action count
action filter_type
action find
entity Elkouria Amidane
relation place of birth
type administrative territorial entity
['Elkouria Amidane', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Elkouria_Amidane property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7052410
P19
Q56061
USER
And also tell me about Norman Jewson?
(Q7052410,P19,c(Q56061))
action count
action filter_type
action find
entity Q7052410
relation P19
type Q56061
['Q7052410', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b rdf:type ontology:Q56061 . resource:Q7052410 property:P19 ?b }
Norman Jewson
action count
action filter_type
action find
entity Norman Jewson
relation place of birth
type administrative territorial entity
['Norman Jewson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Norman_Jewson property:place_of_birth ?b }
[]
administrative territorial entity
SYSTEM
1
Q130191
(Q7052410,P19,c(Q56061))
action count
action filter_type
action find
entity Q7052410
relation P19
type Q56061
[ANSWER]
['Q7052410', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b rdf:type ontology:Q56061 . resource:Q7052410 property:P19 ?b }
Norwich
1
action count
action filter_type
action find
entity Norman Jewson
relation place of birth
type administrative territorial entity
['Norman Jewson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Norman_Jewson property:place_of_birth ?b }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3414546
Q56061
USER
And also tell me about Quinn Porter?
(Q3414546,P19,c(Q56061))
action count
action filter_type
action find
entity Q3414546
relation P19
type Q56061
['Q3414546', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q3414546 property:P19 ?r . ?r rdf:type ontology:Q56061 }
Quinn Porter
action count
action filter_type
action find
entity Quinn Porter
relation place of birth
type administrative territorial entity
['Quinn Porter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Quinn_Porter property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q3414546,P19,c(Q56061))
action count
action filter_type
action find
entity Q3414546
relation P19
type Q56061
[ANSWER]
['Q3414546', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q3414546 property:P19 ?r . ?r rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Quinn Porter
relation place of birth
type administrative territorial entity
['Quinn Porter', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Quinn_Porter property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3296888 Q3445701
P19
Q56061
USER
Which administrative territories were Elkouria Amidane or Inday Ba born at ?
OR((Q3445701,P19,c(Q56061)), (Q3296888,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3445701
relation P19
action find
entity Q3296888
relation P19
type Q56061
{'OR': [['Q3445701', 'P19', {'concept': 'Q56061'}], ['Q3296888', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . { { resource:Q3445701 property:P19 ?l } UNION { resource:Q3296888 property:P19 ?l } } }
Inday Ba Elkouria Amidane
action filter_type
action union
action find
entity Elkouria Amidane
relation place of birth
action find
entity Inday Ba
relation place of birth
type administrative territorial entity
{'OR': [['Elkouria Amidane', 'place of birth', {'concept': 'administrative territorial entity'}], ['Inday Ba', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . { { resource:Elkouria_Amidane property:place_of_birth ?l } UNION { resource:Inday_Ba property:place_of_birth ?l } } }
[]
administrative territorial entity
Q47837 Q538008
SYSTEM
El Aaiún, Angered
Q47837 Q538008
OR((Q3445701,P19,c(Q56061)), (Q3296888,P19,c(Q56061)))
action filter_type
action union
action find
entity Q3445701
relation P19
action find
entity Q3296888
relation P19
type Q56061
Elkouria Amidane or Inday Ba were born in [ANSWERS]
{'OR': [['Q3445701', 'P19', {'concept': 'Q56061'}], ['Q3296888', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . { { resource:Q3445701 property:P19 ?l } UNION { resource:Q3296888 property:P19 ?l } } }
El Aaiún Angered
Elkouria Amidane or Inday Ba were born in El Aaiún and Angered
El Aaiún Angered
action filter_type
action union
action find
entity Elkouria Amidane
relation place of birth
action find
entity Inday Ba
relation place of birth
type administrative territorial entity
{'OR': [['Elkouria Amidane', 'place of birth', {'concept': 'administrative territorial entity'}], ['Inday Ba', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . { { resource:Elkouria_Amidane property:place_of_birth ?l } UNION { resource:Inday_Ba property:place_of_birth ?l } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2616417
P40
Q502895
USER
Which person has Gerard II of Vaudémont as a child ?
(c(Q502895),P40,Q2616417)
action filter_type
action find_reverse
entity Q2616417
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2616417']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q2616417 . ?m rdf:type ontology:Q502895 }
Gerard II of Vaudémont
action filter_type
action find_reverse
entity Gerard II of Vaudémont
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gerard II of Vaudémont']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Gerard_II_of_Vaudémont . ?m rdf:type ontology:common_name }
[]
common name
Q822916
SYSTEM
Hugh I of Vaudémont
Q822916
(c(Q502895),P40,Q2616417)
action filter_type
action find_reverse
entity Q2616417
relation P40
type Q502895
[ANSWER] has Gerard II of Vaudémont as a child
[{'concept': 'Q502895'}, 'P40', 'Q2616417']
SELECT DISTINCT ?m WHERE { ?m property:P40 resource:Q2616417 . ?m rdf:type ontology:Q502895 }
Hugh I of Vaudémont
Hugh I of Vaudémont has Gerard II of Vaudémont as a child
Hugh I of Vaudémont
action filter_type
action find_reverse
entity Gerard II of Vaudémont
relation child
type common name
[{'concept': 'common name'}, 'child', 'Gerard II of Vaudémont']
SELECT DISTINCT ?m WHERE { ?m property:child resource:Gerard_II_of_Vaudémont . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q822916
P7
Q502895
USER
Which people had that one as brother ?
(c(Q502895),P7,Q822916)
action filter_type
action find_reverse
entity Q822916
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q822916']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P7 resource:Q822916 }
Hugh I of Vaudémont
action filter_type
action find_reverse
entity Hugh I of Vaudémont
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Hugh I of Vaudémont']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:brother resource:Hugh_I_of_Vaudémont }
[]
common name
Q22337627 Q22337624
SYSTEM
Stephania of Vaudemont, Gisela of Vaudemont
Q22337627 Q22337624
(c(Q502895),P7,Q822916)
action filter_type
action find_reverse
entity Q822916
relation P7
type Q502895
[ANSWERS] had that one as brother
[{'concept': 'Q502895'}, 'P7', 'Q822916']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P7 resource:Q822916 }
Stephania of Vaudemont Gisela of Vaudemont
Stephania of Vaudemont and Gisela of Vaudemont had that one as brother
Stephania of Vaudemont Gisela of Vaudemont
action filter_type
action find_reverse
entity Hugh I of Vaudémont
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Hugh I of Vaudémont']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:brother resource:Hugh_I_of_Vaudémont }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22337627
P25
Q502895
USER
Which person has Stephania of Vaudemont as mom ?
(c(Q502895),P25,Q22337627)
action filter_type
action find_reverse
entity Q22337627
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q22337627']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P25 resource:Q22337627 }
Stephania of Vaudemont
action filter_type
action find_reverse
entity Stephania of Vaudemont
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Stephania of Vaudemont']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:mother resource:Stephania_of_Vaudemont }
[]
common name
Q22677456
SYSTEM
Louis I of Ferrette
Q22677456
(c(Q502895),P25,Q22337627)
action filter_type
action find_reverse
entity Q22337627
relation P25
type Q502895
[ANSWER] has Stephania of Vaudemont as mom
[{'concept': 'Q502895'}, 'P25', 'Q22337627']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P25 resource:Q22337627 }
Louis I of Ferrette
Louis I of Ferrette has Stephania of Vaudemont as mom
Louis I of Ferrette
action filter_type
action find_reverse
entity Stephania of Vaudemont
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Stephania of Vaudemont']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:mother resource:Stephania_of_Vaudemont }
[]