Simple Question (Direct)
Simple Question
Q1622354
P21
Q290
USER
What is the sex of Judy Lewis ?
(Q1622354,P21,c(Q290))
action filter_type
action find
entity Q1622354
relation P21
type Q290
['Q1622354', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q1622354 property:P21 ?e . ?e rdf:type ontology:Q290 }
Judy Lewis
action filter_type
action find
entity Judy Lewis
relation gender
type sex
['Judy Lewis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Judy_Lewis property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1622354,P21,c(Q290))
action filter_type
action find
entity Q1622354
relation P21
type Q290
The sex of Judy Lewis is the [ANSWER]
['Q1622354', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q1622354 property:P21 ?e . ?e rdf:type ontology:Q290 }
female
The sex of Judy Lewis is the female
female
action filter_type
action find
entity Judy Lewis
relation gender
type sex
['Judy Lewis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Judy_Lewis property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581072
P136
Q502895
USER
Which people have that sex as their category ?
(c(Q502895),P136,Q6581072)
action filter_type
action find_reverse
entity Q6581072
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q6581072 . ?v 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 ?v WHERE { ?v property:genre resource:female . ?v 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 their category
[{'concept': 'Q502895'}, 'P136', 'Q6581072']
SELECT DISTINCT ?v WHERE { ?v property:P136 resource:Q6581072 . ?v 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 their category
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 ?v WHERE { ?v property:genre resource:female . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23688633
P106
Q12737077
USER
Which occupation has Eva Jospin as his/her 's career ?
(Q23688633,P106,c(Q12737077))
action filter_type
action find
entity Q23688633
relation P106
type Q12737077
['Q23688633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q23688633 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Eva Jospin
action filter_type
action find
entity Eva Jospin
relation occupation
type occupation
['Eva Jospin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Eva_Jospin property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q3391743
SYSTEM
visual artist
Q3391743
(Q23688633,P106,c(Q12737077))
action filter_type
action find
entity Q23688633
relation P106
type Q12737077
The [ANSWER] has Eva Jospin as his/her 's career
['Q23688633', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q23688633 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
visual artist
The visual artist has Eva Jospin as his/her 's career
visual artist
action filter_type
action find
entity Eva Jospin
relation occupation
type occupation
['Eva Jospin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Eva_Jospin property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q344189
Q12737077
USER
And how about Turgay Avcı?
(Q344189,P106,c(Q12737077))
action filter_type
action find
entity Q344189
relation P106
type Q12737077
['Q344189', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q344189 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Turgay Avcı
action filter_type
action find
entity Turgay Avcı
relation occupation
type occupation
['Turgay Avcı', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Turgay_Avcı property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q344189,P106,c(Q12737077))
action filter_type
action find
entity Q344189
relation P106
type Q12737077
[ANSWER]
['Q344189', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q344189 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Turgay Avcı
relation occupation
type occupation
['Turgay Avcı', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Turgay_Avcı property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q16026664
P106
Q502895
USER
Does Bernard-Camille Collas have the profession of that occupation ?
(Q16026664,P106,Q82955)
action is_in
entity Q82955
action find
entity Q16026664
relation P106
['Q16026664', 'P106', 'Q82955']
ASK WHERE { resource:Q16026664 property:P106 resource:Q82955 }
politician Bernard-Camille Collas
action is_in
entity politician
action find
entity Bernard-Camille Collas
relation occupation
['Bernard-Camille Collas', 'occupation', 'politician']
ASK WHERE { resource:Bernard-Camille_Collas property:occupation resource:politician }
[]
common name
SYSTEM
YES
(Q16026664,P106,Q82955)
action is_in
entity Q82955
action find
entity Q16026664
relation P106
[ANSWER]
['Q16026664', 'P106', 'Q82955']
ASK WHERE { resource:Q16026664 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Bernard-Camille Collas
relation occupation
['Bernard-Camille Collas', 'occupation', 'politician']
ASK WHERE { resource:Bernard-Camille_Collas property:occupation resource:politician }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of approximately 1 occupation ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P417 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?w } . FILTER ( ?z = 1 ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:patron_saint ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?w } . FILTER ( ?z = 1 ) }
[]
common name occupation
Q9438 Q60059 Q44281
SYSTEM
Thomas Aquinas, Albertus Magnus, Ignatius of Loyola
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 1
[ANSWERS] are the names of person who are the patron saints of approximately 1 occupation
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P417 ?w . ?w rdf:type ontology:Q502895 . ?m rdf:type ontology:Q12737077 } GROUP BY ?w } . FILTER ( ?z = 1 ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
Thomas Aquinas, Albertus Magnus and Ignatius of Loyola are the names of person who are the patron saints of approximately 1 occupation
Thomas Aquinas Albertus Magnus Ignatius of Loyola
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 1
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:patron_saint ?w . ?w rdf:type ontology:common_name . ?m rdf:type ontology:occupation } GROUP BY ?w } . FILTER ( ?z = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9438
P737
Q502895
USER
How many people did Thomas Aquinas influence ?
(c(Q502895),P737,Q9438)
action count
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P737 resource:Q9438 . ?p rdf:type ontology:Q502895 }
Thomas Aquinas
action count
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:influenced_by resource:Thomas_Aquinas . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q10337407 Q1067 Q229646 Q12807
(c(Q502895),P737,Q9438)
action count
action filter_type
action find_reverse
entity Q9438
relation P737
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q9438']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:P737 resource:Q9438 . ?p rdf:type ontology:Q502895 }
Norman Geisler Dante Alighieri G. E. M. Anscombe Umberto Eco
4
action count
action filter_type
action find_reverse
entity Thomas Aquinas
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Thomas Aquinas']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { ?p property:influenced_by resource:Thomas_Aquinas . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q131149
P737
Q502895
USER
And how about Henry David Thoreau?
(c(Q502895),P737,Q131149)
action count
action filter_type
action find_reverse
entity Q131149
relation P737
type Q502895
[{'concept': 'Q502895'}, 'P737', 'Q131149']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q502895 . ?w property:P737 resource:Q131149 }
Henry David Thoreau
action count
action filter_type
action find_reverse
entity Henry David Thoreau
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Henry David Thoreau']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:common_name . ?w property:influenced_by resource:Henry_David_Thoreau }
[]
common name
SYSTEM
5
Q8027 Q19185 Q1001 Q533505 Q1064881
(c(Q502895),P737,Q131149)
action count
action filter_type
action find_reverse
entity Q131149
relation P737
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P737', 'Q131149']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:Q502895 . ?w property:P737 resource:Q131149 }
Martin Luther King, Jr. George Bernard Shaw Mahatma Gandhi Wendell Berry Charles Holden
5
action count
action filter_type
action find_reverse
entity Henry David Thoreau
relation influenced by
type common name
[{'concept': 'common name'}, 'influenced by', 'Henry David Thoreau']
SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { ?w rdf:type ontology:common_name . ?w property:influenced_by resource:Henry_David_Thoreau }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P50
Q2342494
USER
Which collectable is Thomas Aquinas an author of ?
(c(Q2342494),P50,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q9438']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q9438 . ?l rdf:type ontology:Q2342494 }
Thomas Aquinas
action filter_type
action find_reverse
entity Thomas Aquinas
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Thomas Aquinas']
SELECT DISTINCT ?l WHERE { ?l property:author resource:Thomas_Aquinas . ?l rdf:type ontology:collectable }
[]
collectable
Q119823
SYSTEM
on being and essence
Q119823
(c(Q2342494),P50,Q9438)
action filter_type
action find_reverse
entity Q9438
relation P50
type Q2342494
Which collectable is Thomas Aquinas an author of
[{'concept': 'Q2342494'}, 'P50', 'Q9438']
SELECT DISTINCT ?l WHERE { ?l property:P50 resource:Q9438 . ?l rdf:type ontology:Q2342494 }
on being and essence
Which collectable is Thomas Aquinas an author of
on being and essence
action filter_type
action find_reverse
entity Thomas Aquinas
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Thomas Aquinas']
SELECT DISTINCT ?l WHERE { ?l property:author resource:Thomas_Aquinas . ?l rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9438
P611
Q1530022
USER
What religion is that person affiliated to ?
(Q119823,P611,c(Q1530022))
action filter_type
action find
entity Q9438
relation P611
type Q1530022
['Q119823', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?u WHERE { resource:Q9438 property:P611 ?u . ?u rdf:type ontology:Q1530022 }
Thomas Aquinas
action filter_type
action find
entity Thomas Aquinas
relation religious order
type religious organization
['on being and essence', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Aquinas property:religious_order ?u . ?u rdf:type ontology:religious_organization }
[]
religious organization
Q131479
SYSTEM
Dominican Order
Q131479
(Q119823,P611,c(Q1530022))
action filter_type
action find
entity Q9438
relation P611
type Q1530022
That person is affiliated with [ANSWER]
['Q119823', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?u WHERE { resource:Q9438 property:P611 ?u . ?u rdf:type ontology:Q1530022 }
Dominican Order
That person is affiliated with Dominican Order
Dominican Order
action filter_type
action find
entity Thomas Aquinas
relation religious order
type religious organization
['on being and essence', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Aquinas property:religious_order ?u . ?u rdf:type ontology:religious_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q131479 Q44091
P112
Q502895
USER
Was Saint Dominic the founder of Dominican Order ?
(Q131479,P112,Q44091)
action is_in
entity Q44091
action find
entity Q131479
relation P112
['Q131479', 'P112', 'Q44091']
ASK WHERE { resource:Q131479 property:P112 resource:Q44091 }
Dominican Order Saint Dominic
action is_in
entity Saint Dominic
action find
entity Dominican Order
relation founder
['Dominican Order', 'founder', 'Saint Dominic']
ASK WHERE { resource:Dominican_Order property:founder resource:Saint_Dominic }
[]
common name
SYSTEM
YES
(Q131479,P112,Q44091)
action is_in
entity Q44091
action find
entity Q131479
relation P112
[ANSWER]
['Q131479', 'P112', 'Q44091']
ASK WHERE { resource:Q131479 property:P112 resource:Q44091 }
Yes
action is_in
entity Saint Dominic
action find
entity Dominican Order
relation founder
['Dominican Order', 'founder', 'Saint Dominic']
ASK WHERE { resource:Dominican_Order property:founder resource:Saint_Dominic }
[]