Simple Question (Direct)
Simple Question
Q16027204
P106
Q12737077
USER
What is the job of Philippe Rey ?
(Q16027204,P106,c(Q12737077))
action filter_type
action find
entity Q16027204
relation P106
type Q12737077
['Q16027204', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q16027204 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Philippe Rey
action filter_type
action find
entity Philippe Rey
relation occupation
type occupation
['Philippe Rey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Philippe_Rey property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q16027204,P106,c(Q12737077))
action filter_type
action find
entity Q16027204
relation P106
type Q12737077
The job of Philippe Rey is a [ANSWER]
['Q16027204', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q16027204 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
politician
The job of Philippe Rey is a politician
politician
action filter_type
action find
entity Philippe Rey
relation occupation
type occupation
['Philippe Rey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Philippe_Rey property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16027204
P734
Q82799
USER
Which name is associated with Philippe Rey ?
(Q16027204,P734,c(Q82799))
action filter_type
action find
entity Q16027204
relation P734
type Q82799
['Q16027204', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q16027204 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Philippe Rey
action filter_type
action find
entity Philippe Rey
relation family name
type name
['Philippe Rey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Philippe_Rey property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q419161
SYSTEM
Rey
Q419161
(Q16027204,P734,c(Q82799))
action filter_type
action find
entity Q16027204
relation P734
type Q82799
[ANSWER] is associated with Philippe [ANSWER]
['Q16027204', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q16027204 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Rey
Rey is associated with Philippe Rey
Rey
action filter_type
action find
entity Philippe Rey
relation family name
type name
['Philippe Rey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Philippe_Rey property:family_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11380023
Q82799
USER
And also tell me about Kinako Itō?
(Q11380023,P734,c(Q82799))
action filter_type
action find
entity Q11380023
relation P734
type Q82799
['Q11380023', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q11380023 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Kinako Itō
action filter_type
action find
entity Kinako Itō
relation family name
type name
['Kinako Itō', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Kinako_Itō property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q6500676
SYSTEM
Ito
Q6500676
(Q11380023,P734,c(Q82799))
action filter_type
action find
entity Q11380023
relation P734
type Q82799
[ANSWER]
['Q11380023', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q11380023 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Ito
Ito
action filter_type
action find
entity Kinako Itō
relation family name
type name
['Kinako Itō', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Kinako_Itō property:family_name ?o . ?o rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2472587 Q502895 Q82799
USER
Which names are named after around 2 peoples and people ?
(c(Q82799),P138,c(Q2472587)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q502895
value 2
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { { ?y property:P138 ?b . ?y rdf:type ontology:Q82799 . ?b rdf:type ontology:Q2472587 } UNION { ?y property:P138 ?b . ?y rdf:type ontology:Q82799 . ?b rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?d = 2 ) }
action approx
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type common name
value 2
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { { ?y property:named_after ?b . ?y rdf:type ontology:name . ?b rdf:type ontology:people } UNION { ?y property:named_after ?b . ?y rdf:type ontology:name . ?b rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?d = 2 ) }
[]
people common name name
Q1746111 Q23885849
SYSTEM
Michael Gregorio, Achaz
Q1746111 Q23885849
(c(Q82799),P138,c(Q2472587)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q502895
value 2
[ANSWERS] are named after around 2 peoples and people
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { { ?y property:P138 ?b . ?y rdf:type ontology:Q82799 . ?b rdf:type ontology:Q2472587 } UNION { ?y property:P138 ?b . ?y rdf:type ontology:Q82799 . ?b rdf:type ontology:Q502895 } } GROUP BY ?y } . FILTER ( ?d = 2 ) }
Michael Gregorio Achaz
Michael Gregorio and Achaz are named after around 2 peoples and people
Michael Gregorio Achaz
action approx
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type common name
value 2
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'common name'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?d ) WHERE { { ?y property:named_after ?b . ?y rdf:type ontology:name . ?b rdf:type ontology:people } UNION { ?y property:named_after ?b . ?y rdf:type ontology:name . ?b rdf:type ontology:common_name } } GROUP BY ?y } . FILTER ( ?d = 2 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1746111 Q23885849
P138
Q502895
USER
Which people are Michael Gregorio and Achaz named after ?
(Q1746111,P138,c(Q502895)) (Q23885849,P138,c(Q502895))
action union
action filter_type
action find
entity Q1746111
relation P138
type Q502895
action filter_type
action find
entity Q23885849
relation P138
type Q502895
['Q1746111', 'P138', {'concept': 'Q502895'}] ['Q23885849', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q1746111 property:P138 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q23885849 property:P138 ?n . ?n rdf:type ontology:Q502895 } }
Michael Gregorio Achaz
action union
action filter_type
action find
entity Michael Gregorio
relation named after
type common name
action filter_type
action find
entity Achaz
relation named after
type common name
['Michael Gregorio', 'named after', {'concept': 'common name'}] ['Achaz', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:Michael_Gregorio property:named_after ?n . ?n rdf:type ontology:common_name } UNION { resource:Achaz property:named_after ?n . ?n rdf:type ontology:common_name } }
[]
common name
Q18683435 Q18683434 Q3982149
SYSTEM
Daniela De Gregorio, Michael G. Jacob, Agathius
Q18683435 Q18683434 Q3982149 Q186085
(Q1746111,P138,c(Q502895)) (Q23885849,P138,c(Q502895))
action union
action filter_type
action find
entity Q1746111
relation P138
type Q502895
action filter_type
action find
entity Q23885849
relation P138
type Q502895
Michael Gregorio and Achaz are named after [ANSWERS]
['Q1746111', 'P138', {'concept': 'Q502895'}] ['Q23885849', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q1746111 property:P138 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q23885849 property:P138 ?n . ?n rdf:type ontology:Q502895 } }
Daniela De Gregorio Michael G. Jacob Agathius Achatius of Armenia
Michael Gregorio and Achaz are named after Daniela De Gregorio, Michael G. Jacob and Agathius
Daniela De Gregorio Michael G. Jacob Agathius
action union
action filter_type
action find
entity Michael Gregorio
relation named after
type common name
action filter_type
action find
entity Achaz
relation named after
type common name
['Michael Gregorio', 'named after', {'concept': 'common name'}] ['Achaz', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:Michael_Gregorio property:named_after ?n . ?n rdf:type ontology:common_name } UNION { resource:Achaz property:named_after ?n . ?n rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18683435 Q18683434 Q3982149
P21
Q290
USER
Which sexes do Daniela De Gregorio, Michael G. Jacob and Agathius possess ?
(Q18683435,P21,c(Q290)) (Q18683434,P21,c(Q290)) (Q3982149,P21,c(Q290))
action union
action filter_type
action find
entity Q18683435
relation P21
type Q290
action filter_type
action find
entity Q18683434
relation P21
type Q290
action filter_type
action find
entity Q3982149
relation P21
type Q290
['Q18683435', 'P21', {'concept': 'Q290'}] ['Q18683434', 'P21', {'concept': 'Q290'}] ['Q3982149', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?i ) { ( resource:Q18683435 ) ( resource:Q18683434 ) } . ?i property:P21 ?v }
Daniela De Gregorio Michael G. Jacob Agathius
action union
action filter_type
action find
entity Daniela De Gregorio
relation gender
type sex
action filter_type
action find
entity Michael G. Jacob
relation gender
type sex
action filter_type
action find
entity Agathius
relation gender
type sex
['Daniela De Gregorio', 'gender', {'concept': 'sex'}] ['Michael G. Jacob', 'gender', {'concept': 'sex'}] ['Agathius', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?i ) { ( resource:Daniela_De_Gregorio ) ( resource:Michael_G._Jacob ) } . ?i property:gender ?v }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q18683435,P21,c(Q290)) (Q18683434,P21,c(Q290)) (Q3982149,P21,c(Q290))
action union
action filter_type
action find
entity Q18683435
relation P21
type Q290
action filter_type
action find
entity Q18683434
relation P21
type Q290
action filter_type
action find
entity Q3982149
relation P21
type Q290
[ANSWERS]
['Q18683435', 'P21', {'concept': 'Q290'}] ['Q18683434', 'P21', {'concept': 'Q290'}] ['Q3982149', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?i ) { ( resource:Q18683435 ) ( resource:Q18683434 ) } . ?i property:P21 ?v }
female male male
Daniela De Gregorio , Michael G. Jacob and Agathius possess the female, male and male
female male male
action union
action filter_type
action find
entity Daniela De Gregorio
relation gender
type sex
action filter_type
action find
entity Michael G. Jacob
relation gender
type sex
action filter_type
action find
entity Agathius
relation gender
type sex
['Daniela De Gregorio', 'gender', {'concept': 'sex'}] ['Michael G. Jacob', 'gender', {'concept': 'sex'}] ['Agathius', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?i ) { ( resource:Daniela_De_Gregorio ) ( resource:Michael_G._Jacob ) } . ?i property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18683435
P26
Q502895
USER
Which person has Daniela De Gregorio as spouse ?
(c(Q502895),P26,Q18683435)
action filter_type
action find
entity Q18683435
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q18683435']
SELECT DISTINCT ?r WHERE { resource:Q18683435 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Daniela De Gregorio
action filter_type
action find
entity Daniela De Gregorio
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Daniela De Gregorio']
SELECT DISTINCT ?r WHERE { resource:Daniela_De_Gregorio property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q18683434
SYSTEM
Michael G. Jacob
Q18683434
(c(Q502895),P26,Q18683435)
action filter_type
action find
entity Q18683435
relation P26
type Q502895
[ANSWER] has Daniela De Gregorio as spouse
[{'concept': 'Q502895'}, 'P26', 'Q18683435']
SELECT DISTINCT ?r WHERE { resource:Q18683435 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Michael G. Jacob
Michael G. Jacob has Daniela De Gregorio as spouse
Michael G. Jacob
action filter_type
action find
entity Daniela De Gregorio
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Daniela De Gregorio']
SELECT DISTINCT ?r WHERE { resource:Daniela_De_Gregorio property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18683435
P22
Q502895
USER
Which person was the father of Daniela De Gregorio ?
(Q18683435,P22,c(Q502895))
action filter_type
action find
entity Q18683435
relation P22
type Q502895
['Q18683435', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18683435 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Daniela De Gregorio
action filter_type
action find
entity Daniela De Gregorio
relation father
type common name
['Daniela De Gregorio', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Daniela_De_Gregorio property:father ?e . ?e rdf:type ontology:common_name }
[]
common name
Q16560740
SYSTEM
Giuseppe De Gregorio
Q16560740
(Q18683435,P22,c(Q502895))
action filter_type
action find
entity Q18683435
relation P22
type Q502895
[ANSWER] was the father of Daniela De Gregorio
['Q18683435', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q18683435 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Giuseppe De Gregorio
Giuseppe De Gregorio was the father of Daniela De Gregorio
Giuseppe De Gregorio
action filter_type
action find
entity Daniela De Gregorio
relation father
type common name
['Daniela De Gregorio', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Daniela_De_Gregorio property:father ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18683435
P40
Q502895
USER
Which person has Daniela De Gregorio as an offspring ?
(c(Q502895),P40,Q18683435)
action filter_type
action find_reverse
entity Q18683435
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q18683435']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q18683435 . ?s rdf:type ontology:Q502895 }
Daniela De Gregorio
action filter_type
action find_reverse
entity Daniela De Gregorio
relation child
type common name
[{'concept': 'common name'}, 'child', 'Daniela De Gregorio']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Daniela_De_Gregorio . ?s rdf:type ontology:common_name }
[]
common name
Q16560740
SYSTEM
Giuseppe De Gregorio
Q16560740
(c(Q502895),P40,Q18683435)
action filter_type
action find_reverse
entity Q18683435
relation P40
type Q502895
[ANSWER] has Daniela De Gregorio as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q18683435']
SELECT DISTINCT ?s WHERE { ?s property:P40 resource:Q18683435 . ?s rdf:type ontology:Q502895 }
Giuseppe De Gregorio
Giuseppe De Gregorio has Daniela De Gregorio as an offspring
Giuseppe De Gregorio
action filter_type
action find_reverse
entity Daniela De Gregorio
relation child
type common name
[{'concept': 'common name'}, 'child', 'Daniela De Gregorio']
SELECT DISTINCT ?s WHERE { ?s property:child resource:Daniela_De_Gregorio . ?s rdf:type ontology:common_name }
[]