Simple Question (Direct)
Simple Question
Q5729454
P7
Q502895
USER
Which person is the brother of Henry Van Der Lyn ?
(Q5729454,P7,c(Q502895))
action filter_type
action find
entity Q5729454
relation P7
type Q502895
['Q5729454', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q5729454 property:P7 ?b . ?b rdf:type ontology:Q502895 }
Henry Van Der Lyn
action filter_type
action find
entity Henry Van Der Lyn
relation brother
type common name
['Henry Van Der Lyn', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Henry_Van_Der_Lyn property:brother ?b . ?b rdf:type ontology:common_name }
[]
common name
Q1661665
SYSTEM
John Vanderlyn
Q1661665
(Q5729454,P7,c(Q502895))
action filter_type
action find
entity Q5729454
relation P7
type Q502895
[ANSWER] is the brother of Henry Van Der Lyn
['Q5729454', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q5729454 property:P7 ?b . ?b rdf:type ontology:Q502895 }
John Vanderlyn
John Vanderlyn is the brother of Henry Van Der Lyn
John Vanderlyn
action filter_type
action find
entity Henry Van Der Lyn
relation brother
type common name
['Henry Van Der Lyn', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Henry_Van_Der_Lyn property:brother ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1661665
P1038
Q502895
USER
Who is a relative of that one ?
(c(Q502895),P1038,Q1661665)
action filter_type
action find_reverse
entity Q1661665
relation P1038
type Q502895
[{'concept': 'Q502895'}, 'P1038', 'Q1661665']
SELECT DISTINCT ?f WHERE { ?f property:P1038 resource:Q1661665 . ?f rdf:type ontology:Q502895 }
John Vanderlyn
action filter_type
action find_reverse
entity John Vanderlyn
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'John Vanderlyn']
SELECT DISTINCT ?f WHERE { ?f property:relative resource:John_Vanderlyn . ?f rdf:type ontology:common_name }
[]
common name
Q1750916
SYSTEM
Pieter Vanderlyn
Q1750916
(c(Q502895),P1038,Q1661665)
action filter_type
action find_reverse
entity Q1661665
relation P1038
type Q502895
A relative of that one is Jan [ANSWER]
[{'concept': 'Q502895'}, 'P1038', 'Q1661665']
SELECT DISTINCT ?f WHERE { ?f property:P1038 resource:Q1661665 . ?f rdf:type ontology:Q502895 }
Pieter Vanderlyn
A relative of that one is Jan Pieter Vanderlyn
Pieter Vanderlyn
action filter_type
action find_reverse
entity John Vanderlyn
relation relative
type common name
[{'concept': 'common name'}, 'relative', 'John Vanderlyn']
SELECT DISTINCT ?f WHERE { ?f property:relative resource:John_Vanderlyn . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1750916
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q1750916,P106,c(Q12737077))
action filter_type
action find
entity Q1750916
relation P106
type Q12737077
['Q1750916', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1750916 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Pieter Vanderlyn
action filter_type
action find
entity Pieter Vanderlyn
relation occupation
type occupation
['Pieter Vanderlyn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Pieter_Vanderlyn property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q1028181
SYSTEM
painter
Q1028181
(Q1750916,P106,c(Q12737077))
action filter_type
action find
entity Q1750916
relation P106
type Q12737077
The [ANSWER] has that person as his/her 's career
['Q1750916', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1750916 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
painter
The painter has that person as his/her 's career
painter
action filter_type
action find
entity Pieter Vanderlyn
relation occupation
type occupation
['Pieter Vanderlyn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Pieter_Vanderlyn property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6163789
Q12737077
USER
And what about Jason Winer?
(Q6163789,P106,c(Q12737077))
action filter_type
action find
entity Q6163789
relation P106
type Q12737077
['Q6163789', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q6163789 property:P106 ?s }
Jason Winer
action filter_type
action find
entity Jason Winer
relation occupation
type occupation
['Jason Winer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Jason_Winer property:occupation ?s }
[]
occupation
Q33999 Q10798782
SYSTEM
actor, television actor
Q33999 Q10798782
(Q6163789,P106,c(Q12737077))
action filter_type
action find
entity Q6163789
relation P106
type Q12737077
[ANSWERS]
['Q6163789', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q6163789 property:P106 ?s }
actor television actor
actor television actor
action filter_type
action find
entity Jason Winer
relation occupation
type occupation
['Jason Winer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Jason_Winer property:occupation ?s }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5907266
P106
Q502895
USER
Do Hosea Chanchez have the profession as those occupations ?
(Q5907266,P106,Q33999) (Q5907266,P106,Q10798782)
action is_in
entity prev_answer
action find
entity Q5907266
relation P106
['Q5907266', 'P106', 'Q33999'] ['Q5907266', 'P106', 'Q10798782']
ASK WHERE { resource:Q5907266 property:P106 ?e . VALUES ( ?e ) { ( resource:Q33999 ) ( resource:Q10798782 ) } }
Hosea Chanchez
action is_in
entity prev_answer
action find
entity Hosea Chanchez
relation occupation
['Hosea Chanchez', 'occupation', 'actor'] ['Hosea Chanchez', 'occupation', 'television actor']
ASK WHERE { resource:Hosea_Chanchez property:occupation ?e . VALUES ( ?e ) { ( resource:actor ) ( resource:television_actor ) } }
[]
common name
SYSTEM
YES
(Q5907266,P106,Q33999) (Q5907266,P106,Q10798782)
action is_in
entity prev_answer
action find
entity Q5907266
relation P106
[ANSWER]
['Q5907266', 'P106', 'Q33999'] ['Q5907266', 'P106', 'Q10798782']
ASK WHERE { resource:Q5907266 property:P106 ?e . VALUES ( ?e ) { ( resource:Q33999 ) ( resource:Q10798782 ) } }
Yes
action is_in
entity prev_answer
action find
entity Hosea Chanchez
relation occupation
['Hosea Chanchez', 'occupation', 'actor'] ['Hosea Chanchez', 'occupation', 'television actor']
ASK WHERE { resource:Hosea_Chanchez property:occupation ?e . VALUES ( ?e ) { ( resource:actor ) ( resource:television_actor ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q207113
P417
Q502895 Q12737077
USER
How many people are the patron saint of more number of occupations than Hippolytus ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q207113
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?n ) WHERE { ?l rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 . ?i property:P417 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q207113 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?n > ?q ) }
Hippolytus
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Hippolytus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?n ) WHERE { ?l rdf:type ontology:common_name . ?i rdf:type ontology:occupation . ?i property:patron_saint ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Hippolytus property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?n > ?q ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q207113
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?n ) WHERE { ?l rdf:type ontology:Q502895 . ?i rdf:type ontology:Q12737077 . ?i property:P417 ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Q207113 property:P417 ?e . ?e rdf:type ontology:Q502895 } } . FILTER ( ?n > ?q ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Hippolytus
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?n ) WHERE { ?l rdf:type ontology:common_name . ?i rdf:type ontology:occupation . ?i property:patron_saint ?l } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { resource:Hippolytus property:patron_saint ?e . ?e rdf:type ontology:common_name } } . FILTER ( ?n > ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1750916
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Pieter Vanderlyn ?
(Q1750916,P27,c(Q15617994))
action filter_type
action find
entity Q1750916
relation P27
type Q15617994
['Q1750916', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1750916 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Pieter Vanderlyn
action filter_type
action find
entity Pieter Vanderlyn
relation country of citizenship
type designation for an administrative territorial entity
['Pieter Vanderlyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Pieter_Vanderlyn property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q1750916,P27,c(Q15617994))
action filter_type
action find
entity Q1750916
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Pieter Vanderlyn
['Q1750916', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1750916 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Netherlands
Netherlands is the country of citizenship of Pieter Vanderlyn
Netherlands
action filter_type
action find
entity Pieter Vanderlyn
relation country of citizenship
type designation for an administrative territorial entity
['Pieter Vanderlyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Pieter_Vanderlyn property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q55 Q262723
P17
Q13220204
USER
Is arrondissement of Rouen situated in that administrative territory ?
(Q262723,P17,Q55)
action is_in
entity Q262723
action find
entity Q55
relation P17
['Q262723', 'P17', 'Q55']
ASK WHERE { resource:Q55 property:P17 resource:Q262723 }
Netherlands arrondissement of Rouen
action is_in
entity arrondissement of Rouen
action find
entity Netherlands
relation country
['arrondissement of Rouen', 'country', 'Netherlands']
ASK WHERE { resource:Netherlands property:country resource:arrondissement_of_Rouen }
[]
second-level administrative country subdivision
SYSTEM
NO
(Q262723,P17,Q55)
action is_in
entity Q262723
action find
entity Q55
relation P17
[ANSWER]
['Q262723', 'P17', 'Q55']
ASK WHERE { resource:Q55 property:P17 resource:Q262723 }
No
action is_in
entity arrondissement of Rouen
action find
entity Netherlands
relation country
['arrondissement of Rouen', 'country', 'Netherlands']
ASK WHERE { resource:Netherlands property:country resource:arrondissement_of_Rouen }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P112
Q180516
USER
Which room was established by Netherlands ?
(c(Q180516),P112,Q55)
action filter_type
action find_reverse
entity Q55
relation P112
type Q180516
[{'concept': 'Q180516'}, 'P112', 'Q55']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q180516 . ?v property:P112 resource:Q55 }
Netherlands
action filter_type
action find_reverse
entity Netherlands
relation founder
type room
[{'concept': 'room'}, 'founder', 'Netherlands']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:room . ?v property:founder resource:Netherlands }
[]
room
Q141720
SYSTEM
European Air Transport Command
Q141720
(c(Q180516),P112,Q55)
action filter_type
action find_reverse
entity Q55
relation P112
type Q180516
Netherlands [ANSWER] was established by Netherlands
[{'concept': 'Q180516'}, 'P112', 'Q55']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q180516 . ?v property:P112 resource:Q55 }
European Air Transport Command
Netherlands European Air Transport Command was established by Netherlands
European Air Transport Command
action filter_type
action find_reverse
entity Netherlands
relation founder
type room
[{'concept': 'room'}, 'founder', 'Netherlands']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:room . ?v property:founder resource:Netherlands }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q141720
P463
Q1048835
USER
Which political territory has a membership of that room ?
(c(Q1048835),P463,Q141720)
action filter_type
action find_reverse
entity Q141720
relation P463
type Q1048835
[{'concept': 'Q1048835'}, 'P463', 'Q141720']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . ?i property:P463 resource:Q141720 }
European Air Transport Command
action filter_type
action find_reverse
entity European Air Transport Command
relation member of
type political territorial entity
[{'concept': 'political territorial entity'}, 'member of', 'European Air Transport Command']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . ?i property:member_of resource:European_Air_Transport_Command }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P463,Q141720)
action filter_type
action find_reverse
entity Q141720
relation P463
type Q1048835
[ANSWER] has a membership of that room
[{'concept': 'Q1048835'}, 'P463', 'Q141720']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . ?i property:P463 resource:Q141720 }
Germany
Germany has a membership of that room
Germany
action filter_type
action find_reverse
entity European Air Transport Command
relation member of
type political territorial entity
[{'concept': 'political territorial entity'}, 'member of', 'European Air Transport Command']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . ?i property:member_of resource:European_Air_Transport_Command }
[]