Simple Question (Direct)
Simple Question
Q3991506
P102
Q7210356
USER
Which party is Timothy Daniel Sullivan affiliated with ?
(Q3991506,P102,c(Q7210356))
action filter_type
action find
entity Q3991506
relation P102
type Q7210356
['Q3991506', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q3991506 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Timothy Daniel Sullivan
action filter_type
action find
entity Timothy Daniel Sullivan
relation member of political party
type political organization
['Timothy Daniel Sullivan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Timothy_Daniel_Sullivan property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q1311653
SYSTEM
Irish Parliamentary Party
Q1311653
(Q3991506,P102,c(Q7210356))
action filter_type
action find
entity Q3991506
relation P102
type Q7210356
Timothy Daniel Sullivan is affiliated with [ANSWER]
['Q3991506', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q3991506 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Irish Parliamentary Party
Timothy Daniel Sullivan is affiliated with Irish Parliamentary Party
Irish Parliamentary Party
action filter_type
action find
entity Timothy Daniel Sullivan
relation member of political party
type political organization
['Timothy Daniel Sullivan', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Timothy_Daniel_Sullivan property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3991506
P937
Q56061
USER
Which is the work location of that person ?
(Q1311653,P937,c(Q56061))
action filter_type
action find
entity Q3991506
relation P937
type Q56061
['Q1311653', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3991506 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Timothy Daniel Sullivan
action filter_type
action find
entity Timothy Daniel Sullivan
relation work location
type administrative territorial entity
['Irish Parliamentary Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Timothy_Daniel_Sullivan property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q1311653,P937,c(Q56061))
action filter_type
action find
entity Q3991506
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q1311653', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3991506 property:P937 ?r . ?r rdf:type ontology:Q56061 }
London
The work location of that person is in London
London
action filter_type
action find
entity Timothy Daniel Sullivan
relation work location
type administrative territorial entity
['Irish Parliamentary Party', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Timothy_Daniel_Sullivan property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P190
Q13220204
USER
Which administrative country subdivisions are sister town of that administrative territory ?
(c(Q13220204),P190,Q84)
action filter_type
action find
entity Q84
relation P190
type Q13220204
[{'concept': 'Q13220204'}, 'P190', 'Q84']
SELECT DISTINCT ?d WHERE { resource:Q84 property:P190 ?d . ?d rdf:type ontology:Q13220204 }
London
action filter_type
action find
entity London
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'London']
SELECT DISTINCT ?d WHERE { resource:London property:sister_city ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q2841 Q9899 Q1435
SYSTEM
Bogotá, Amsterdam, Zagreb
Q2841 Q9899 Q1435
(c(Q13220204),P190,Q84)
action filter_type
action find
entity Q84
relation P190
type Q13220204
[ANSWERS] are sister town of that administrative territory
[{'concept': 'Q13220204'}, 'P190', 'Q84']
SELECT DISTINCT ?d WHERE { resource:Q84 property:P190 ?d . ?d rdf:type ontology:Q13220204 }
Bogotá Amsterdam Zagreb
Bogotá, Amsterdam and Zagreb are sister town of that administrative territory
Bogotá Amsterdam Zagreb
action filter_type
action find
entity London
relation sister city
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'sister city', 'London']
SELECT DISTINCT ?d WHERE { resource:London property:sister_city ?d . ?d rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9899
P163
Q14660
USER
Which flag is associated with Amsterdam ?
(Q9899,P163,c(Q14660))
action filter_type
action find
entity Q9899
relation P163
type Q14660
['Q9899', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q9899 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Amsterdam
action filter_type
action find
entity Amsterdam
relation flag
type flag
['Amsterdam', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Amsterdam property:flag ?f . ?f rdf:type ontology:flag }
[]
flag
Q1426379
SYSTEM
Flag of Amsterdam
Q1426379
(Q9899,P163,c(Q14660))
action filter_type
action find
entity Q9899
relation P163
type Q14660
Amsterdam [ANSWER] is associated with Amsterdam
['Q9899', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?f WHERE { resource:Q9899 property:P163 ?f . ?f rdf:type ontology:Q14660 }
Flag of Amsterdam
Amsterdam Flag of Amsterdam is associated with Amsterdam
Flag of Amsterdam
action filter_type
action find
entity Amsterdam
relation flag
type flag
['Amsterdam', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?f WHERE { resource:Amsterdam property:flag ?f . ?f rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1426379
P1001
Q13220204
USER
Which administrative country subdivision comes under the jurisdiction of that flag ?
(Q1426379,P1001,c(Q13220204))
action filter_type
action find
entity Q1426379
relation P1001
type Q13220204
['Q1426379', 'P1001', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { resource:Q1426379 property:P1001 ?i . ?i rdf:type ontology:Q13220204 }
Flag of Amsterdam
action filter_type
action find
entity Flag of Amsterdam
relation applies to jurisdiction
type second-level administrative country subdivision
['Flag of Amsterdam', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { resource:Flag_of_Amsterdam property:applies_to_jurisdiction ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9899
SYSTEM
Amsterdam
Q9899
(Q1426379,P1001,c(Q13220204))
action filter_type
action find
entity Q1426379
relation P1001
type Q13220204
[ANSWER] comes under the jurisdiction of that flag
['Q1426379', 'P1001', {'concept': 'Q13220204'}]
SELECT DISTINCT ?i WHERE { resource:Q1426379 property:P1001 ?i . ?i rdf:type ontology:Q13220204 }
Amsterdam
Amsterdam comes under the jurisdiction of that flag
Amsterdam
action filter_type
action find
entity Flag of Amsterdam
relation applies to jurisdiction
type second-level administrative country subdivision
['Flag of Amsterdam', 'applies to jurisdiction', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?i WHERE { resource:Flag_of_Amsterdam property:applies_to_jurisdiction ?i . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q9899 Q10036 Q18335889
P47
Q13220204
USER
Does Amsterdam share border with De Ronde Venen and Gooise Meren ?
(Q9899,P47,Q10036) (Q9899,P47,Q18335889)
action is_in
entity Q9899
action intersection
action find_reverse
entity Q10036
relation P47
action find_reverse
entity Q18335889
relation P47
['Q9899', 'P47', 'Q10036'] ['Q9899', 'P47', 'Q18335889']
ASK WHERE { resource:Q9899 property:P47 resource:Q10036 . resource:Q9899 property:P47 resource:Q18335889 }
Amsterdam De Ronde Venen Gooise Meren
action is_in
entity Amsterdam
action intersection
action find_reverse
entity De Ronde Venen
relation shares border with
action find_reverse
entity Gooise Meren
relation shares border with
['Amsterdam', 'shares border with', 'De Ronde Venen'] ['Amsterdam', 'shares border with', 'Gooise Meren']
ASK WHERE { resource:Amsterdam property:shares_border_with resource:De_Ronde_Venen . resource:Amsterdam property:shares_border_with resource:Gooise_Meren }
[]
second-level administrative country subdivision
SYSTEM
YES
(Q9899,P47,Q10036) (Q9899,P47,Q18335889)
action is_in
entity Q9899
action intersection
action find_reverse
entity Q10036
relation P47
action find_reverse
entity Q18335889
relation P47
[ANSWER]
['Q9899', 'P47', 'Q10036'] ['Q9899', 'P47', 'Q18335889']
ASK WHERE { resource:Q9899 property:P47 resource:Q10036 . resource:Q9899 property:P47 resource:Q18335889 }
Yes
action is_in
entity Amsterdam
action intersection
action find_reverse
entity De Ronde Venen
relation shares border with
action find_reverse
entity Gooise Meren
relation shares border with
['Amsterdam', 'shares border with', 'De Ronde Venen'] ['Amsterdam', 'shares border with', 'Gooise Meren']
ASK WHERE { resource:Amsterdam property:shares_border_with resource:De_Ronde_Venen . resource:Amsterdam property:shares_border_with resource:Gooise_Meren }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q35591
P138
Q355304 Q13220204
USER
Which watercourses are the etymology of more number of administrative country subdivisions than Tigris ?
(c(Q13220204),P138,c(Q355304))
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q13220204
action count
action filter_type
action find
entity Q35591
relation P138
type Q355304
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P138 ?f . ?f rdf:type ontology:Q355304 . ?y rdf:type ontology:Q13220204 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q35591 property:P138 ?l . ?l rdf:type ontology:Q355304 } } . FILTER ( ?a > ?z ) }
Tigris
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type second-level administrative country subdivision
action count
action filter_type
action find
entity Tigris
relation named after
type watercourse
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:named_after ?f . ?f rdf:type ontology:watercourse . ?y rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Tigris property:named_after ?l . ?l rdf:type ontology:watercourse } } . FILTER ( ?a > ?z ) }
[]
watercourse second-level administrative country subdivision
Q1675 Q584 Q193904
SYSTEM
Aare, Rhine, Nestos
Q119152 Q1854148 Q2238502 Q1267964 Q1310069 Q1675 Q16945 Q1624768 Q23648106 Q231763 Q7143957 Q584 Q2320130 Q193904
(c(Q13220204),P138,c(Q355304))
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q13220204
action count
action filter_type
action find
entity Q35591
relation P138
type Q355304
[ANSWERS] are the etymology of more number of administrative country subdivisions than Tigris
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:P138 ?f . ?f rdf:type ontology:Q355304 . ?y rdf:type ontology:Q13220204 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q35591 property:P138 ?l . ?l rdf:type ontology:Q355304 } } . FILTER ( ?a > ?z ) }
Eurotas Mouth of the Eems river Drentsche Aa Menthue Hunze Aare Suhre Hollandse IJssel Lam Plai Mat Zwarte Water Pat River Rhine Golok River Nestos
Aare, Rhine and Nestos are the etymology of more number of administrative country subdivisions than Tigris
Aare Rhine Nestos
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type second-level administrative country subdivision
action count
action filter_type
action find
entity Tigris
relation named after
type watercourse
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?a ) WHERE { ?y property:named_after ?f . ?f rdf:type ontology:watercourse . ?y rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Tigris property:named_after ?l . ?l rdf:type ontology:watercourse } } . FILTER ( ?a > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1897196
P138
Q355304 Q13220204
USER
And how about Stura di Demonte?
(c(Q13220204),P138,c(Q355304))
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q13220204
action count
action filter_type
action find
entity Q1897196
relation P138
type Q355304
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P138 ?d . ?d rdf:type ontology:Q355304 . ?a rdf:type ontology:Q13220204 } GROUP BY ?d } . FILTER ( ?q > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q1897196 property:P138 ?j . ?j rdf:type ontology:Q355304 } } }
Stura di Demonte
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type second-level administrative country subdivision
action count
action filter_type
action find
entity Stura di Demonte
relation named after
type watercourse
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:named_after ?d . ?d rdf:type ontology:watercourse . ?a rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?d } . FILTER ( ?q > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Stura_di_Demonte property:named_after ?j . ?j rdf:type ontology:watercourse } } }
[]
watercourse second-level administrative country subdivision
Q1675 Q584 Q193904
SYSTEM
Aare, Rhine, Nestos
Q119152 Q1854148 Q2238502 Q1267964 Q1310069 Q1675 Q16945 Q1624768 Q23648106 Q231763 Q7143957 Q584 Q2320130 Q193904
(c(Q13220204),P138,c(Q355304))
action greater
action find_reverse_tuple_counts
relation P138
type Q355304
type Q13220204
action count
action filter_type
action find
entity Q1897196
relation P138
type Q355304
[ANSWERS]
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P138 ?d . ?d rdf:type ontology:Q355304 . ?a rdf:type ontology:Q13220204 } GROUP BY ?d } . FILTER ( ?q > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Q1897196 property:P138 ?j . ?j rdf:type ontology:Q355304 } } }
Eurotas Mouth of the Eems river Drentsche Aa Menthue Hunze Aare Suhre Hollandse IJssel Lam Plai Mat Zwarte Water Pat River Rhine Golok River Nestos
Aare Rhine Nestos
action greater
action find_reverse_tuple_counts
relation named after
type watercourse
type second-level administrative country subdivision
action count
action filter_type
action find
entity Stura di Demonte
relation named after
type watercourse
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:named_after ?d . ?d rdf:type ontology:watercourse . ?a rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?d } . FILTER ( ?q > ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { resource:Stura_di_Demonte property:named_after ?j . ?j rdf:type ontology:watercourse } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q355304 Q355304 Q43229
USER
Which watercourses are the etymology of max number of watercourses and organizations ?
(c(Q355304)|c(Q43229),P138,c(Q355304))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q355304
action find_reverse_tuple_counts
relation P138
type Q355304
type Q43229
[[{'concept': 'Q355304'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P138 ?i . ?i rdf:type ontology:Q355304 . ?b rdf:type ontology:Q43229 } UNION { ?b property:P138 ?i . ?i rdf:type ontology:Q355304 . ?b rdf:type ontology:Q355304 } } GROUP BY ?i } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P138 ?n . ?n rdf:type ontology:Q355304 . ?k rdf:type ontology:Q43229 } UNION { ?k property:P138 ?n . ?n rdf:type ontology:Q355304 . ?k rdf:type ontology:Q355304 } } GROUP BY ?n } }
action argmax
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type watercourse
action find_reverse_tuple_counts
relation named after
type watercourse
type organization
[[{'concept': 'watercourse'}, {'concept': 'organization'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:named_after ?i . ?i rdf:type ontology:watercourse . ?b rdf:type ontology:organization } UNION { ?b property:named_after ?i . ?i rdf:type ontology:watercourse . ?b rdf:type ontology:watercourse } } GROUP BY ?i } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:named_after ?n . ?n rdf:type ontology:watercourse . ?k rdf:type ontology:organization } UNION { ?k property:named_after ?n . ?n rdf:type ontology:watercourse . ?k rdf:type ontology:watercourse } } GROUP BY ?n } }
[]
watercourse watercourse organization
Q134350 Q633819 Q1244595
SYSTEM
Tisza, Arve, Ille
Q1126509 Q1244595 Q19721 Q633819 Q134350 Q1127173
(c(Q355304)|c(Q43229),P138,c(Q355304))
action argmax
action union
action find_reverse_tuple_counts
relation P138
type Q355304
type Q355304
action find_reverse_tuple_counts
relation P138
type Q355304
type Q43229
[ANSWERS] are the etymology of max number of watercourses and organizations
[[{'concept': 'Q355304'}, {'concept': 'Q43229'}], 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:P138 ?i . ?i rdf:type ontology:Q355304 . ?b rdf:type ontology:Q43229 } UNION { ?b property:P138 ?i . ?i rdf:type ontology:Q355304 . ?b rdf:type ontology:Q355304 } } GROUP BY ?i } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P138 ?n . ?n rdf:type ontology:Q355304 . ?k rdf:type ontology:Q43229 } UNION { ?k property:P138 ?n . ?n rdf:type ontology:Q355304 . ?k rdf:type ontology:Q355304 } } GROUP BY ?n } }
Krka Ille Clyde Arve Tisza Rance
Tisza, Arve and Ille are the etymology of max number of watercourses and organizations
Tisza Arve Ille
action argmax
action union
action find_reverse_tuple_counts
relation named after
type watercourse
type watercourse
action find_reverse_tuple_counts
relation named after
type watercourse
type organization
[[{'concept': 'watercourse'}, {'concept': 'organization'}], 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?j ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?u ) WHERE { { ?b property:named_after ?i . ?i rdf:type ontology:watercourse . ?b rdf:type ontology:organization } UNION { ?b property:named_after ?i . ?i rdf:type ontology:watercourse . ?b rdf:type ontology:watercourse } } GROUP BY ?i } } . FILTER ( ?o = ?j ) . { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:named_after ?n . ?n rdf:type ontology:watercourse . ?k rdf:type ontology:organization } UNION { ?k property:named_after ?n . ?n rdf:type ontology:watercourse . ?k rdf:type ontology:watercourse } } GROUP BY ?n } }
[]