Simple Question (Direct)
Simple Question
Q4980870
P19
Q56061
USER
Where was Bryn Halliwell born ?
(Q4980870,P19,c(Q56061))
action filter_type
action find
entity Q4980870
relation P19
type Q56061
['Q4980870', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4980870 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Bryn Halliwell
action filter_type
action find
entity Bryn Halliwell
relation place of birth
type administrative territorial entity
['Bryn Halliwell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Bryn_Halliwell property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q993164
SYSTEM
Epsom
Q993164
(Q4980870,P19,c(Q56061))
action filter_type
action find
entity Q4980870
relation P19
type Q56061
Bryn Halliwell was born in [ANSWER]
['Q4980870', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q4980870 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Epsom
Bryn Halliwell was born in Epsom
Epsom
action filter_type
action find
entity Bryn Halliwell
relation place of birth
type administrative territorial entity
['Bryn Halliwell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Bryn_Halliwell property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4980870
P641
Q349
USER
What did that person participate in ?
(Q993164,P641,c(Q349))
action filter_type
action find
entity Q4980870
relation P641
type Q349
['Q993164', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q4980870 property:P641 ?l }
Bryn Halliwell
action filter_type
action find
entity Bryn Halliwell
relation sport
type sport
['Epsom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Bryn_Halliwell property:sport ?l }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q993164,P641,c(Q349))
action filter_type
action find
entity Q4980870
relation P641
type Q349
That person participated in [ANSWER]
['Q993164', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q4980870 property:P641 ?l }
association football
That person participated in association football
association football
action filter_type
action find
entity Bryn Halliwell
relation sport
type sport
['Epsom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:Bryn_Halliwell property:sport ?l }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q183 Q4980870
P530 P27
Q15617994
USER
Which administrative territories do Bryn Halliwell belong to and holds diplomatic relationship with Germany ?
AND((Q4980870,P27,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4980870
relation P27
action find
entity Q183
relation P530
type Q15617994
{'AND': [['Q4980870', 'P27', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q4980870 property:P27 ?b . resource:Q183 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
Germany Bryn Halliwell
action filter_type
action intersection
action find
entity Bryn Halliwell
relation country of citizenship
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Bryn Halliwell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Bryn_Halliwell property:country_of_citizenship ?b . resource:Germany property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q4980870,P27,c(Q15617994)), (Q183,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4980870
relation P27
action find
entity Q183
relation P530
type Q15617994
Bryn Halliwell belong to the [ANSWER]
{'AND': [['Q4980870', 'P27', {'concept': 'Q15617994'}], ['Q183', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q4980870 property:P27 ?b . resource:Q183 property:P530 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
Bryn Halliwell belong to the United Kingdom
United Kingdom
action filter_type
action intersection
action find
entity Bryn Halliwell
relation country of citizenship
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Bryn Halliwell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Bryn_Halliwell property:country_of_citizenship ?b . resource:Germany property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q1292279 Q192350
USER
Which administrative territories are judicially linked to atleast 9 political borders or ministries ?
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 9
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:P1001 ?y . ?x rdf:type ontology:Q1292279 . ?y rdf:type ontology:Q15617994 } UNION { ?x property:P1001 ?y . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q192350 } } GROUP BY ?y } . FILTER ( ?s >= 9 ) }
action atleast
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 9
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:applies_to_jurisdiction ?y . ?x rdf:type ontology:political_border . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x property:applies_to_jurisdiction ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:ministry } } GROUP BY ?y } . FILTER ( ?s >= 9 ) }
[]
designation for an administrative territorial entity political border ministry
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q668 Q142 Q145 Q262 Q148 Q717 Q252 Q403 Q159 Q43 Q41 Q155 Q794 Q739 Q30 Q924 Q36 Q34 Q38 Q851 Q1049 Q1029 Q974 Q212 Q29 Q1016
(c(Q1292279)|c(Q192350),P1001,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 9
[ANSWERS] are judicially linked to atleast 9 political borders or ministries
[[{'concept': 'Q1292279'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:P1001 ?y . ?x rdf:type ontology:Q1292279 . ?y rdf:type ontology:Q15617994 } UNION { ?x property:P1001 ?y . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q192350 } } GROUP BY ?y } . FILTER ( ?s >= 9 ) }
India France United Kingdom Algeria People's Republic of China Venezuela Indonesia Serbia Russia Turkey Greece Brazil Iran Colombia United States of America Tanzania Poland Sweden Italy Saudi Arabia Sudan Mozambique Democratic Republic of the Congo Ukraine Spain Libya
Italy, Brazil and United States of America are judicially linked to atleast 9 political borders or ministries
Italy Brazil United States of America
action atleast
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 9
[[{'concept': 'political border'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?s ) WHERE { { ?x property:applies_to_jurisdiction ?y . ?x rdf:type ontology:political_border . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x property:applies_to_jurisdiction ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:ministry } } GROUP BY ?y } . FILTER ( ?s >= 9 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q1048835 Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with atleast 43 political territories or administrative territories ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 43
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?z WHERE { { ?z property:P530 ?k . ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } UNION { ?z property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?z } . FILTER ( ?n >= 43 ) }
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?z WHERE { { ?z property:diplomatic_relation ?k . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } UNION { ?z property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?z } . FILTER ( ?n >= 43 ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
3
Q155 Q38 Q230
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action atleast
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 43
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?z WHERE { { ?z property:P530 ?k . ?z rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1048835 } UNION { ?z property:P530 ?k . ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?z } . FILTER ( ?n >= 43 ) }
Brazil Italy Georgia
3
action count
action atleast
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 43
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) ?z WHERE { { ?z property:diplomatic_relation ?k . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:political_territorial_entity } UNION { ?z property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?z } . FILTER ( ?n >= 43 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P138
Q17444909
USER
Which astronomical object type has Brazil as its namesake ?
(c(Q17444909),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q155']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q155 . ?k rdf:type ontology:Q17444909 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Brazil']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Brazil . ?k rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q150378
SYSTEM
293 Brasilia
Q150378
(c(Q17444909),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q17444909
[ANSWER] has Brazil as its namesake
[{'concept': 'Q17444909'}, 'P138', 'Q155']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q155 . ?k rdf:type ontology:Q17444909 }
293 Brasilia
293 Brasilia has Brazil as its namesake
293 Brasilia
action filter_type
action find_reverse
entity Brazil
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Brazil']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Brazil . ?k rdf:type ontology:astronomical_object_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q150378
P196
Q6999
USER
Which astronomical object is known as the minor planet group of that astronomical object type ?
(Q150378,P196,c(Q6999))
action filter_type
action find
entity Q150378
relation P196
type Q6999
['Q150378', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?i WHERE { resource:Q150378 property:P196 ?i . ?i rdf:type ontology:Q6999 }
293 Brasilia
action filter_type
action find
entity 293 Brasilia
relation minor planet group
type astronomical object
['293 Brasilia', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?i WHERE { resource:293_Brasilia property:minor_planet_group ?i . ?i rdf:type ontology:astronomical_object }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
(Q150378,P196,c(Q6999))
action filter_type
action find
entity Q150378
relation P196
type Q6999
[ANSWER] is known as the minor planet group of that astronomical object type
['Q150378', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?i WHERE { resource:Q150378 property:P196 ?i . ?i rdf:type ontology:Q6999 }
asteroid belt
Asteroid belt is known as the minor planet group of that astronomical object type
asteroid belt
action filter_type
action find
entity 293 Brasilia
relation minor planet group
type astronomical object
['293 Brasilia', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?i WHERE { resource:293_Brasilia property:minor_planet_group ?i . ?i rdf:type ontology:astronomical_object }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q15617994 Q79529 Q56061
USER
Which administrative territories are the eponym of max number of administrative territories or chemical substances ?
(c(Q56061),P138,c(Q15617994)|c(Q79529))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q15617994
action find_tuple_counts
relation P138
type Q56061
type Q79529
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?l ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:Q79529 ) ( ontology:Q15617994 ) } . ?p rdf:type ?d } GROUP BY ?u } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { { ?t property:P138 ?x . ?t rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15617994 } UNION { ?t property:P138 ?x . ?t rdf:type ontology:Q56061 . ?x rdf:type ontology:Q79529 } } GROUP BY ?t } . FILTER ( ?c = ?l ) }
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?l ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:chemical_substance ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?p rdf:type ?d } GROUP BY ?u } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { { ?t property:named_after ?x . ?t rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:named_after ?x . ?t rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:chemical_substance } } GROUP BY ?t } . FILTER ( ?c = ?l ) }
[]
designation for an administrative territorial entity chemical substance administrative territorial entity
Q661735 Q103661 Q3239732
SYSTEM
Szilasliget, Apatity, Sulphur
Q5433196 Q3239732 Q615136 Q2174173 Q979938 Q3025882 Q661735 Q103661
(c(Q56061),P138,c(Q15617994)|c(Q79529))
action argmax
action union
action find_tuple_counts
relation P138
type Q56061
type Q15617994
action find_tuple_counts
relation P138
type Q56061
type Q79529
[ANSWERS] are the eponym of max number of administrative territories or chemical substances
[{'concept': 'Q56061'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?l ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:Q79529 ) ( ontology:Q15617994 ) } . ?p rdf:type ?d } GROUP BY ?u } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { { ?t property:P138 ?x . ?t rdf:type ontology:Q56061 . ?x rdf:type ontology:Q15617994 } UNION { ?t property:P138 ?x . ?t rdf:type ontology:Q56061 . ?x rdf:type ontology:Q79529 } } GROUP BY ?t } . FILTER ( ?c = ?l ) }
Groenlandsekade Sulphur Nederland Rhederbrug Frieschepalen Poortugaal Szilasliget Apatity
Szilasliget, Apatity and Sulphur are the eponym of max number of administrative territories or chemical substances
Szilasliget Apatity Sulphur
action argmax
action union
action find_tuple_counts
relation named after
type administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type administrative territorial entity
type chemical substance
[{'concept': 'administrative territorial entity'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?l ) { SELECT DISTINCT ?u ( COUNT ( ?p ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:chemical_substance ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?p rdf:type ?d } GROUP BY ?u } } . { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?c ) WHERE { { ?t property:named_after ?x . ?t rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t property:named_after ?x . ?t rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:chemical_substance } } GROUP BY ?t } . FILTER ( ?c = ?l ) }
[]