Simple Question (Direct)
Simple Question
Q462912
P734
Q82799
USER
Which name is associated with Samuel Jones ?
(Q462912,P734,c(Q82799))
action filter_type
action find
entity Q462912
relation P734
type Q82799
['Q462912', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q462912 property:P734 ?u }
Samuel Jones
action filter_type
action find
entity Samuel Jones
relation family name
type name
['Samuel Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Samuel_Jones property:family_name ?u }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q462912,P734,c(Q82799))
action filter_type
action find
entity Q462912
relation P734
type Q82799
So [ANSWER] is associated with Samuel [ANSWER]
['Q462912', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q82799 . resource:Q462912 property:P734 ?u }
Jones
So Jones is associated with Samuel Jones
Jones
action filter_type
action find
entity Samuel Jones
relation family name
type name
['Samuel Jones', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:name . resource:Samuel_Jones property:family_name ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q462912
P2416
Q31629
USER
Which type of sport was Samuel Jones a contender for ?
(Q462912,P2416,c(Q31629))
action filter_type
action find
entity Q462912
relation P2416
type Q31629
['Q462912', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q462912 property:P2416 ?n . ?n rdf:type ontology:Q31629 }
Samuel Jones
action filter_type
action find
entity Samuel Jones
relation sports discipline competed in
type type of sport
['Samuel Jones', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:Samuel_Jones property:sports_discipline_competed_in ?n . ?n rdf:type ontology:type_of_sport }
[]
type of sport
Q165704
SYSTEM
high jump
Q165704
(Q462912,P2416,c(Q31629))
action filter_type
action find
entity Q462912
relation P2416
type Q31629
The [ANSWER] was Samuel Jones a contender for
['Q462912', 'P2416', {'concept': 'Q31629'}]
SELECT DISTINCT ?n WHERE { resource:Q462912 property:P2416 ?n . ?n rdf:type ontology:Q31629 }
high jump
The high jump was Samuel Jones a contender for
high jump
action filter_type
action find
entity Samuel Jones
relation sports discipline competed in
type type of sport
['Samuel Jones', 'sports discipline competed in', {'concept': 'type of sport'}]
SELECT DISTINCT ?n WHERE { resource:Samuel_Jones property:sports_discipline_competed_in ?n . ?n rdf:type ontology:type_of_sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q42426 Q462912
P47 P27
Q15617994
USER
Which administrative territories do Samuel Jones belong to or are bordered by Rosate ?
OR((Q462912,P27,c(Q15617994)), (Q42426,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q462912
relation P27
action find
entity Q42426
relation P47
type Q15617994
{'OR': [['Q462912', 'P27', {'concept': 'Q15617994'}], ['Q42426', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q462912 property:P27 ?t } UNION { resource:Q42426 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Rosate Samuel Jones
action filter_type
action union
action find
entity Samuel Jones
relation country of citizenship
action find
entity Rosate
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Samuel Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rosate', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Samuel_Jones property:country_of_citizenship ?t } UNION { resource:Rosate property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42435 Q42413 Q42988 Q42905 Q42169 Q30 Q42241 Q42494
SYSTEM
Calvignasco, Noviglio, Vernate, Bubbiano, Gaggiano, United States of America, Morimondo, Gudo Visconti
Q42435 Q42413 Q42988 Q42905 Q42169 Q30 Q42241 Q42494
OR((Q462912,P27,c(Q15617994)), (Q42426,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q462912
relation P27
action find
entity Q42426
relation P47
type Q15617994
Samuel Jones belong to the [ANSWERS]
{'OR': [['Q462912', 'P27', {'concept': 'Q15617994'}], ['Q42426', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q462912 property:P27 ?t } UNION { resource:Q42426 property:P47 ?t } } . ?t rdf:type ontology:Q15617994 }
Calvignasco Noviglio Vernate Bubbiano Gaggiano United States of America Morimondo Gudo Visconti
Samuel Jones belong to the Calvignasco, Noviglio, Vernate, Bubbiano, Gaggiano, United States of America, Morimondo and Gudo Visconti
Calvignasco Noviglio Vernate Bubbiano Gaggiano United States of America Morimondo Gudo Visconti
action filter_type
action union
action find
entity Samuel Jones
relation country of citizenship
action find
entity Rosate
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Samuel Jones', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rosate', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Samuel_Jones property:country_of_citizenship ?t } UNION { resource:Rosate property:shares_border_with ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q16
P17
Q852446
USER
How many US administrative territories are present in United States of America and Canada ?
(c(Q852446),P17,Q30) (c(Q852446),P17,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P17
type Q852446
action filter_type
action find_reverse
entity Q16
relation P17
type Q852446
[{'concept': 'Q852446'}, 'P17', 'Q30'] [{'concept': 'Q852446'}, 'P17', 'Q16']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P17 resource:Q16 . ?y rdf:type ontology:Q852446 . ?y property:P17 resource:Q30 . ?y rdf:type ontology:Q852446 }
United States of America Canada
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country
type administrative territorial entity of the United States
action filter_type
action find_reverse
entity Canada
relation country
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'country', 'United States of America'] [{'concept': 'administrative territorial entity of the United States'}, 'country', 'Canada']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:country resource:Canada . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?y property:country resource:United_States_of_America . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
SYSTEM
2
Q5252869 Q5786261
(c(Q852446),P17,Q30) (c(Q852446),P17,Q16)
action count
action intersection
action filter_type
action find_reverse
entity Q30
relation P17
type Q852446
action filter_type
action find_reverse
entity Q16
relation P17
type Q852446
[ANSWER]
[{'concept': 'Q852446'}, 'P17', 'Q30'] [{'concept': 'Q852446'}, 'P17', 'Q16']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:P17 resource:Q16 . ?y rdf:type ontology:Q852446 . ?y property:P17 resource:Q30 . ?y rdf:type ontology:Q852446 }
Del Bonita, Montana Maple Beach, Washington
2
action count
action intersection
action filter_type
action find_reverse
entity United States of America
relation country
type administrative territorial entity of the United States
action filter_type
action find_reverse
entity Canada
relation country
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'country', 'United States of America'] [{'concept': 'administrative territorial entity of the United States'}, 'country', 'Canada']
SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { ?y property:country resource:Canada . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?y property:country resource:United_States_of_America . ?y rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P30
Q2221906
USER
Which geographic locations are that administrative territory located in ?
action filter_type
action find
entity Q30
relation P30
type Q2221906
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2221906 . resource:Q30 property:P30 ?a }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:geographic_location . resource:United_States_of_America property:continent ?a }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
action filter_type
action find
entity Q30
relation P30
type Q2221906
That administrative territory are located in [ANSWERS]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q2221906 . resource:Q30 property:P30 ?a }
North America Oceania
That administrative territory are located in North America and Oceania
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:geographic_location . resource:United_States_of_America property:continent ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49
P138
Q12280
USER
Which bridge comes from North America ?
(c(Q12280),P138,Q49)
action filter_type
action find_reverse
entity Q49
relation P138
type Q12280
[{'concept': 'Q12280'}, 'P138', 'Q49']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q49 . ?j rdf:type ontology:Q12280 }
North America
action filter_type
action find_reverse
entity North America
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'North America']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:North_America . ?j rdf:type ontology:bridge }
[]
bridge
Q216061
SYSTEM
Bridge of the Americas
Q216061
(c(Q12280),P138,Q49)
action filter_type
action find_reverse
entity Q49
relation P138
type Q12280
[ANSWER] comes from North America
[{'concept': 'Q12280'}, 'P138', 'Q49']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q49 . ?j rdf:type ontology:Q12280 }
Bridge of the Americas
Bridge of the Americas comes from North America
Bridge of the Americas
action filter_type
action find_reverse
entity North America
relation named after
type bridge
[{'concept': 'bridge'}, 'named after', 'North America']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:North_America . ?j rdf:type ontology:bridge }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49
P376
Q16889133
USER
Which class is known to be the location of that geographic location ?
(Q216061,P376,c(Q16889133))
action filter_type
action find
entity Q49
relation P376
type Q16889133
['Q216061', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q16889133 . resource:Q49 property:P376 ?t }
North America
action filter_type
action find
entity North America
relation located on astronomical body
type class
['Bridge of the Americas', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:class . resource:North_America property:located_on_astronomical_body ?t }
[]
class
Q2
SYSTEM
Earth
Q2
(Q216061,P376,c(Q16889133))
action filter_type
action find
entity Q49
relation P376
type Q16889133
[ANSWER] is known to be the location of that geographic location
['Q216061', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q16889133 . resource:Q49 property:P376 ?t }
Earth
Earth is known to be the location of that geographic location
Earth
action filter_type
action find
entity North America
relation located on astronomical body
type class
['Bridge of the Americas', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:class . resource:North_America property:located_on_astronomical_body ?t }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q82794 Q355304 Q2221906
USER
How many geographic locations are located in around 1 geographic regions or watercourses ?
(c(Q2221906),P706,c(Q82794)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q82794
action find_tuple_counts
relation P706
type Q2221906
type Q355304
value 1
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?q ) WHERE { { ?c property:P706 ?y . ?c rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q82794 } UNION { ?c property:P706 ?y . ?c rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q355304 } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic region
action find_tuple_counts
relation located on terrain feature
type geographic location
type watercourse
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?q ) WHERE { { ?c property:located_on_terrain_feature ?y . ?c rdf:type ontology:geographic_location . ?y rdf:type ontology:geographic_region } UNION { ?c property:located_on_terrain_feature ?y . ?c rdf:type ontology:geographic_location . ?y rdf:type ontology:watercourse } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
geographic region watercourse geographic location
SYSTEM
3
Q46 Q81483 Q22673001
(c(Q2221906),P706,c(Q82794)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q2221906
type Q82794
action find_tuple_counts
relation P706
type Q2221906
type Q355304
value 1
[ANSWER]
[{'concept': 'Q2221906'}, 'P706', [{'concept': 'Q82794'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?q ) WHERE { { ?c property:P706 ?y . ?c rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q82794 } UNION { ?c property:P706 ?y . ?c rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q355304 } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
Europe The Levant Fonte River Dam
3
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type geographic location
type geographic region
action find_tuple_counts
relation located on terrain feature
type geographic location
type watercourse
value 1
[{'concept': 'geographic location'}, 'located on terrain feature', [{'concept': 'geographic region'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?y ) AS ?q ) WHERE { { ?c property:located_on_terrain_feature ?y . ?c rdf:type ontology:geographic_location . ?y rdf:type ontology:geographic_region } UNION { ?c property:located_on_terrain_feature ?y . ?c rdf:type ontology:geographic_location . ?y rdf:type ontology:watercourse } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948418
P1533
Q82799
USER
Which name is indistinguishable from Leonard ?
(Q948418,P1533,c(Q82799))
action filter_type
action find
entity Q948418
relation P1533
type Q82799
['Q948418', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q948418 property:P1533 ?w . ?w rdf:type ontology:Q82799 }
Leonard
action filter_type
action find
entity Leonard
relation family name identical to this first name
type name
['Leonard', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Leonard property:family_name_identical_to_this_first_name ?w . ?w rdf:type ontology:name }
[]
name
Q18228388
SYSTEM
Leonard
Q18228388
(Q948418,P1533,c(Q82799))
action filter_type
action find
entity Q948418
relation P1533
type Q82799
[ANSWER] is indistinguishable from [ANSWER]
['Q948418', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q948418 property:P1533 ?w . ?w rdf:type ontology:Q82799 }
Leonard
Leonard is indistinguishable from Leonard
Leonard
action filter_type
action find
entity Leonard
relation family name identical to this first name
type name
['Leonard', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Leonard property:family_name_identical_to_this_first_name ?w . ?w rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18201520
Q82799
USER
And also tell me about Sofia?
(Q18201520,P1533,c(Q82799))
action filter_type
action find
entity Q18201520
relation P1533
type Q82799
['Q18201520', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q18201520 property:P1533 ?n }
Sofia
action filter_type
action find
entity Sofia
relation family name identical to this first name
type name
['Sofia', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Sofia property:family_name_identical_to_this_first_name ?n }
[]
name
Q27042746
SYSTEM
Sofia
Q27042746
(Q18201520,P1533,c(Q82799))
action filter_type
action find
entity Q18201520
relation P1533
type Q82799
[ANSWER]
['Q18201520', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q82799 . resource:Q18201520 property:P1533 ?n }
Sofia
Sofia
action filter_type
action find
entity Sofia
relation family name identical to this first name
type name
['Sofia', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:name . resource:Sofia property:family_name_identical_to_this_first_name ?n }
[]