Simple Question (Direct)
Simple Question
Q780434
P495
Q1048835
USER
Where did Hearts in Atlantis originate ?
(Q780434,P495,c(Q1048835))
action filter_type
action find
entity Q780434
relation P495
type Q1048835
['Q780434', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q780434 property:P495 ?k . ?k rdf:type ontology:Q1048835 }
Hearts in Atlantis
action filter_type
action find
entity Hearts in Atlantis
relation country of origin
type political territorial entity
['Hearts in Atlantis', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hearts_in_Atlantis property:country_of_origin ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q780434,P495,c(Q1048835))
action filter_type
action find
entity Q780434
relation P495
type Q1048835
Hearts in Atlantis originated from [ANSWER]
['Q780434', 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q780434 property:P495 ?k . ?k rdf:type ontology:Q1048835 }
Australia
Hearts in Atlantis originated from Australia
Australia
action filter_type
action find
entity Hearts in Atlantis
relation country of origin
type political territorial entity
['Hearts in Atlantis', 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hearts_in_Atlantis property:country_of_origin ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q780434
P86
Q502895
USER
Who composed Hearts in Atlantis ?
(Q780434,P86,c(Q502895))
action filter_type
action find
entity Q780434
relation P86
type Q502895
['Q780434', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q780434 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Hearts in Atlantis
action filter_type
action find
entity Hearts in Atlantis
relation composer
type common name
['Hearts in Atlantis', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hearts_in_Atlantis property:composer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q1336515
SYSTEM
Mychael Danna
Q1336515
(Q780434,P86,c(Q502895))
action filter_type
action find
entity Q780434
relation P86
type Q502895
[ANSWER] composed Hearts in Atlantis
['Q780434', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q780434 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Mychael Danna
Mychael Danna composed Hearts in Atlantis
Mychael Danna
action filter_type
action find
entity Hearts in Atlantis
relation composer
type common name
['Hearts in Atlantis', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hearts_in_Atlantis property:composer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1336515
P21
Q290
USER
Which sex does that person possess ?
(Q1336515,P21,c(Q290))
action filter_type
action find
entity Q1336515
relation P21
type Q290
['Q1336515', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1336515 property:P21 ?u . ?u rdf:type ontology:Q290 }
Mychael Danna
action filter_type
action find
entity Mychael Danna
relation gender
type sex
['Mychael Danna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Mychael_Danna property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1336515,P21,c(Q290))
action filter_type
action find
entity Q1336515
relation P21
type Q290
That person possesses a [ANSWER]
['Q1336515', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1336515 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Mychael Danna
relation gender
type sex
['Mychael Danna', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Mychael_Danna property:gender ?u . ?u rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 2958 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2958
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?t = 2958 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2958
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?t = 2958 ) }
[]
musical instrument common name
Q8338 Q1444 Q128309
SYSTEM
trumpet, organ, drum kit
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2958
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?t = 2958 ) }
trumpet organ drum kit
Which musical instruments can around 2958 people perform with
trumpet organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2958
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?t ) WHERE { ?o property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?t = 2958 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1336515
P19
Q515
USER
Which city was Mychael Danna born in ?
(Q1336515,P19,c(Q515))
action filter_type
action find
entity Q1336515
relation P19
type Q515
['Q1336515', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q1336515 property:P19 ?b . ?b rdf:type ontology:Q515 }
Mychael Danna
action filter_type
action find
entity Mychael Danna
relation place of birth
type city
['Mychael Danna', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Mychael_Danna property:place_of_birth ?b . ?b rdf:type ontology:city }
[]
city
Q2135
SYSTEM
Winnipeg
Q2135
(Q1336515,P19,c(Q515))
action filter_type
action find
entity Q1336515
relation P19
type Q515
Mychael Danna was born in [ANSWER]
['Q1336515', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q1336515 property:P19 ?b . ?b rdf:type ontology:Q515 }
Winnipeg
Mychael Danna was born in Winnipeg
Winnipeg
action filter_type
action find
entity Mychael Danna
relation place of birth
type city
['Mychael Danna', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Mychael_Danna property:place_of_birth ?b . ?b rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8267610
Q515
USER
And also tell me about Pan Yang?
(Q8267610,P19,c(Q515))
action filter_type
action find
entity Q8267610
relation P19
type Q515
['Q8267610', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q8267610 property:P19 ?l . ?l rdf:type ontology:Q515 }
Pan Yang
action filter_type
action find
entity Pan Yang
relation place of birth
type city
['Pan Yang', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Pan_Yang property:place_of_birth ?l . ?l rdf:type ontology:city }
[]
city
Q217646
SYSTEM
Mudanjiang
Q217646
(Q8267610,P19,c(Q515))
action filter_type
action find
entity Q8267610
relation P19
type Q515
[ANSWER]
['Q8267610', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q8267610 property:P19 ?l . ?l rdf:type ontology:Q515 }
Mudanjiang
Mudanjiang
action filter_type
action find
entity Pan Yang
relation place of birth
type city
['Pan Yang', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Pan_Yang property:place_of_birth ?l . ?l rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q217646 Q148 Q641273
P17
Q15617994
USER
Is that city located in People's Republic of China and Gustow ?
(Q217646,P17,Q148) (Q217646,P17,Q641273)
action is_in
entity Q217646
action intersection
action find_reverse
entity Q148
relation P17
action find_reverse
entity Q641273
relation P17
['Q217646', 'P17', 'Q148'] ['Q217646', 'P17', 'Q641273']
ASK WHERE { resource:Q217646 property:P17 resource:Q148 . resource:Q217646 property:P17 resource:Q641273 }
Mudanjiang People's Republic of China Gustow
action is_in
entity Mudanjiang
action intersection
action find_reverse
entity People's Republic of China
relation country
action find_reverse
entity Gustow
relation country
['Mudanjiang', 'country', "People's Republic of China"] ['Mudanjiang', 'country', 'Gustow']
ASK WHERE { resource:Mudanjiang property:country resource:People's_Republic_of_China . resource:Mudanjiang property:country resource:Gustow }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q217646,P17,Q148) (Q217646,P17,Q641273)
action is_in
entity Q217646
action intersection
action find_reverse
entity Q148
relation P17
action find_reverse
entity Q641273
relation P17
[ANSWER]
['Q217646', 'P17', 'Q148'] ['Q217646', 'P17', 'Q641273']
ASK WHERE { resource:Q217646 property:P17 resource:Q148 . resource:Q217646 property:P17 resource:Q641273 }
YES and NO respectively
action is_in
entity Mudanjiang
action intersection
action find_reverse
entity People's Republic of China
relation country
action find_reverse
entity Gustow
relation country
['Mudanjiang', 'country', "People's Republic of China"] ['Mudanjiang', 'country', 'Gustow']
ASK WHERE { resource:Mudanjiang property:country resource:People's_Republic_of_China . resource:Mudanjiang property:country resource:Gustow }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1336515 Q3223
P27
Q1048835
USER
Is Mychael Danna an inhabitant of Bolho ?
(Q1336515,P27,Q3223)
action is_in
entity Q3223
action find
entity Q1336515
relation P27
['Q1336515', 'P27', 'Q3223']
ASK WHERE { resource:Q1336515 property:P27 resource:Q3223 }
Mychael Danna Bolho
action is_in
entity Bolho
action find
entity Mychael Danna
relation country of citizenship
['Mychael Danna', 'country of citizenship', 'Bolho']
ASK WHERE { resource:Mychael_Danna property:country_of_citizenship resource:Bolho }
[]
political territorial entity
SYSTEM
NO
(Q1336515,P27,Q3223)
action is_in
entity Q3223
action find
entity Q1336515
relation P27
[ANSWER]
['Q1336515', 'P27', 'Q3223']
ASK WHERE { resource:Q1336515 property:P27 resource:Q3223 }
No
action is_in
entity Bolho
action find
entity Mychael Danna
relation country of citizenship
['Mychael Danna', 'country of citizenship', 'Bolho']
ASK WHERE { resource:Mychael_Danna property:country_of_citizenship resource:Bolho }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P206
Q355304 Q337567 Q515
USER
Which cities are situated in the neighbourhood of max number of watercourses and still waterss ?
(c(Q515),P206,c(Q355304)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?k WHERE { { ?k property:P206 ?l . ?k rdf:type ontology:Q515 . ?l rdf:type ontology:Q355304 } UNION { ?k property:P206 ?l . ?l rdf:type ontology:Q337567 . ?k rdf:type ontology:Q515 } } GROUP BY ?k } . FILTER ( ?b = ?d ) }
action argmax
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:watercourse ) ( ontology:still_waters ) } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?k WHERE { { ?k property:located_next_to_body_of_water ?l . ?k rdf:type ontology:city . ?l rdf:type ontology:watercourse } UNION { ?k property:located_next_to_body_of_water ?l . ?l rdf:type ontology:still_waters . ?k rdf:type ontology:city } } GROUP BY ?k } . FILTER ( ?b = ?d ) }
[]
watercourse still waters city
Q1711
SYSTEM
Potsdam
Q1711
(c(Q515),P206,c(Q355304)|c(Q337567))
action argmax
action union
action find_tuple_counts
relation P206
type Q515
type Q355304
action find_tuple_counts
relation P206
type Q515
type Q337567
[ANSWER] is situated in the neighbourhood of max number of watercourses and still waterss
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?k WHERE { { ?k property:P206 ?l . ?k rdf:type ontology:Q515 . ?l rdf:type ontology:Q355304 } UNION { ?k property:P206 ?l . ?l rdf:type ontology:Q337567 . ?k rdf:type ontology:Q515 } } GROUP BY ?k } . FILTER ( ?b = ?d ) }
Potsdam
Potsdam is situated in the neighbourhood of max number of watercourses and still waterss
Potsdam
action argmax
action union
action find_tuple_counts
relation located next to body of water
type city
type watercourse
action find_tuple_counts
relation located next to body of water
type city
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'still waters'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?d ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?s WHERE { ?y rdf:type ?f . VALUES ( ?f ) { ( ontology:watercourse ) ( ontology:still_waters ) } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) ?k WHERE { { ?k property:located_next_to_body_of_water ?l . ?k rdf:type ontology:city . ?l rdf:type ontology:watercourse } UNION { ?k property:located_next_to_body_of_water ?l . ?l rdf:type ontology:still_waters . ?k rdf:type ontology:city } } GROUP BY ?k } . FILTER ( ?b = ?d ) }
[]