Simple Question (Direct)
Simple Question
Q3386920
P641
Q349
USER
What was the sport that Pierre St.-Jean was a part of ?
(Q3386920,P641,c(Q349))
action filter_type
action find
entity Q3386920
relation P641
type Q349
['Q3386920', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q3386920 property:P641 ?r . ?r rdf:type ontology:Q349 }
Pierre St.-Jean
action filter_type
action find
entity Pierre St.-Jean
relation sport
type sport
['Pierre St.-Jean', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Pierre_St.-Jean property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q83462
SYSTEM
weightlifting
Q83462
(Q3386920,P641,c(Q349))
action filter_type
action find
entity Q3386920
relation P641
type Q349
The sport that Pierre St.-Jean was a part of was h [ANSWER]
['Q3386920', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q3386920 property:P641 ?r . ?r rdf:type ontology:Q349 }
weightlifting
The sport that Pierre St.-Jean was a part of was h weightlifting
weightlifting
action filter_type
action find
entity Pierre St.-Jean
relation sport
type sport
['Pierre St.-Jean', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Pierre_St.-Jean property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q83462
P425
Q151885
USER
Which concept has that sport as thier field of occupation ?
(c(Q151885),P425,Q83462)
action filter_type
action find_reverse
entity Q83462
relation P425
type Q151885
[{'concept': 'Q151885'}, 'P425', 'Q83462']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q151885 . ?g property:P425 resource:Q83462 }
weightlifting
action filter_type
action find_reverse
entity weightlifting
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'weightlifting']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:concept . ?g property:field_of_this_occupation resource:weightlifting }
[]
concept
Q13381376
SYSTEM
weightlifter
Q13381376
(c(Q151885),P425,Q83462)
action filter_type
action find_reverse
entity Q83462
relation P425
type Q151885
Er [ANSWER] has that sport as thier field of occupation
[{'concept': 'Q151885'}, 'P425', 'Q83462']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q151885 . ?g property:P425 resource:Q83462 }
weightlifter
Er weightlifter has that sport as thier field of occupation
weightlifter
action filter_type
action find_reverse
entity weightlifting
relation field of this occupation
type concept
[{'concept': 'concept'}, 'field of this occupation', 'weightlifting']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:concept . ?g property:field_of_this_occupation resource:weightlifting }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q13381376 Q273125
P425
Q349
USER
Is kyūdō associated with the field of occupation that concept ?
(Q13381376,P425,Q273125)
action is_in
entity Q273125
action find
entity Q13381376
relation P425
['Q13381376', 'P425', 'Q273125']
ASK WHERE { resource:Q13381376 property:P425 resource:Q273125 }
weightlifter kyūdō
action is_in
entity kyūdō
action find
entity weightlifter
relation field of this occupation
['weightlifter', 'field of this occupation', 'kyūdō']
ASK WHERE { resource:weightlifter property:field_of_this_occupation resource:kyūdō }
[]
sport
SYSTEM
NO
(Q13381376,P425,Q273125)
action is_in
entity Q273125
action find
entity Q13381376
relation P425
[ANSWER]
['Q13381376', 'P425', 'Q273125']
ASK WHERE { resource:Q13381376 property:P425 resource:Q273125 }
No
action is_in
entity kyūdō
action find
entity weightlifter
relation field of this occupation
['weightlifter', 'field of this occupation', 'kyūdō']
ASK WHERE { resource:weightlifter property:field_of_this_occupation resource:kyūdō }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q2221906 Q151885
USER
How many geographic locations are the location where atleast 2 concepts are located ?
(c(Q151885),P706,c(Q2221906))
action count
action atleast
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
value 2
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { FILTER ( ?h >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q151885 . ?o property:P706 ?m } GROUP BY ?m } }
action count
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
value 2
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { FILTER ( ?h >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m rdf:type ontology:geographic_location . ?o rdf:type ontology:concept . ?o property:located_on_terrain_feature ?m } GROUP BY ?m } }
[]
geographic location concept
SYSTEM
13
Q27468 Q27509 Q21195 Q46 Q81483 Q263686 Q27496 Q1057925 Q46519 Q27275 Q46613 Q5428 Q27449
(c(Q151885),P706,c(Q2221906))
action count
action atleast
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q151885
value 2
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { FILTER ( ?h >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m rdf:type ontology:Q2221906 . ?o rdf:type ontology:Q151885 . ?o property:P706 ?m } GROUP BY ?m } }
Eastern Europe Central Europe Scandinavia Europe The Levant Southeast Europe Western Europe Northeast China Southern Germany Central Asia Northern Germany Siberia Southern Europe
13
action count
action atleast
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type concept
value 2
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { FILTER ( ?h >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?h ) WHERE { ?m rdf:type ontology:geographic_location . ?o rdf:type ontology:concept . ?o property:located_on_terrain_feature ?m } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3386920
P19
Q56061
USER
Where was Pierre St.-Jean born ?
(Q3386920,P19,c(Q56061))
action filter_type
action find
entity Q3386920
relation P19
type Q56061
['Q3386920', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3386920 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Pierre St.-Jean
action filter_type
action find
entity Pierre St.-Jean
relation place of birth
type administrative territorial entity
['Pierre St.-Jean', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pierre_St.-Jean property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q3386920,P19,c(Q56061))
action filter_type
action find
entity Q3386920
relation P19
type Q56061
Pierre St.-Jean was born in [ANSWER]
['Q3386920', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q3386920 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Montreal
Pierre St.-Jean was born in Montreal
Montreal
action filter_type
action find
entity Pierre St.-Jean
relation place of birth
type administrative territorial entity
['Pierre St.-Jean', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pierre_St.-Jean property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q1656682 Q667276 Q502895
USER
How many people were exhibited at around 2 events or art exhibitions ?
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 2
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?m ) WHERE { { ?v rdf:type ontology:Q502895 . ?n rdf:type ontology:Q1656682 . ?v property:P608 ?n } UNION { ?v property:P608 ?n . ?v rdf:type ontology:Q502895 . ?n rdf:type ontology:Q667276 } } GROUP BY ?v } }
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?m ) WHERE { { ?v rdf:type ontology:common_name . ?n rdf:type ontology:event . ?v property:exhibition_history ?n } UNION { ?v property:exhibition_history ?n . ?v rdf:type ontology:common_name . ?n rdf:type ontology:art_exhibition } } GROUP BY ?v } }
[]
event art exhibition common name
SYSTEM
2
Q1964408 Q20888837
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?m ) WHERE { { ?v rdf:type ontology:Q502895 . ?n rdf:type ontology:Q1656682 . ?v property:P608 ?n } UNION { ?v property:P608 ?n . ?v rdf:type ontology:Q502895 . ?n rdf:type ontology:Q667276 } } GROUP BY ?v } }
Nan Hoover Angélique Bègue
2
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?m ) WHERE { { ?v rdf:type ontology:common_name . ?n rdf:type ontology:event . ?v property:exhibition_history ?n } UNION { ?v property:exhibition_history ?n . ?v rdf:type ontology:common_name . ?n rdf:type ontology:art_exhibition } } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5202641 Q273125
P27 P17
Q15617994
USER
Which administrative territories are kyūdō present in or are the native countriesof César Valdez Valenzuela ?
OR((Q273125,P17,c(Q15617994)), (Q5202641,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q273125
relation P17
action find
entity Q5202641
relation P27
type Q15617994
{'OR': [['Q273125', 'P17', {'concept': 'Q15617994'}], ['Q5202641', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q273125 property:P17 ?h } UNION { resource:Q5202641 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
César Valdez Valenzuela kyūdō
action filter_type
action union
action find
entity kyūdō
relation country
action find
entity César Valdez Valenzuela
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['kyūdō', 'country', {'concept': 'designation for an administrative territorial entity'}], ['César Valdez Valenzuela', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:kyūdō property:country ?h } UNION { resource:César_Valdez_Valenzuela property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q96
SYSTEM
Japan, Mexico
Q17 Q96
OR((Q273125,P17,c(Q15617994)), (Q5202641,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q273125
relation P17
action find
entity Q5202641
relation P27
type Q15617994
[ANSWERS] are kyūdō present in or are the native countriesof César Valdez Valenzuela
{'OR': [['Q273125', 'P17', {'concept': 'Q15617994'}], ['Q5202641', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q273125 property:P17 ?h } UNION { resource:Q5202641 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Japan Mexico
Japan and Mexico are kyūdō present in or are the native countriesof César Valdez Valenzuela
Japan Mexico
action filter_type
action union
action find
entity kyūdō
relation country
action find
entity César Valdez Valenzuela
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['kyūdō', 'country', {'concept': 'designation for an administrative territorial entity'}], ['César Valdez Valenzuela', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:kyūdō property:country ?h } UNION { resource:César_Valdez_Valenzuela property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q2342494
USER
Which administrative territories are the origin of greater number of works of art and collectables than that administrative territory ?
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
designation for an administrative territorial entity work of art collectable
Comparative|More/Less|Mult. entity type|Clarification
Q96
SYSTEM
Did you mean Mexico ?
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
Did you mean Mexico ?
Mexico
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q142
SYSTEM
Italy, United States of America, France
Q668 Q414 Q142 Q145 Q884 Q30 Q34 Q38 Q17 Q29
(c(Q838948)|c(Q2342494),P495,c(Q15617994))
[ANSWERS] are the origin of greater number of works of art and collectables than that administrative territory
[[{'concept': 'Q838948'}, {'concept': 'Q2342494'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 }
India Argentina France United Kingdom South Korea United States of America Sweden Italy Japan Spain
Italy, United States of America and France are the origin of greater number of works of art and collectables than that administrative territory
Italy United States of America France
[[{'concept': 'work of art'}, {'concept': 'collectable'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P276
Q3839081
USER
What is situated at Italy ?
(c(Q3839081),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q3839081
[{'concept': 'Q3839081'}, 'P276', 'Q38']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q38 . ?m rdf:type ontology:Q3839081 }
Italy
action filter_type
action find_reverse
entity Italy
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Italy']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Italy . ?m rdf:type ontology:disaster }
[]
disaster
Q3709251
SYSTEM
The Vajont dam disaster
Q3709251
(c(Q3839081),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q3839081
[ANSWER] is situated at Italy
[{'concept': 'Q3839081'}, 'P276', 'Q38']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q38 . ?m rdf:type ontology:Q3839081 }
The Vajont dam disaster
The Vajont dam disaster is situated at Italy
The Vajont dam disaster
action filter_type
action find_reverse
entity Italy
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Italy']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Italy . ?m rdf:type ontology:disaster }
[]