Simple Question (Direct)
Simple Question
Q10502076
P734
Q82799
USER
Which name is associated with John Jones ?
(Q10502076,P734,c(Q82799))
action filter_type
action find
entity Q10502076
relation P734
type Q82799
['Q10502076', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q10502076 property:P734 ?w . ?w rdf:type ontology:Q82799 }
John Jones
action filter_type
action find
entity John Jones
relation family name
type name
['John Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:John_Jones property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q10502076,P734,c(Q82799))
action filter_type
action find
entity Q10502076
relation P734
type Q82799
Was [ANSWER] is associated with John [ANSWER]
['Q10502076', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q10502076 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Jones
Was Jones is associated with John Jones
Jones
action filter_type
action find
entity John Jones
relation family name
type name
['John Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:John_Jones property:family_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10502076
P106
Q12737077
USER
What is the job of John Jones ?
(Q10502076,P106,c(Q12737077))
action filter_type
action find
entity Q10502076
relation P106
type Q12737077
['Q10502076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q10502076 property:P106 ?s }
John Jones
action filter_type
action find
entity John Jones
relation occupation
type occupation
['John Jones', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:John_Jones property:occupation ?s }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q10502076,P106,c(Q12737077))
action filter_type
action find
entity Q10502076
relation P106
type Q12737077
The job of John Jones is an [ANSWER]
['Q10502076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q10502076 property:P106 ?s }
association football player
The job of John Jones is an association football player
association football player
action filter_type
action find
entity John Jones
relation occupation
type occupation
['John Jones', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:John_Jones property:occupation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10502076
P21
Q290
USER
What is the sex of John Jones ?
(Q10502076,P21,c(Q290))
action filter_type
action find
entity Q10502076
relation P21
type Q290
['Q10502076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q10502076 property:P21 ?w . ?w rdf:type ontology:Q290 }
John Jones
action filter_type
action find
entity John Jones
relation gender
type sex
['John Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:John_Jones property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q10502076,P21,c(Q290))
action filter_type
action find
entity Q10502076
relation P21
type Q290
The sex of John Jones is a [ANSWER]
['Q10502076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q10502076 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of John Jones is a male
male
action filter_type
action find
entity John Jones
relation gender
type sex
['John Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:John_Jones property:gender ?w . ?w rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q20089701 Q10502076
P21
Q290
USER
Or Louis Marès?
OR((Q10502076,P21,c(Q290)), (Q20089701,P21,c(Q290)))
action filter_type
action union
action find
entity Q10502076
relation P21
action find
entity Q20089701
relation P21
type Q290
{'OR': [['Q10502076', 'P21', {'concept': 'Q290'}], ['Q20089701', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q10502076 property:P21 ?w } UNION { resource:Q20089701 property:P21 ?w } } . ?w rdf:type ontology:Q290 }
Louis Marès John Jones
action filter_type
action union
action find
entity John Jones
relation gender
action find
entity Louis Marès
relation gender
type sex
{'OR': [['John Jones', 'gender', {'concept': 'sex'}], ['Louis Marès', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { { { resource:John_Jones property:gender ?w } UNION { resource:Louis_Marès property:gender ?w } } . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q10502076,P21,c(Q290)), (Q20089701,P21,c(Q290)))
action filter_type
action union
action find
entity Q10502076
relation P21
action find
entity Q20089701
relation P21
type Q290
[ANSWER]
{'OR': [['Q10502076', 'P21', {'concept': 'Q290'}], ['Q20089701', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q10502076 property:P21 ?w } UNION { resource:Q20089701 property:P21 ?w } } . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity John Jones
relation gender
action find
entity Louis Marès
relation gender
type sex
{'OR': [['John Jones', 'gender', {'concept': 'sex'}], ['Louis Marès', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?w WHERE { { { resource:John_Jones property:gender ?w } UNION { resource:Louis_Marès property:gender ?w } } . ?w rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q44248
P417
Q502895 Q12737077
USER
How many people are the names of person who are the patron saints of approximately the same number of occupations as Jerome ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44248
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P417 ?f . ?f rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q44248 property:P417 ?d . ?d rdf:type ontology:Q502895 } } . FILTER ( ?m = ?a ) }
Jerome
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Jerome
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:patron_saint ?f . ?f rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Jerome property:patron_saint ?d . ?d rdf:type ontology:common_name } } . FILTER ( ?m = ?a ) }
[]
common name occupation
SYSTEM
10
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q44248
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:P417 ?f . ?f rdf:type ontology:Q502895 . ?r rdf:type ontology:Q12737077 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Q44248 property:P417 ?d . ?d rdf:type ontology:Q502895 } } . FILTER ( ?m = ?a ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
10
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Jerome
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?m ) WHERE { ?r property:patron_saint ?f . ?f rdf:type ontology:common_name . ?r rdf:type ontology:occupation } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { resource:Jerome property:patron_saint ?d . ?d rdf:type ontology:common_name } } . FILTER ( ?m = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q242274
P417
Q502895 Q12737077
USER
And how about Dorothea of Caesarea?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q242274
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q502895 . ?p property:P417 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q242274 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?m = ?d ) }
Dorothea of Caesarea
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Dorothea of Caesarea
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ontology:occupation . ?w rdf:type ontology:common_name . ?p property:patron_saint ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Dorothea_of_Caesarea property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?m = ?d ) }
[]
common name occupation
SYSTEM
38
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 count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q242274
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ontology:Q12737077 . ?w rdf:type ontology:Q502895 . ?p property:P417 ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Q242274 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?m = ?d ) }
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
38
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Dorothea of Caesarea
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ontology:occupation . ?w rdf:type ontology:common_name . ?p property:patron_saint ?w } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { resource:Dorothea_of_Caesarea property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?m = ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10502076
P27
Q15617994
USER
Which administrative territory does John Jones belong to ?
(Q10502076,P27,c(Q15617994))
action filter_type
action find
entity Q10502076
relation P27
type Q15617994
['Q10502076', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q10502076 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
John Jones
action filter_type
action find
entity John Jones
relation country of citizenship
type designation for an administrative territorial entity
['John Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:John_Jones property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q10502076,P27,c(Q15617994))
action filter_type
action find
entity Q10502076
relation P27
type Q15617994
John Jones belongs to [ANSWER]
['Q10502076', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q10502076 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
United States of America
John Jones belongs to United States of America
United States of America
action filter_type
action find
entity John Jones
relation country of citizenship
type designation for an administrative territorial entity
['John Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:John_Jones property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7117557
Q15617994
USER
And how about P. T. Chandapilla?
(Q7117557,P27,c(Q15617994))
action filter_type
action find
entity Q7117557
relation P27
type Q15617994
['Q7117557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q7117557 property:P27 ?j }
P. T. Chandapilla
action filter_type
action find
entity P. T. Chandapilla
relation country of citizenship
type designation for an administrative territorial entity
['P. T. Chandapilla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:P._T._Chandapilla property:country_of_citizenship ?j }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q7117557,P27,c(Q15617994))
action filter_type
action find
entity Q7117557
relation P27
type Q15617994
[ANSWER]
['Q7117557', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q7117557 property:P27 ?j }
India
India
action filter_type
action find
entity P. T. Chandapilla
relation country of citizenship
type designation for an administrative territorial entity
['P. T. Chandapilla', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:P._T._Chandapilla property:country_of_citizenship ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q668 Q4784300
P495
Q838948
USER
Did Arasa Kattalai originate in that administrative territory ?
(Q4784300,P495,Q668)
action is_in
entity Q668
action find
entity Q4784300
relation P495
['Q4784300', 'P495', 'Q668']
ASK WHERE { resource:Q4784300 property:P495 resource:Q668 }
India Arasa Kattalai
action is_in
entity India
action find
entity Arasa Kattalai
relation country of origin
['Arasa Kattalai', 'country of origin', 'India']
ASK WHERE { resource:Arasa_Kattalai property:country_of_origin resource:India }
[]
work of art
SYSTEM
YES
(Q4784300,P495,Q668)
action is_in
entity Q668
action find
entity Q4784300
relation P495
[ANSWER]
['Q4784300', 'P495', 'Q668']
ASK WHERE { resource:Q4784300 property:P495 resource:Q668 }
Yes
action is_in
entity India
action find
entity Arasa Kattalai
relation country of origin
['Arasa Kattalai', 'country of origin', 'India']
ASK WHERE { resource:Arasa_Kattalai property:country_of_origin resource:India }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q59853 Q12330003
P407
Q34770
USER
Is Jones composed in Old Danish ?
(Q59853,P407,Q12330003)
action is_in
entity Q12330003
action find
entity Q59853
relation P407
['Q59853', 'P407', 'Q12330003']
ASK WHERE { resource:Q59853 property:P407 resource:Q12330003 }
Jones Old Danish
action is_in
entity Old Danish
action find
entity Jones
relation language of work or name
['Jones', 'language of work or name', 'Old Danish']
ASK WHERE { resource:Jones property:language_of_work_or_name resource:Old_Danish }
[]
language
SYSTEM
NO
(Q59853,P407,Q12330003)
action is_in
entity Q12330003
action find
entity Q59853
relation P407
[ANSWER]
['Q59853', 'P407', 'Q12330003']
ASK WHERE { resource:Q59853 property:P407 resource:Q12330003 }
No
action is_in
entity Old Danish
action find
entity Jones
relation language of work or name
['Jones', 'language of work or name', 'Old Danish']
ASK WHERE { resource:Jones property:language_of_work_or_name resource:Old_Danish }
[]