Simple Question (Direct)
Simple Question
Q20978947
P1444
Q20667921
USER
Which french administrative division is the destination point for Boucles de l'Aulne 2015 ?
(Q20978947,P1444,c(Q20667921))
action filter_type
action find
entity Q20978947
relation P1444
type Q20667921
['Q20978947', 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q20978947 property:P1444 ?t . ?t rdf:type ontology:Q20667921 }
Boucles de l'Aulne 2015
action filter_type
action find
entity Boucles de l'Aulne 2015
relation destination point
type type of french administrative division
["Boucles de l'Aulne 2015", 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Boucles_de_l'Aulne_2015 property:destination_point ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q202374
SYSTEM
Châteaulin
Q202374
(Q20978947,P1444,c(Q20667921))
action filter_type
action find
entity Q20978947
relation P1444
type Q20667921
[ANSWER] is the destination point for Boucles de l'Aulne 2015
['Q20978947', 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q20978947 property:P1444 ?t . ?t rdf:type ontology:Q20667921 }
Châteaulin
Châteaulin is the destination point for Boucles de l'Aulne 2015
Châteaulin
action filter_type
action find
entity Boucles de l'Aulne 2015
relation destination point
type type of french administrative division
["Boucles de l'Aulne 2015", 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Boucles_de_l'Aulne_2015 property:destination_point ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20978947
P641
Q31629
USER
Which type of sport was that recurring sporting event a part of ?
(Q202374,P641,c(Q31629))
action filter_type
action find
entity Q20978947
relation P641
type Q31629
['Q202374', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?l WHERE { resource:Q20978947 property:P641 ?l . ?l rdf:type ontology:Q31629 }
Boucles de l'Aulne 2015
action filter_type
action find
entity Boucles de l'Aulne 2015
relation sport
type type of sport
['Châteaulin', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?l WHERE { resource:Boucles_de_l'Aulne_2015 property:sport ?l . ?l rdf:type ontology:type_of_sport }
[]
type of sport
Q3609
SYSTEM
road bicycle racing
Q3609
(Q202374,P641,c(Q31629))
action filter_type
action find
entity Q20978947
relation P641
type Q31629
Teams [ANSWER] was that recurring sporting event a part of
['Q202374', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?l WHERE { resource:Q20978947 property:P641 ?l . ?l rdf:type ontology:Q31629 }
road bicycle racing
Teams road bicycle racing was that recurring sporting event a part of
road bicycle racing
action filter_type
action find
entity Boucles de l'Aulne 2015
relation sport
type type of sport
['Châteaulin', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?l WHERE { resource:Boucles_de_l'Aulne_2015 property:sport ?l . ?l rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q832707 Q20978947
P17
Q15617994
USER
Which administrative territories are Boucles de l'Aulne 2015 or Pietrarsa railway museum located in ?
OR((Q20978947,P17,c(Q15617994)), (Q832707,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20978947
relation P17
action find
entity Q832707
relation P17
type Q15617994
{'OR': [['Q20978947', 'P17', {'concept': 'Q15617994'}], ['Q832707', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q20978947 property:P17 ?c } UNION { resource:Q832707 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Pietrarsa railway museum Boucles de l'Aulne 2015
action filter_type
action union
action find
entity Boucles de l'Aulne 2015
relation country
action find
entity Pietrarsa railway museum
relation country
type designation for an administrative territorial entity
{'OR': [["Boucles de l'Aulne 2015", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pietrarsa railway museum', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Boucles_de_l'Aulne_2015 property:country ?c } UNION { resource:Pietrarsa_railway_museum property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q20978947,P17,c(Q15617994)), (Q832707,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20978947
relation P17
action find
entity Q832707
relation P17
type Q15617994
Boucles de l'Aulne 2015 or Pietrarsa railway museum are located in [ANSWERS]
{'OR': [['Q20978947', 'P17', {'concept': 'Q15617994'}], ['Q832707', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q20978947 property:P17 ?c } UNION { resource:Q832707 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
France Italy
Boucles de l'Aulne 2015 or Pietrarsa railway museum are located in France and Italy
France Italy
action filter_type
action union
action find
entity Boucles de l'Aulne 2015
relation country
action find
entity Pietrarsa railway museum
relation country
type designation for an administrative territorial entity
{'OR': [["Boucles de l'Aulne 2015", 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pietrarsa railway museum', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Boucles_de_l'Aulne_2015 property:country ?c } UNION { resource:Pietrarsa_railway_museum property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with min number of administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?t ) WHERE { ?c property:P530 ?r . ?c rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?f ) WHERE { ?i property:P530 ?q . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?f = ?o ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?t ) WHERE { ?c property:diplomatic_relation ?r . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?f ) WHERE { ?i property:diplomatic_relation ?q . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?f = ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] have tactful political relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?t ) WHERE { ?c property:P530 ?r . ?c rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?f ) WHERE { ?i property:P530 ?q . ?i rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 } GROUP BY ?i } . FILTER ( ?f = ?o ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands, Dominican Republic and Tanzania have tactful political relations with min number of administrative territories
Kingdom of the Netherlands Dominican Republic Tanzania
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?t ) WHERE { ?c property:diplomatic_relation ?r . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?i ( COUNT ( ?q ) AS ?f ) WHERE { ?i property:diplomatic_relation ?q . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . FILTER ( ?f = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q917562
P641
Q31629 Q500834 Q13406554
USER
Which types of sport did more number of tournaments or sport competitions participate in than carom billiards ?
(c(Q500834)|c(Q13406554),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q917562
relation P641
type Q500834
type Q13406554
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?k WHERE { VALUES ( ?j ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?a rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P641 resource:Q917562 . { { ?f rdf:type ontology:Q500834 } UNION { ?f rdf:type ontology:Q13406554 } } } } . FILTER ( ?n > ?w ) }
carom billiards
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity carom billiards
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?k WHERE { VALUES ( ?j ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?a rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:sport resource:carom_billiards . { { ?f rdf:type ontology:tournament } UNION { ?f rdf:type ontology:sport_competition } } } } . FILTER ( ?n > ?w ) }
[]
type of sport tournament sport competition
Q216613 Q40244 Q326827
SYSTEM
Nordic skiing, marathon, artistic gymnastics
Q14085739 Q1293 Q166788 Q326827 Q32485 Q216613 Q327223 Q542 Q718 Q179687 Q159354 Q3609 Q40244 Q172809 Q16629853 Q520611 Q335638 Q465014 Q186222 Q11020 Q1128216 Q11015 Q48890
(c(Q500834)|c(Q13406554),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q917562
relation P641
type Q500834
type Q13406554
[ANSWERS] more number of tournaments or sport competitions participated in than carom billiards
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?k WHERE { VALUES ( ?j ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?a rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P641 resource:Q917562 . { { ?f rdf:type ontology:Q500834 } UNION { ?f rdf:type ontology:Q13406554 } } } } . FILTER ( ?n > ?w ) }
sailing draughts biathlon artistic gymnastics modern pentathlon Nordic skiing freestyle wrestling athletics chess cross-country skiing rowing road bicycle racing marathon ten-pin bowling Mixed Doubles mountain biking cyclo-cross trampolining alpine skiing pool wheelchair basketball snooker college basketball
Nordic skiing, marathon and artistic gymnastics more number of tournaments or sport competitions participated in than carom billiards
Nordic skiing marathon artistic gymnastics
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity carom billiards
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?k WHERE { VALUES ( ?j ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?a rdf:type ?j } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:sport resource:carom_billiards . { { ?f rdf:type ontology:tournament } UNION { ?f rdf:type ontology:sport_competition } } } } . FILTER ( ?n > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3609
P641
Q31629 Q500834 Q13406554
USER
And also tell me about road bicycle racing?
(c(Q500834)|c(Q13406554),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q3609
relation P641
type Q500834
type Q13406554
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P641 resource:Q3609 . { VALUES ( ?o ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?r rdf:type ?o } } } . FILTER ( ?t > ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?y rdf:type ?z } GROUP BY ?u } }
road bicycle racing
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity road bicycle racing
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:sport resource:road_bicycle_racing . { VALUES ( ?o ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?r rdf:type ?o } } } . FILTER ( ?t > ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?y rdf:type ?z } GROUP BY ?u } }
[]
type of sport tournament sport competition
Q40244 Q465014 Q166788
SYSTEM
marathon, trampolining, biathlon
Q166788 Q542 Q718 Q40244 Q465014 Q11015
(c(Q500834)|c(Q13406554),P641,c(Q31629))
action greater
action union
action find_reverse_tuple_counts
relation P641
type Q31629
type Q500834
action find_reverse_tuple_counts
relation P641
type Q31629
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q3609
relation P641
type Q500834
type Q13406554
[ANSWERS]
[[{'concept': 'Q500834'}, {'concept': 'Q13406554'}], 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P641 resource:Q3609 . { VALUES ( ?o ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?r rdf:type ?o } } } . FILTER ( ?t > ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:Q500834 ) ( ontology:Q13406554 ) } . ?y rdf:type ?z } GROUP BY ?u } }
biathlon athletics chess marathon trampolining snooker
marathon trampolining biathlon
action greater
action union
action find_reverse_tuple_counts
relation sport
type type of sport
type tournament
action find_reverse_tuple_counts
relation sport
type type of sport
type sport competition
action count
action filter_multi_types
action find_reverse
entity road bicycle racing
relation sport
type tournament
type sport competition
[[{'concept': 'tournament'}, {'concept': 'sport competition'}], 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:sport resource:road_bicycle_racing . { VALUES ( ?o ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?r rdf:type ?o } } } . FILTER ( ?t > ?s ) . { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?t ) WHERE { VALUES ( ?z ) { ( ontology:tournament ) ( ontology:sport_competition ) } . ?y rdf:type ?z } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q40244 Q465014 Q166788
P425
Q12737077
USER
Which occupations do marathon, trampolining and biathlon belong to ?
(c(Q12737077),P425,Q40244) (c(Q12737077),P425,Q465014) (c(Q12737077),P425,Q166788)
action union
action filter_type
action find_reverse
entity Q40244
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q465014
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q166788
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q40244'] [{'concept': 'Q12737077'}, 'P425', 'Q465014'] [{'concept': 'Q12737077'}, 'P425', 'Q166788']
SELECT DISTINCT ?n WHERE { { ?n property:P425 resource:Q40244 . ?n rdf:type ontology:Q12737077 } UNION { ?n property:P425 resource:Q465014 . ?n rdf:type ontology:Q12737077 } }
marathon trampolining biathlon
action union
action filter_type
action find_reverse
entity marathon
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity trampolining
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity biathlon
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'marathon'] [{'concept': 'occupation'}, 'field of this occupation', 'trampolining'] [{'concept': 'occupation'}, 'field of this occupation', 'biathlon']
SELECT DISTINCT ?n WHERE { { ?n property:field_of_this_occupation resource:marathon . ?n rdf:type ontology:occupation } UNION { ?n property:field_of_this_occupation resource:trampolining . ?n rdf:type ontology:occupation } }
[]
occupation
Q23892384 Q19960661 Q13382460
SYSTEM
trampolinist, Biathlon coach, marathon runner
Q13382460 Q23892384 Q19960661 Q16029547
(c(Q12737077),P425,Q40244) (c(Q12737077),P425,Q465014) (c(Q12737077),P425,Q166788)
action union
action filter_type
action find_reverse
entity Q40244
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q465014
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q166788
relation P425
type Q12737077
Marathon , trampolining and biathlon belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q40244'] [{'concept': 'Q12737077'}, 'P425', 'Q465014'] [{'concept': 'Q12737077'}, 'P425', 'Q166788']
SELECT DISTINCT ?n WHERE { { ?n property:P425 resource:Q40244 . ?n rdf:type ontology:Q12737077 } UNION { ?n property:P425 resource:Q465014 . ?n rdf:type ontology:Q12737077 } }
marathon runner trampolinist Biathlon coach biathlete
Marathon , trampolining and biathlon belong to the trampolinist, Biathlon coach and marathon runner
trampolinist Biathlon coach marathon runner
action union
action filter_type
action find_reverse
entity marathon
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity trampolining
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity biathlon
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'marathon'] [{'concept': 'occupation'}, 'field of this occupation', 'trampolining'] [{'concept': 'occupation'}, 'field of this occupation', 'biathlon']
SELECT DISTINCT ?n WHERE { { ?n property:field_of_this_occupation resource:marathon . ?n rdf:type ontology:occupation } UNION { ?n property:field_of_this_occupation resource:trampolining . ?n rdf:type ontology:occupation } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786
P36
Q56061
USER
What is the capital of Dominican Republic ?
(Q786,P36,c(Q56061))
action filter_type
action find
entity Q786
relation P36
type Q56061
['Q786', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q786 property:P36 ?p . ?p rdf:type ontology:Q56061 }
Dominican Republic
action filter_type
action find
entity Dominican Republic
relation capital
type administrative territorial entity
['Dominican Republic', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Dominican_Republic property:capital ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34820
SYSTEM
Santo Domingo
Q34820
(Q786,P36,c(Q56061))
action filter_type
action find
entity Q786
relation P36
type Q56061
The capital of Dominican Republic is in [ANSWER]
['Q786', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q786 property:P36 ?p . ?p rdf:type ontology:Q56061 }
Santo Domingo
The capital of Dominican Republic is in Santo Domingo
Santo Domingo
action filter_type
action find
entity Dominican Republic
relation capital
type administrative territorial entity
['Dominican Republic', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Dominican_Republic property:capital ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34820
P551
Q502895
USER
Which people live in that administrative territory ?
(c(Q502895),P551,Q34820)
action filter_type
action find_reverse
entity Q34820
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q34820']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q34820 . ?p rdf:type ontology:Q502895 }
Santo Domingo
action filter_type
action find_reverse
entity Santo Domingo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Santo Domingo']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Santo_Domingo . ?p rdf:type ontology:common_name }
[]
common name
Q1316884 Q4750518 Q2301554
SYSTEM
Francisco José Arnáiz Zarandona, Ana Villanueva, Sonia Silvestre
Q4750518 Q2032043 Q1316884 Q2301554 Q6781957 Q6292455
(c(Q502895),P551,Q34820)
action filter_type
action find_reverse
entity Q34820
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q34820']
SELECT DISTINCT ?p WHERE { ?p property:P551 resource:Q34820 . ?p rdf:type ontology:Q502895 }
Ana Villanueva India Catalina Francisco José Arnáiz Zarandona Sonia Silvestre María Dimitrova José Hernández
Francisco José Arnáiz Zarandona, Ana Villanueva and Sonia Silvestre live in that administrative territory
Francisco José Arnáiz Zarandona Ana Villanueva Sonia Silvestre
action filter_type
action find_reverse
entity Santo Domingo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Santo Domingo']
SELECT DISTINCT ?p WHERE { ?p property:residence resource:Santo_Domingo . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34820
P159
Q43229
USER
Which organizations have headquarters located at Santo Domingo ?
(c(Q43229),P159,Q34820)
action filter_type
action find_reverse
entity Q34820
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q34820']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q34820 . ?w rdf:type ontology:Q43229 }
Santo Domingo
action filter_type
action find_reverse
entity Santo Domingo
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Santo Domingo']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Santo_Domingo . ?w rdf:type ontology:organization }
[]
organization
Q5127729 Q7950772 Q7842089
SYSTEM
Claro República Dominicana, WIND Telecom, Viva
Q7507252 Q5127729 Q7842089 Q4854095 Q642721 Q5612202 Q7841281 Q5612231 Q3063351 Q5172372 Q7950772 Q5065318 Q4940041
(c(Q43229),P159,Q34820)
action filter_type
action find_reverse
entity Q34820
relation P159
type Q43229
[ANSWERS] have headquarters located at Santo Domingo
[{'concept': 'Q43229'}, 'P159', 'Q34820']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q34820 . ?w rdf:type ontology:Q43229 }
Siboney Claro República Dominicana Viva Banco Intercontinental Barceló Grupo Corripio Tricom Grupo León Jimenes Tele Antillas Corporación Estatal de Radio y Televisión WIND Telecom Cervecería Nacional Dominicana Bolsa de Valores de la República Dominicana
Claro República Dominicana, WIND Telecom and Viva have headquarters located at Santo Domingo
Claro República Dominicana WIND Telecom Viva
action filter_type
action find_reverse
entity Santo Domingo
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Santo Domingo']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Santo_Domingo . ?w rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5127729
P355
Q43229
USER
Which organization has that one as its subsidiary ?
(c(Q43229),P355,Q5127729)
action filter_type
action find_reverse
entity Q5127729
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q5127729']
SELECT DISTINCT ?g WHERE { ?g property:P355 resource:Q5127729 . ?g rdf:type ontology:Q43229 }
Claro República Dominicana
action filter_type
action find_reverse
entity Claro República Dominicana
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Claro República Dominicana']
SELECT DISTINCT ?g WHERE { ?g property:subsidiary resource:Claro_República_Dominicana . ?g rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q5127729
SYSTEM
Did you mean Claro República Dominicana ?
Q5127729 Q7950772 Q7842089
(c(Q43229),P355,Q5127729) (c(Q43229),P355,Q7950772) (c(Q43229),P355,Q7842089)
[ANSWER]
[{'concept': 'Q43229'}, 'P355', 'Q5127729'] [{'concept': 'Q43229'}, 'P355', 'Q7950772'] [{'concept': 'Q43229'}, 'P355', 'Q7842089']
SELECT DISTINCT ?g WHERE { ?g property:P355 resource:Q5127729 . ?g rdf:type ontology:Q43229 }
Claro República Dominicana WIND Telecom Viva
Did you mean Claro República Dominicana ?
Claro República Dominicana
[{'concept': 'organization'}, 'subsidiary', 'Claro República Dominicana'] [{'concept': 'organization'}, 'subsidiary', 'WIND Telecom'] [{'concept': 'organization'}, 'subsidiary', 'Viva']
SELECT DISTINCT ?g WHERE { ?g property:subsidiary resource:Claro_República_Dominicana . ?g rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q43229),P355,Q5127729)
[{'concept': 'Q43229'}, 'P355', 'Q5127729']
[{'concept': 'organization'}, 'subsidiary', 'Claro República Dominicana']
[]
Q482267
SYSTEM
América Móvil
Q482267
(c(Q43229),P355,Q5127729)
action filter_type
action find_reverse
entity Q5127729
relation P355
type Q43229
[ANSWER] has that one as its subsidiary
[{'concept': 'Q43229'}, 'P355', 'Q5127729']
SELECT DISTINCT ?g WHERE { ?g property:P355 resource:Q5127729 . ?g rdf:type ontology:Q43229 }
América Móvil
América Móvil has that one as its subsidiary
América Móvil
action filter_type
action find_reverse
entity Claro República Dominicana
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Claro República Dominicana']
SELECT DISTINCT ?g WHERE { ?g property:subsidiary resource:Claro_República_Dominicana . ?g rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q482267 Q1489 Q6982933
P159
Q56061
USER
Does that organization have its head office location at Mexico City and Nawnghkyeng ?
(Q482267,P159,Q1489) (Q482267,P159,Q6982933)
action is_in
entity Q482267
action intersection
action find_reverse
entity Q1489
relation P159
action find_reverse
entity Q6982933
relation P159
['Q482267', 'P159', 'Q1489'] ['Q482267', 'P159', 'Q6982933']
ASK WHERE { resource:Q482267 property:P159 resource:Q6982933 . resource:Q482267 property:P159 resource:Q1489 }
América Móvil Mexico City Nawnghkyeng
action is_in
entity América Móvil
action intersection
action find_reverse
entity Mexico City
relation headquarters location
action find_reverse
entity Nawnghkyeng
relation headquarters location
['América Móvil', 'headquarters location', 'Mexico City'] ['América Móvil', 'headquarters location', 'Nawnghkyeng']
ASK WHERE { resource:América_Móvil property:headquarters_location resource:Nawnghkyeng . resource:América_Móvil property:headquarters_location resource:Mexico_City }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q482267,P159,Q1489) (Q482267,P159,Q6982933)
action is_in
entity Q482267
action intersection
action find_reverse
entity Q1489
relation P159
action find_reverse
entity Q6982933
relation P159
[ANSWER]
['Q482267', 'P159', 'Q1489'] ['Q482267', 'P159', 'Q6982933']
ASK WHERE { resource:Q482267 property:P159 resource:Q6982933 . resource:Q482267 property:P159 resource:Q1489 }
YES and NO respectively
action is_in
entity América Móvil
action intersection
action find_reverse
entity Mexico City
relation headquarters location
action find_reverse
entity Nawnghkyeng
relation headquarters location
['América Móvil', 'headquarters location', 'Mexico City'] ['América Móvil', 'headquarters location', 'Nawnghkyeng']
ASK WHERE { resource:América_Móvil property:headquarters_location resource:Nawnghkyeng . resource:América_Móvil property:headquarters_location resource:Mexico_City }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q786
P740
Q874405
USER
What was formed at Dominican Republic ?
(c(Q874405),P740,Q786)
action filter_type
action find_reverse
entity Q786
relation P740
type Q874405
[{'concept': 'Q874405'}, 'P740', 'Q786']
SELECT DISTINCT ?a WHERE { ?a property:P740 resource:Q786 . ?a rdf:type ontology:Q874405 }
Dominican Republic
action filter_type
action find_reverse
entity Dominican Republic
relation location of formation
type social group
[{'concept': 'social group'}, 'location of formation', 'Dominican Republic']
SELECT DISTINCT ?a WHERE { ?a property:location_of_formation resource:Dominican_Republic . ?a rdf:type ontology:social_group }
[]
social group
Q6161001
SYSTEM
Trio Reynoso
Q6161001
(c(Q874405),P740,Q786)
action filter_type
action find_reverse
entity Q786
relation P740
type Q874405
In [ANSWER] was formed at Dominican Republic
[{'concept': 'Q874405'}, 'P740', 'Q786']
SELECT DISTINCT ?a WHERE { ?a property:P740 resource:Q786 . ?a rdf:type ontology:Q874405 }
Trio Reynoso
In Trio Reynoso was formed at Dominican Republic
Trio Reynoso
action filter_type
action find_reverse
entity Dominican Republic
relation location of formation
type social group
[{'concept': 'social group'}, 'location of formation', 'Dominican Republic']
SELECT DISTINCT ?a WHERE { ?a property:location_of_formation resource:Dominican_Republic . ?a rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q477178 Q482267
P127
Q43229
USER
Which organizations are owned by América Móvil or Sun Capital Partners ?
OR((c(Q43229),P127,Q482267), (c(Q43229),P127,Q477178))
action filter_type
action union
action find_reverse
entity Q482267
relation P127
action find_reverse
entity Q477178
relation P127
type Q43229
{'OR': [[{'concept': 'Q43229'}, 'P127', 'Q482267'], [{'concept': 'Q43229'}, 'P127', 'Q477178']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P127 resource:Q477178 } UNION { ?f property:P127 resource:Q482267 } } . ?f rdf:type ontology:Q43229 }
Sun Capital Partners América Móvil
action filter_type
action union
action find_reverse
entity América Móvil
relation owned by
action find_reverse
entity Sun Capital Partners
relation owned by
type organization
{'OR': [[{'concept': 'organization'}, 'owned by', 'América Móvil'], [{'concept': 'organization'}, 'owned by', 'Sun Capital Partners']]}
SELECT DISTINCT ?f WHERE { { { ?f property:owned_by resource:Sun_Capital_Partners } UNION { ?f property:owned_by resource:América_Móvil } } . ?f rdf:type ontology:organization }
[]
organization
Q6773346 Q1770208 Q5183891 Q688755 Q7501155 Q7943163 Q3517255 Q4046361 Q6385885 Q603617
SYSTEM
Marsh Supermarkets, Claro, Creekstone Farms Premium Beef, Telekom Austria, Shopko, Vroom & Dreesmann, Telcel, Pamida, Kellwood Company, Boston Market
Q6773346 Q1770208 Q5183891 Q688755 Q7501155 Q7943163 Q3517255 Q4046361 Q6385885 Q603617
OR((c(Q43229),P127,Q482267), (c(Q43229),P127,Q477178))
action filter_type
action union
action find_reverse
entity Q482267
relation P127
action find_reverse
entity Q477178
relation P127
type Q43229
[ANSWERS] are owned by América Móvil or Sun Capital Partners
{'OR': [[{'concept': 'Q43229'}, 'P127', 'Q482267'], [{'concept': 'Q43229'}, 'P127', 'Q477178']]}
SELECT DISTINCT ?f WHERE { { { ?f property:P127 resource:Q477178 } UNION { ?f property:P127 resource:Q482267 } } . ?f rdf:type ontology:Q43229 }
Marsh Supermarkets Claro Creekstone Farms Premium Beef Telekom Austria Shopko Vroom & Dreesmann Telcel Pamida Kellwood Company Boston Market
Marsh Supermarkets, Claro, Creekstone Farms Premium Beef, Telekom Austria, Shopko, Vroom & Dreesmann, Telcel, Pamida, Kellwood Company and Boston Market are owned by América Móvil or Sun Capital Partners
Marsh Supermarkets Claro Creekstone Farms Premium Beef Telekom Austria Shopko Vroom & Dreesmann Telcel Pamida Kellwood Company Boston Market
action filter_type
action union
action find_reverse
entity América Móvil
relation owned by
action find_reverse
entity Sun Capital Partners
relation owned by
type organization
{'OR': [[{'concept': 'organization'}, 'owned by', 'América Móvil'], [{'concept': 'organization'}, 'owned by', 'Sun Capital Partners']]}
SELECT DISTINCT ?f WHERE { { { ?f property:owned_by resource:Sun_Capital_Partners } UNION { ?f property:owned_by resource:América_Móvil } } . ?f rdf:type ontology:organization }
[]