Simple Question (Direct)
Simple Question
Q450963
P19
Q56061
USER
Which administrative territory is the place of birth of László Bodrogi ?
(Q450963,P19,c(Q56061))
action filter_type
action find
entity Q450963
relation P19
type Q56061
['Q450963', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q450963 property:P19 ?u . ?u rdf:type ontology:Q56061 }
László Bodrogi
action filter_type
action find
entity László Bodrogi
relation place of birth
type administrative territorial entity
['László Bodrogi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:László_Bodrogi property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q450963,P19,c(Q56061))
action filter_type
action find
entity Q450963
relation P19
type Q56061
[ANSWER] is the place of birth of László Bodrogi
['Q450963', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q450963 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Budapest
Budapest is the place of birth of László Bodrogi
Budapest
action filter_type
action find
entity László Bodrogi
relation place of birth
type administrative territorial entity
['László Bodrogi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:László_Bodrogi property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q450963
P1346
Q22348500
USER
Where was that person decalred as a victor ?
(c(Q22348500),P1346,Q1781)
action filter_type
action find_reverse
entity Q450963
relation P1346
type Q22348500
[{'concept': 'Q22348500'}, 'P1346', 'Q1781']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q450963 . ?w rdf:type ontology:Q22348500 }
László Bodrogi
action filter_type
action find_reverse
entity László Bodrogi
relation winner
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'winner', 'Budapest']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:László_Bodrogi . ?w rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
cycling race class defined by the International Cycling Union
Q3114100
SYSTEM
2012 Grand Prix de Fourmies
Q3114100
(c(Q22348500),P1346,Q1781)
action filter_type
action find_reverse
entity Q450963
relation P1346
type Q22348500
[ANSWER] as a victor that person was decalred
[{'concept': 'Q22348500'}, 'P1346', 'Q1781']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q450963 . ?w rdf:type ontology:Q22348500 }
2012 Grand Prix de Fourmies
2012 Grand Prix de Fourmies as a victor that person was decalred
2012 Grand Prix de Fourmies
action filter_type
action find_reverse
entity László Bodrogi
relation winner
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'winner', 'Budapest']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:László_Bodrogi . ?w rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3114100
P1444
Q20667921
USER
Which french administrative division is the destination point for that cycling race class ?
(Q3114100,P1444,c(Q20667921))
action filter_type
action find
entity Q3114100
relation P1444
type Q20667921
['Q3114100', 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3114100 property:P1444 ?d . ?d rdf:type ontology:Q20667921 }
2012 Grand Prix de Fourmies
action filter_type
action find
entity 2012 Grand Prix de Fourmies
relation destination point
type type of french administrative division
['2012 Grand Prix de Fourmies', 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:2012_Grand_Prix_de_Fourmies property:destination_point ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q305007
SYSTEM
Fourmies
Q305007
(Q3114100,P1444,c(Q20667921))
action filter_type
action find
entity Q3114100
relation P1444
type Q20667921
[ANSWER] is the destination point for that cycling race class
['Q3114100', 'P1444', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q3114100 property:P1444 ?d . ?d rdf:type ontology:Q20667921 }
Fourmies
Fourmies is the destination point for that cycling race class
Fourmies
action filter_type
action find
entity 2012 Grand Prix de Fourmies
relation destination point
type type of french administrative division
['2012 Grand Prix de Fourmies', 'destination point', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:2012_Grand_Prix_de_Fourmies property:destination_point ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q305007 Q142
P17
Q15617994
USER
Is Fourmies located in France ?
(Q305007,P17,Q142)
action is_in
entity Q142
action find
entity Q305007
relation P17
['Q305007', 'P17', 'Q142']
ASK WHERE { resource:Q305007 property:P17 resource:Q142 }
Fourmies France
action is_in
entity France
action find
entity Fourmies
relation country
['Fourmies', 'country', 'France']
ASK WHERE { resource:Fourmies property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q305007,P17,Q142)
action is_in
entity Q142
action find
entity Q305007
relation P17
[ANSWER]
['Q305007', 'P17', 'Q142']
ASK WHERE { resource:Q305007 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Fourmies
relation country
['Fourmies', 'country', 'France']
ASK WHERE { resource:Fourmies property:country resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24717454 Q3114100
P17
Q15617994
USER
Which administrative territories are 2012 Grand Prix de Fourmies or Wat Si Sudaram a part of ?
OR((Q3114100,P17,c(Q15617994)), (Q24717454,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3114100
relation P17
action find
entity Q24717454
relation P17
type Q15617994
{'OR': [['Q3114100', 'P17', {'concept': 'Q15617994'}], ['Q24717454', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?g property:P17 ?e . VALUES ( ?g ) { ( resource:Q3114100 ) ( resource:Q24717454 ) } } . ?e rdf:type ontology:Q15617994 }
Wat Si Sudaram 2012 Grand Prix de Fourmies
action filter_type
action union
action find
entity 2012 Grand Prix de Fourmies
relation country
action find
entity Wat Si Sudaram
relation country
type designation for an administrative territorial entity
{'OR': [['2012 Grand Prix de Fourmies', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wat Si Sudaram', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?g property:country ?e . VALUES ( ?g ) { ( resource:2012_Grand_Prix_de_Fourmies ) ( resource:Wat_Si_Sudaram ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q869
SYSTEM
France, Thailand
Q142 Q869
OR((Q3114100,P17,c(Q15617994)), (Q24717454,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3114100
relation P17
action find
entity Q24717454
relation P17
type Q15617994
[ANSWERS] are 2012 Grand Prix de Fourmies or Wat Si Sudaram a part of
{'OR': [['Q3114100', 'P17', {'concept': 'Q15617994'}], ['Q24717454', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { ?g property:P17 ?e . VALUES ( ?g ) { ( resource:Q3114100 ) ( resource:Q24717454 ) } } . ?e rdf:type ontology:Q15617994 }
France Thailand
France and Thailand are 2012 Grand Prix de Fourmies or Wat Si Sudaram a part of
France Thailand
action filter_type
action union
action find
entity 2012 Grand Prix de Fourmies
relation country
action find
entity Wat Si Sudaram
relation country
type designation for an administrative territorial entity
{'OR': [['2012 Grand Prix de Fourmies', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Wat Si Sudaram', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { ?g property:country ?e . VALUES ( ?g ) { ( resource:2012_Grand_Prix_de_Fourmies ) ( resource:Wat_Si_Sudaram ) } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q869
P551
Q502895
USER
Who lives in that administrative territory ?
(c(Q502895),P551,Q869)
action filter_type
action find_reverse
entity Q869
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q869']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q869 . ?e rdf:type ontology:Q502895 }
Thailand
action filter_type
action find_reverse
entity Thailand
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Thailand']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Thailand . ?e rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q869
SYSTEM
Did you mean Thailand ?
Q142 Q869
(c(Q502895),P551,Q142) (c(Q502895),P551,Q869)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q869']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q869 . ?e rdf:type ontology:Q502895 }
France Thailand
Did you mean Thailand ?
Thailand
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'Thailand']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Thailand . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P551,Q869)
[{'concept': 'Q502895'}, 'P551', 'Q869']
[{'concept': 'common name'}, 'residence', 'Thailand']
[]
Q18325835 Q530413 Q6583776
SYSTEM
Gambhiro Bhikkhu, Palmy, Montinee Tangphong
Q7608130 Q18325835 Q530413 Q6583776
(c(Q502895),P551,Q869)
action filter_type
action find_reverse
entity Q869
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q869']
SELECT DISTINCT ?e WHERE { ?e property:P551 resource:Q869 . ?e rdf:type ontology:Q502895 }
Stephan Fox Gambhiro Bhikkhu Palmy Montinee Tangphong
Gambhiro Bhikkhu, Palmy and Montinee Tangphong live in that administrative territory
Gambhiro Bhikkhu Palmy Montinee Tangphong
action filter_type
action find_reverse
entity Thailand
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Thailand']
SELECT DISTINCT ?e WHERE { ?e property:residence resource:Thailand . ?e rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person an inhabitant of ?
(Q18325835,P27,c(Q15617994))
['Q18325835', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18325835 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Gambhiro Bhikkhu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Gambhiro_Bhikkhu property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q530413
SYSTEM
Did you mean Palmy ?
(Q18325835,P27,c(Q15617994)) (Q530413,P27,c(Q15617994)) (Q6583776,P27,c(Q15617994))
[ANSWER]
['Q18325835', 'P27', {'concept': 'Q15617994'}] ['Q530413', 'P27', {'concept': 'Q15617994'}] ['Q6583776', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18325835 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Palmy ?
Palmy
['Gambhiro Bhikkhu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Palmy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Montinee Tangphong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Gambhiro_Bhikkhu property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Gambhiro Bhikkhu. Could you tell me the answer for that?
(Q18325835,P27,c(Q15617994))
Q18325835
['Q18325835', 'P27', {'concept': 'Q15617994'}]
['Gambhiro Bhikkhu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q30
(Q18325835,P27,c(Q15617994))
[ANSWER]
['Q18325835', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q18325835 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
1
['Gambhiro Bhikkhu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Gambhiro_Bhikkhu property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]