Simple Question (Direct)
Simple Question
Q714960
P39
Q12737077
USER
Which occupation was a position held by Gouverneur Morris I ?
(Q714960,P39,c(Q12737077))
action filter_type
action find
entity Q714960
relation P39
type Q12737077
['Q714960', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q714960 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Gouverneur Morris I
action filter_type
action find
entity Gouverneur Morris I
relation position held
type occupation
['Gouverneur Morris I', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Gouverneur_Morris_I property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q13217683
SYSTEM
United States Senator
Q13217683
(Q714960,P39,c(Q12737077))
action filter_type
action find
entity Q714960
relation P39
type Q12737077
The [ANSWER] was a position held by Gouverneur Morris I
['Q714960', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q714960 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
United States Senator
The United States Senator was a position held by Gouverneur Morris I
United States Senator
action filter_type
action find
entity Gouverneur Morris I
relation position held
type occupation
['Gouverneur Morris I', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Gouverneur_Morris_I property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q714960
P734
Q82799
USER
Who is associated with Gouverneur Morris I ?
(Q714960,P734,c(Q82799))
action filter_type
action find
entity Q714960
relation P734
type Q82799
['Q714960', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q714960 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Gouverneur Morris I
action filter_type
action find
entity Gouverneur Morris I
relation family name
type name
['Gouverneur Morris I', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Gouverneur_Morris_I property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q2780710
SYSTEM
Morris
Q2780710
(Q714960,P734,c(Q82799))
action filter_type
action find
entity Q714960
relation P734
type Q82799
[ANSWER] is associated with Gouverneur [ANSWER] I
['Q714960', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q714960 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Morris
Morris is associated with Gouverneur Morris I
Morris
action filter_type
action find
entity Gouverneur Morris I
relation family name
type name
['Gouverneur Morris I', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Gouverneur_Morris_I property:family_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q714960
P937
Q56061
USER
What is the work location of that person ?
(Q2780710,P937,c(Q56061))
action filter_type
action find
entity Q714960
relation P937
type Q56061
['Q2780710', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q714960 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Gouverneur Morris I
action filter_type
action find
entity Gouverneur Morris I
relation work location
type administrative territorial entity
['Morris', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Gouverneur_Morris_I property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q61
SYSTEM
Washington, D.C.
Q61
(Q2780710,P937,c(Q56061))
action filter_type
action find
entity Q714960
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q2780710', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q714960 property:P937 ?v . ?v rdf:type ontology:Q56061 }
Washington, D.C.
The work location of that person is in Washington, D.C.
Washington, D.C.
action filter_type
action find
entity Gouverneur Morris I
relation work location
type administrative territorial entity
['Morris', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Gouverneur_Morris_I property:work_location ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61
P36
Q15617994
USER
Which administrative territory is that administrative territory the capital of ?
(c(Q15617994),P36,Q61)
action filter_type
action find_reverse
entity Q61
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q61']
SELECT DISTINCT ?f WHERE { ?f property:P36 resource:Q61 . ?f rdf:type ontology:Q15617994 }
Washington, D.C.
action filter_type
action find_reverse
entity Washington, D.C.
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Washington, D.C.']
SELECT DISTINCT ?f WHERE { ?f property:capital resource:Washington,_D.C. . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(c(Q15617994),P36,Q61)
action filter_type
action find_reverse
entity Q61
relation P36
type Q15617994
The [ANSWER] is that administrative territory the capital of
[{'concept': 'Q15617994'}, 'P36', 'Q61']
SELECT DISTINCT ?f WHERE { ?f property:P36 resource:Q61 . ?f rdf:type ontology:Q15617994 }
United States of America
The United States of America is that administrative territory the capital of
United States of America
action filter_type
action find_reverse
entity Washington, D.C.
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Washington, D.C.']
SELECT DISTINCT ?f WHERE { ?f property:capital resource:Washington,_D.C. . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2472587 Q56061 Q82799
USER
Which names have exactly 1 peoples or administrative territories as their toponym ?
(c(Q82799),P138,c(Q2472587)|c(Q56061))
action equal
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q56061
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?x ) WHERE { { ?g property:P138 ?u . ?u rdf:type ontology:Q2472587 . ?g rdf:type ontology:Q82799 } UNION { ?g property:P138 ?u . ?g rdf:type ontology:Q82799 . ?u rdf:type ontology:Q56061 } } GROUP BY ?g } . FILTER ( ?x = 1 ) }
action equal
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?x ) WHERE { { ?g property:named_after ?u . ?u rdf:type ontology:people . ?g rdf:type ontology:name } UNION { ?g property:named_after ?u . ?g rdf:type ontology:name . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } . FILTER ( ?x = 1 ) }
[]
people administrative territorial entity name
Q22922124 Q16877784 Q23688105
SYSTEM
von Mecklenburg-Schwerin, Napoli, de Bragança
Q23688105 Q20027829 Q22922124 Q16877784
(c(Q82799),P138,c(Q2472587)|c(Q56061))
action equal
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q56061
value 1
[ANSWERS] have exactly 1 peoples or administrative territories as their toponym
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?x ) WHERE { { ?g property:P138 ?u . ?u rdf:type ontology:Q2472587 . ?g rdf:type ontology:Q82799 } UNION { ?g property:P138 ?u . ?g rdf:type ontology:Q82799 . ?u rdf:type ontology:Q56061 } } GROUP BY ?g } . FILTER ( ?x = 1 ) }
de Bragança Saxon von Mecklenburg-Schwerin Napoli
Von Mecklenburg-Schwerin, Napoli and de Bragança have exactly 1 peoples or administrative territories as their toponym
von Mecklenburg-Schwerin Napoli de Bragança
action equal
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type administrative territorial entity
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?x ) WHERE { { ?g property:named_after ?u . ?u rdf:type ontology:people . ?g rdf:type ontology:name } UNION { ?g property:named_after ?u . ?g rdf:type ontology:name . ?u rdf:type ontology:administrative_territorial_entity } } GROUP BY ?g } . FILTER ( ?x = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q37041
P407
Q34770 Q82799
USER
Which languages are greater number of names in than classical Chinese ?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q37041
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q37041 property:P407 ?r . ?r rdf:type ontology:Q34770 } } . FILTER ( ?p > ?y ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P407 ?e . ?e rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } GROUP BY ?e } }
classical Chinese
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity classical Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:classical_Chinese property:language_of_work_or_name ?r . ?r rdf:type ontology:language } } . FILTER ( ?p > ?y ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?x rdf:type ontology:name } GROUP BY ?e } }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q37041
relation P407
type Q34770
[ANSWERS] are greater number of names in than classical Chinese
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:Q37041 property:P407 ?r . ?r rdf:type ontology:Q34770 } } . FILTER ( ?p > ?y ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P407 ?e . ?e rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } GROUP BY ?e } }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English, Latin and Czech are greater number of names in than classical Chinese
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity classical Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { resource:classical_Chinese property:language_of_work_or_name ?r . ?r rdf:type ontology:language } } . FILTER ( ?p > ?y ) . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:language_of_work_or_name ?e . ?e rdf:type ontology:language . ?x rdf:type ontology:name } GROUP BY ?e } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q35505
P407
Q34770 Q82799
USER
And also tell me about Old Norse language?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35505
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P407 ?f . ?f rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q35505 property:P407 ?c . ?c rdf:type ontology:Q34770 } } . FILTER ( ?k > ?y ) }
Old Norse language
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Norse language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Old_Norse_language property:language_of_work_or_name ?c . ?c rdf:type ontology:language } } . FILTER ( ?k > ?y ) }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q1321 Q397 Q9056 Q8752 Q652
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q35505
relation P407
type Q34770
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P407 ?f . ?f rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Q35505 property:P407 ?c . ?c rdf:type ontology:Q34770 } } . FILTER ( ?k > ?y ) }
English Spanish Latin Czech Basque Italian
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity Old Norse language
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { resource:Old_Norse_language property:language_of_work_or_name ?c . ?c rdf:type ontology:language } } . FILTER ( ?k > ?y ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4660764
P364
Q2342494
USER
Do A Woman of Substance have those ones as their original language of creation ?
(Q4660764,P364,Q1860) (Q4660764,P364,Q397) (Q4660764,P364,Q9056)
action is_in
entity prev_answer
action find
entity Q4660764
relation P364
['Q4660764', 'P364', 'Q1860'] ['Q4660764', 'P364', 'Q397'] ['Q4660764', 'P364', 'Q9056']
ASK WHERE { resource:Q4660764 property:P364 ?j . VALUES ( ?j ) { ( resource:Q1860 ) ( resource:Q1321 ) ( resource:Q397 ) } }
A Woman of Substance
action is_in
entity prev_answer
action find
entity A Woman of Substance
relation original language of work
['A Woman of Substance', 'original language of work', 'English'] ['A Woman of Substance', 'original language of work', 'Latin'] ['A Woman of Substance', 'original language of work', 'Czech']
ASK WHERE { resource:A_Woman_of_Substance property:original_language_of_work ?j . VALUES ( ?j ) { ( resource:English ) ( resource:Spanish ) ( resource:Latin ) } }
[]
collectable
SYSTEM
NO
(Q4660764,P364,Q1860) (Q4660764,P364,Q397) (Q4660764,P364,Q9056)
action is_in
entity prev_answer
action find
entity Q4660764
relation P364
[ANSWER]
['Q4660764', 'P364', 'Q1860'] ['Q4660764', 'P364', 'Q397'] ['Q4660764', 'P364', 'Q9056']
ASK WHERE { resource:Q4660764 property:P364 ?j . VALUES ( ?j ) { ( resource:Q1860 ) ( resource:Q1321 ) ( resource:Q397 ) } }
No
action is_in
entity prev_answer
action find
entity A Woman of Substance
relation original language of work
['A Woman of Substance', 'original language of work', 'English'] ['A Woman of Substance', 'original language of work', 'Latin'] ['A Woman of Substance', 'original language of work', 'Czech']
ASK WHERE { resource:A_Woman_of_Substance property:original_language_of_work ?j . VALUES ( ?j ) { ( resource:English ) ( resource:Spanish ) ( resource:Latin ) } }
[]