Simple Question (Direct)
Simple Question
Q2529339
P106
Q12737077
USER
What are the professions of Vladas Gefenas ?
(Q2529339,P106,c(Q12737077))
action filter_type
action find
entity Q2529339
relation P106
type Q12737077
['Q2529339', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2529339 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Vladas Gefenas
action filter_type
action find
entity Vladas Gefenas
relation occupation
type occupation
['Vladas Gefenas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Vladas_Gefenas property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q1622272 Q10873124 Q593644
SYSTEM
university teacher, chess player, chemist
Q1622272 Q10873124 Q593644
(Q2529339,P106,c(Q12737077))
action filter_type
action find
entity Q2529339
relation P106
type Q12737077
The professions of Vladas Gefenas are the [ANSWERS]
['Q2529339', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q2529339 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
university teacher chess player chemist
The professions of Vladas Gefenas are the university teacher, chess player and chemist
university teacher chess player chemist
action filter_type
action find
entity Vladas Gefenas
relation occupation
type occupation
['Vladas Gefenas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Vladas_Gefenas property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10873124
P425
Q31629
USER
Which type of sport is associated with the field of occupation that one ?
(Q10873124,P425,c(Q31629))
action filter_type
action find
entity Q10873124
relation P425
type Q31629
['Q10873124', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { resource:Q10873124 property:P425 ?g . ?g rdf:type ontology:Q31629 }
chess player
action filter_type
action find
entity chess player
relation field of this occupation
type type of sport
['chess player', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { resource:chess_player property:field_of_this_occupation ?g . ?g rdf:type ontology:type_of_sport }
[]
type of sport
Clarification for simple ques.
Q10873124
SYSTEM
Did you mean chess player ?
Q1622272 Q10873124 Q593644
(Q1622272,P425,c(Q31629)) (Q10873124,P425,c(Q31629)) (Q593644,P425,c(Q31629))
[ANSWER]
['Q1622272', 'P425', {'concept': 'Q31629'}] ['Q10873124', 'P425', {'concept': 'Q31629'}] ['Q593644', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { resource:Q10873124 property:P425 ?g . ?g rdf:type ontology:Q31629 }
university teacher chess player chemist
Did you mean chess player ?
chess player
['university teacher', 'field of this occupation', {'concept': 'type of sport'}] ['chess player', 'field of this occupation', {'concept': 'type of sport'}] ['chemist', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { resource:chess_player property:field_of_this_occupation ?g . ?g rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
USER
Yes
(Q10873124,P425,c(Q31629))
['Q10873124', 'P425', {'concept': 'Q31629'}]
['chess player', 'field of this occupation', {'concept': 'type of sport'}]
[]
Q718
SYSTEM
chess
Q718
(Q10873124,P425,c(Q31629))
action filter_type
action find
entity Q10873124
relation P425
type Q31629
Is [ANSWER] is associated with the field of occupation that one
['Q10873124', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?g WHERE { resource:Q10873124 property:P425 ?g . ?g rdf:type ontology:Q31629 }
chess
Is chess is associated with the field of occupation that one
chess
action filter_type
action find
entity chess player
relation field of this occupation
type type of sport
['chess player', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?g WHERE { resource:chess_player property:field_of_this_occupation ?g . ?g rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q718
P366
Q2425052
USER
Which electrical apparatus has its main utilization as that type of sport ?
(c(Q2425052),P366,Q718)
action filter_type
action find_reverse
entity Q718
relation P366
type Q2425052
[{'concept': 'Q2425052'}, 'P366', 'Q718']
SELECT DISTINCT ?h WHERE { ?h property:P366 resource:Q718 . ?h rdf:type ontology:Q2425052 }
chess
action filter_type
action find_reverse
entity chess
relation use
type electrical apparatus
[{'concept': 'electrical apparatus'}, 'use', 'chess']
SELECT DISTINCT ?h WHERE { ?h property:use resource:chess . ?h rdf:type ontology:electrical_apparatus }
[]
electrical apparatus
Q831765
SYSTEM
game clock
Q831765
(c(Q2425052),P366,Q718)
action filter_type
action find_reverse
entity Q718
relation P366
type Q2425052
[ANSWER] has its main utilization as that type of sport
[{'concept': 'Q2425052'}, 'P366', 'Q718']
SELECT DISTINCT ?h WHERE { ?h property:P366 resource:Q718 . ?h rdf:type ontology:Q2425052 }
game clock
Game clock has its main utilization as that type of sport
game clock
action filter_type
action find_reverse
entity chess
relation use
type electrical apparatus
[{'concept': 'electrical apparatus'}, 'use', 'chess']
SELECT DISTINCT ?h WHERE { ?h property:use resource:chess . ?h rdf:type ontology:electrical_apparatus }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q26209155
P1427
Q515 Q20667921 Q31629
USER
Which types of sport originate at more number of cities and french administrative divisions than 2016 Vuelta a Burgos, Stage 5 ?
(c(Q31629),P1427,c(Q515)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1427
type Q31629
type Q515
action find_tuple_counts
relation P1427
type Q31629
type Q20667921
action count
action filter_multi_types
action find
entity Q26209155
relation P1427
type Q515
type Q20667921
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q26209155 property:P1427 ?v . { { ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q515 } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m property:P1427 ?b . ?b rdf:type ontology:Q515 . ?m rdf:type ontology:Q31629 } UNION { ?m property:P1427 ?b . ?m rdf:type ontology:Q31629 . ?b rdf:type ontology:Q20667921 } } GROUP BY ?m } }
2016 Vuelta a Burgos, Stage 5
action greater
action union
action find_tuple_counts
relation start point
type type of sport
type city
action find_tuple_counts
relation start point
type type of sport
type type of french administrative division
action count
action filter_multi_types
action find
entity 2016 Vuelta a Burgos, Stage 5
relation start point
type city
type type of french administrative division
[{'concept': 'type of sport'}, 'start point', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:2016_Vuelta_a_Burgos,_Stage_5 property:start_point ?v . { { ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:city } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m property:start_point ?b . ?b rdf:type ontology:city . ?m rdf:type ontology:type_of_sport } UNION { ?m property:start_point ?b . ?m rdf:type ontology:type_of_sport . ?b rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?m } }
[]
city type of french administrative division type of sport
Q21155400 Q21155399 Q21155401
SYSTEM
2016 Tour de France, Stage 15, 2016 Tour de France, Stage 14, 2016 Tour de France, Stage 16
Q19946556 Q19946559 Q2807503 Q22582739 Q22582738 Q20738918 Q19944928 Q19920830 Q19920831 Q22772360 Q22772363 Q23000035 Q23000036 Q23000037 Q23000038 Q21755419 Q21755418 Q21755417 Q21755416 Q21571740 Q22677361 Q21768448 Q21768449 Q21768445 Q21768446 Q21768447 Q19946557 Q23535605 Q23535601 Q19946575 Q19946574 Q19946573 Q21155285 Q21155400 Q21155401 Q21155406 Q21155407 Q21155404 Q21155405 Q22812469 Q22812468 Q23535586 Q23535582 Q20738925 Q20738921 Q19946535 Q19946534 Q23498320 Q21155192 Q22783202 Q23498317 Q23498318 Q26885344 Q265672 Q19951568 Q21155398 Q21155399 Q21155396 Q26885403 Q26885401 Q19946560 Q19946561 Q19946563 Q19946564 Q23498321 Q23498323 Q23498322 Q23498325 Q23535590 Q23535594 Q23535597 Q24265079 Q26883403 Q21074505 Q19946558 Q21571738 Q21571739 Q21571736 Q21571737 Q22677342 Q22677341 Q22677340 Q26897389 Q21155349 Q21155343 Q21155346 Q26883441 Q19951541 Q21755420 Q22670412 Q22670411 Q22681040 Q20823513 Q20823512 Q20823511 Q20823510 Q20823514 Q21768450 Q22582742 Q22582740 Q22582741 Q20680818 Q22772356 Q23498324
(c(Q31629),P1427,c(Q515)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P1427
type Q31629
type Q515
action find_tuple_counts
relation P1427
type Q31629
type Q20667921
action count
action filter_multi_types
action find
entity Q26209155
relation P1427
type Q515
type Q20667921
[ANSWERS]
[{'concept': 'Q31629'}, 'P1427', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q26209155 property:P1427 ?v . { { ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q515 } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m property:P1427 ?b . ?b rdf:type ontology:Q515 . ?m rdf:type ontology:Q31629 } UNION { ?m property:P1427 ?b . ?m rdf:type ontology:Q31629 . ?b rdf:type ontology:Q20667921 } } GROUP BY ?m } }
2015 Tour de France, Stage 16 2015 Tour de France, Stage 13 1995 Tour de France, Stage 12 2016 Étoile de Bessèges, Stage 2 2016 Étoile de Bessèges, Stage 1 2016 Tour de France, Stage 1 2015 Tour de France, Stage 21 2015 Paris-Arras Tour, Stage 2 2015 Paris-Arras Tour, Stage 3 2016 Tour of Oman, Stage 4 2016 Tour of Oman, Stage 6 2016 Tour du Limousin, Stage 2 2016 Tour du Limousin, Stage 4 2016 Tour du Limousin, Stage 1 2016 Tour du Limousin, Stage 3 2014 Tour de l'Ain, Stage 3 2014 Tour de l'Ain, Stage 2 2014 Tour de l'Ain, Stage 1 2014 Tour de l'Ain, Prologue 2016 Four Days of Dunkirk, Stage 5 2016 Tour of Qatar, Stage 2 2016 Paris–Nice, Stage 3 2016 Paris–Nice, Stage 4 2016 Paris–Nice, Prologue 2016 Paris–Nice, Stage 1 2016 Paris–Nice, Stage 2 2015 Tour de France, Stage 15 2016 Tour de Normandie, Stage 6 2016 Tour de Normandie, Stage 5 2015 Tour de France, Stage 5 2015 Tour de France, Stage 6 2015 Tour de France, Stage 7 2016 Tour de France, Stage 5 2016 Tour de France, Stage 15 2016 Tour de France, Stage 16 2016 Tour de France, Stage 20 2016 Tour de France, Stage 21 2016 Tour de France, Stage 18 2016 Tour de France, Stage 19 2016 Tour du Haut Var, Stage 2 2016 Tour du Haut Var, Stage 1 2016 Tour de Normandie, Stage 1 2016 Tour de Normandie, Prologue 2016 Tour de France, Stage 3 2016 Tour de France, Stage 2 2015 Tour de France, Stage 17 2015 Tour de France, Stage 18 2016 Critérium du Dauphiné, Stage 2 2016 Tour de France, Stage 4 2016 Tour de Langkawi, Stage 6 2016 Critérium du Dauphiné, Prologue 2016 Critérium du Dauphiné, Stage 1 2016 European Road Championships – Men's U23 time trial 2008 Tour de France, Stage 8 2015 Tour de France, Stage 20 2016 Tour de France, Stage 13 2016 Tour de France, Stage 14 2016 Tour de France, Stage 11 2016 European Road Championships – Men's elite time trial 2016 European Road Championships – Women's elite time trial 2015 Tour de France, Stage 12 2015 Tour de France, Stage 11 2015 Tour de France, Stage 10 2015 Tour de France, Stage 9 2016 Critérium du Dauphiné, Stage 3 2016 Critérium du Dauphiné, Stage 5 2016 Critérium du Dauphiné, Stage 4 2016 Critérium du Dauphiné, Stage 7 2016 Tour de Normandie, Stage 2 2016 Tour de Normandie, Stage 3 2016 Tour de Normandie, Stage 4 1st Stage 2016 Circuit de la Sarthe 2016 European Road Championships – Women's junior time trial 2016 Giro d'Italia, Stage 20 2015 Tour de France, Stage 14 2016 Four Days of Dunkirk, Stage 3 2016 Four Days of Dunkirk, Stage 4 2016 Four Days of Dunkirk, Stage 1 2016 Four Days of Dunkirk, Stage 2 2016 Tour La Provence, Stage 3 2016 Tour La Provence, Stage 2 2016 Tour La Provence, Stage 1 2016 European Road Championships – Women's U23 time trial 2016 Tour de France, Stage 8 2016 Tour de France, Stage 6 2016 Tour de France, Stage 7 2016 European Road Championships – Men's junior time trial 2015 Tour de France, Stage 19 2014 Tour de l'Ain, Stage 4 2016 La Méditerranéenne, Stage 3 2016 La Méditerranéenne, Stage 2 2017 Tour de France, Stage 21 2015 Tour de l'Ain, Stage 3 2015 Tour de l'Ain, Stage 2 2015 Tour de l'Ain, Stage 1 2015 Tour de l'Ain, Prologue 2015 Tour de l'Ain, Stage 4 2016 Paris–Nice, Stage 5 2016 Étoile de Bessèges, Stage 5 2016 Étoile de Bessèges, Stage 3 2016 Étoile de Bessèges, Stage 4 2015 Vuelta a España, Stage 11 2016 Tour of Oman, Stage 1 2016 Critérium du Dauphiné, Stage 6
2016 Tour de France, Stage 15, 2016 Tour de France, Stage 14 and 2016 Tour de France, Stage 16 originate at more number of cities and french administrative divisions than 2016 Vuelta a Burgos, Stage 5
2016 Tour de France, Stage 15 2016 Tour de France, Stage 14 2016 Tour de France, Stage 16
action greater
action union
action find_tuple_counts
relation start point
type type of sport
type city
action find_tuple_counts
relation start point
type type of sport
type type of french administrative division
action count
action filter_multi_types
action find
entity 2016 Vuelta a Burgos, Stage 5
relation start point
type city
type type of french administrative division
[{'concept': 'type of sport'}, 'start point', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:2016_Vuelta_a_Burgos,_Stage_5 property:start_point ?v . { { ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:city } } } } . FILTER ( ?s > ?c ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?m WHERE { { ?m property:start_point ?b . ?b rdf:type ontology:city . ?m rdf:type ontology:type_of_sport } UNION { ?m property:start_point ?b . ?m rdf:type ontology:type_of_sport . ?b rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?m } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4540632 Q26209155
P17
Q15617994
USER
Which administrative territories do 2016 Vuelta a Burgos, Stage 5 or Utalgi belong to ?
OR((Q26209155,P17,c(Q15617994)), (Q4540632,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26209155
relation P17
action find
entity Q4540632
relation P17
type Q15617994
{'OR': [['Q26209155', 'P17', {'concept': 'Q15617994'}], ['Q4540632', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q26209155 property:P17 ?n } UNION { resource:Q4540632 property:P17 ?n } } }
Utalgi 2016 Vuelta a Burgos, Stage 5
action filter_type
action union
action find
entity 2016 Vuelta a Burgos, Stage 5
relation country
action find
entity Utalgi
relation country
type designation for an administrative territorial entity
{'OR': [['2016 Vuelta a Burgos, Stage 5', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Utalgi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:2016_Vuelta_a_Burgos,_Stage_5 property:country ?n } UNION { resource:Utalgi property:country ?n } } }
[]
designation for an administrative territorial entity
Q227 Q29
SYSTEM
Azerbaijan, Spain
Q227 Q29
OR((Q26209155,P17,c(Q15617994)), (Q4540632,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q26209155
relation P17
action find
entity Q4540632
relation P17
type Q15617994
[ANSWERS] 2016 Vuelta a Burgos, Stage 5 or Utalgi belong to
{'OR': [['Q26209155', 'P17', {'concept': 'Q15617994'}], ['Q4540632', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q26209155 property:P17 ?n } UNION { resource:Q4540632 property:P17 ?n } } }
Azerbaijan Spain
Azerbaijan and Spain 2016 Vuelta a Burgos, Stage 5 or Utalgi belong to
Azerbaijan Spain
action filter_type
action union
action find
entity 2016 Vuelta a Burgos, Stage 5
relation country
action find
entity Utalgi
relation country
type designation for an administrative territorial entity
{'OR': [['2016 Vuelta a Burgos, Stage 5', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Utalgi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:2016_Vuelta_a_Burgos,_Stage_5 property:country ?n } UNION { resource:Utalgi property:country ?n } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q46215
P530
Q15617994
USER
Do Grisignano di Zocco have diplomatic relations with those ones ?
(Q46215,P530,Q227) (Q46215,P530,Q29)
action is_in
entity prev_answer
action find
entity Q46215
relation P530
['Q46215', 'P530', 'Q227'] ['Q46215', 'P530', 'Q29']
ASK WHERE { VALUES ( ?t ) { ( resource:Q227 ) ( resource:Q29 ) } . resource:Q46215 property:P530 ?t }
Grisignano di Zocco
action is_in
entity prev_answer
action find
entity Grisignano di Zocco
relation diplomatic relation
['Grisignano di Zocco', 'diplomatic relation', 'Azerbaijan'] ['Grisignano di Zocco', 'diplomatic relation', 'Spain']
ASK WHERE { VALUES ( ?t ) { ( resource:Azerbaijan ) ( resource:Spain ) } . resource:Grisignano_di_Zocco property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q46215,P530,Q227) (Q46215,P530,Q29)
action is_in
entity prev_answer
action find
entity Q46215
relation P530
[ANSWER]
['Q46215', 'P530', 'Q227'] ['Q46215', 'P530', 'Q29']
ASK WHERE { VALUES ( ?t ) { ( resource:Q227 ) ( resource:Q29 ) } . resource:Q46215 property:P530 ?t }
No
action is_in
entity prev_answer
action find
entity Grisignano di Zocco
relation diplomatic relation
['Grisignano di Zocco', 'diplomatic relation', 'Azerbaijan'] ['Grisignano di Zocco', 'diplomatic relation', 'Spain']
ASK WHERE { VALUES ( ?t ) { ( resource:Azerbaijan ) ( resource:Spain ) } . resource:Grisignano_di_Zocco property:diplomatic_relation ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q227 Q570311
P47
Q15617994
USER
Is Eitelborn adjacent to Azerbaijan ?
(Q227,P47,Q570311)
action is_in
entity Q570311
action find
entity Q227
relation P47
['Q227', 'P47', 'Q570311']
ASK WHERE { resource:Q227 property:P47 resource:Q570311 }
Azerbaijan Eitelborn
action is_in
entity Eitelborn
action find
entity Azerbaijan
relation shares border with
['Azerbaijan', 'shares border with', 'Eitelborn']
ASK WHERE { resource:Azerbaijan property:shares_border_with resource:Eitelborn }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q227,P47,Q570311)
action is_in
entity Q570311
action find
entity Q227
relation P47
[ANSWER]
['Q227', 'P47', 'Q570311']
ASK WHERE { resource:Q227 property:P47 resource:Q570311 }
No
action is_in
entity Eitelborn
action find
entity Azerbaijan
relation shares border with
['Azerbaijan', 'shares border with', 'Eitelborn']
ASK WHERE { resource:Azerbaijan property:shares_border_with resource:Eitelborn }
[]