Simple Question (Direct)
Simple Question
Q11902374
P21
Q290
USER
Which sex does Nicholas Cascone belong to ?
(Q11902374,P21,c(Q290))
action filter_type
action find
entity Q11902374
relation P21
type Q290
['Q11902374', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q11902374 property:P21 ?i }
Nicholas Cascone
action filter_type
action find
entity Nicholas Cascone
relation gender
type sex
['Nicholas Cascone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Nicholas_Cascone property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11902374,P21,c(Q290))
action filter_type
action find
entity Q11902374
relation P21
type Q290
Nicholas Cascone belongs to [ANSWER]
['Q11902374', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q11902374 property:P21 ?i }
male
Nicholas Cascone belongs to male
male
action filter_type
action find
entity Nicholas Cascone
relation gender
type sex
['Nicholas Cascone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Nicholas_Cascone property:gender ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11902374
P19
Q2983893
USER
Which urban district was Nicholas Cascone born in ?
(Q11902374,P19,c(Q2983893))
action filter_type
action find
entity Q11902374
relation P19
type Q2983893
['Q11902374', 'P19', {'concept': 'Q2983893'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2983893 . resource:Q11902374 property:P19 ?x }
Nicholas Cascone
action filter_type
action find
entity Nicholas Cascone
relation place of birth
type urban district
['Nicholas Cascone', 'place of birth', {'concept': 'urban district'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:urban_district . resource:Nicholas_Cascone property:place_of_birth ?x }
[]
urban district
Q18424
SYSTEM
Queens
Q18424
(Q11902374,P19,c(Q2983893))
action filter_type
action find
entity Q11902374
relation P19
type Q2983893
Nicholas Cascone was born in [ANSWER]
['Q11902374', 'P19', {'concept': 'Q2983893'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2983893 . resource:Q11902374 property:P19 ?x }
Queens
Nicholas Cascone was born in Queens
Queens
action filter_type
action find
entity Nicholas Cascone
relation place of birth
type urban district
['Nicholas Cascone', 'place of birth', {'concept': 'urban district'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:urban_district . resource:Nicholas_Cascone property:place_of_birth ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18424
P138
Q502895
USER
Which person is the etymology of that urban district ?
(Q18424,P138,c(Q502895))
action filter_type
action find
entity Q18424
relation P138
type Q502895
['Q18424', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q18424 property:P138 ?k . ?k rdf:type ontology:Q502895 }
Queens
action filter_type
action find
entity Queens
relation named after
type common name
['Queens', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Queens property:named_after ?k . ?k rdf:type ontology:common_name }
[]
common name
Q176253
SYSTEM
Catherine of Braganza
Q176253
(Q18424,P138,c(Q502895))
action filter_type
action find
entity Q18424
relation P138
type Q502895
[ANSWER] is the etymology of that urban district
['Q18424', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q18424 property:P138 ?k . ?k rdf:type ontology:Q502895 }
Catherine of Braganza
Catherine of Braganza is the etymology of that urban district
Catherine of Braganza
action filter_type
action find
entity Queens
relation named after
type common name
['Queens', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Queens property:named_after ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18424
P206
Q15324
USER
Which bodies of water are situated in the neighbourhood of Queens ?
(Q18424,P206,c(Q15324))
action filter_type
action find
entity Q18424
relation P206
type Q15324
['Q18424', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { resource:Q18424 property:P206 ?v . ?v rdf:type ontology:Q15324 }
Queens
action filter_type
action find
entity Queens
relation located next to body of water
type body of water
['Queens', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { resource:Queens property:located_next_to_body_of_water ?v . ?v rdf:type ontology:body_of_water }
[]
body of water
Q1679819 Q867460
SYSTEM
Jamaica Bay, Long Island Sound
Q1679819 Q867460
(Q18424,P206,c(Q15324))
action filter_type
action find
entity Q18424
relation P206
type Q15324
[ANSWERS] are situated in the neighbourhood of Queens
['Q18424', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?v WHERE { resource:Q18424 property:P206 ?v . ?v rdf:type ontology:Q15324 }
Jamaica Bay Long Island Sound
Jamaica Bay and Long Island Sound are situated in the neighbourhood of Queens
Jamaica Bay Long Island Sound
action filter_type
action find
entity Queens
relation located next to body of water
type body of water
['Queens', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?v WHERE { resource:Queens property:located_next_to_body_of_water ?v . ?v rdf:type ontology:body_of_water }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q18424
Q1267889
USER
And which waterway?
(Q18424,P206,c(Q1267889))
action filter_type
action find
entity Q18424
relation P206
type Q1267889
['Q18424', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?k WHERE { resource:Q18424 property:P206 ?k . ?k rdf:type ontology:Q1267889 }
Queens
action filter_type
action find
entity Queens
relation located next to body of water
type waterway
['Queens', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?k WHERE { resource:Queens property:located_next_to_body_of_water ?k . ?k rdf:type ontology:waterway }
[]
waterway
Q212862
SYSTEM
East River
Q212862
(Q18424,P206,c(Q1267889))
action filter_type
action find
entity Q18424
relation P206
type Q1267889
[ANSWER]
['Q18424', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?k WHERE { resource:Q18424 property:P206 ?k . ?k rdf:type ontology:Q1267889 }
East River
East River
action filter_type
action find
entity Queens
relation located next to body of water
type waterway
['Queens', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?k WHERE { resource:Queens property:located_next_to_body_of_water ?k . ?k rdf:type ontology:waterway }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P403
Q15324
USER
How many bodies of water do that waterway flow into ?
(Q212862,P403,c(Q15324))
action count
action filter_type
action find
entity Q212862
relation P403
type Q15324
['Q212862', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:Q212862 property:P403 ?c . ?c rdf:type ontology:Q15324 }
action count
action filter_type
action find
entity East River
relation mouth of the watercourse
type body of water
['East River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:East_River property:mouth_of_the_watercourse ?c . ?c rdf:type ontology:body_of_water }
[]
body of water
SYSTEM
1
Q1064776
(Q212862,P403,c(Q15324))
action count
action filter_type
action find
entity Q212862
relation P403
type Q15324
[ANSWER]
['Q212862', 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:Q212862 property:P403 ?c . ?c rdf:type ontology:Q15324 }
Upper New York Bay
1
action count
action filter_type
action find
entity East River
relation mouth of the watercourse
type body of water
['East River', 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { resource:East_River property:mouth_of_the_watercourse ?c . ?c rdf:type ontology:body_of_water }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q15324 Q1048835 Q271669
USER
Which bodies of water are approximately 74 political territories and landforms located on ?
(c(Q1048835)|c(Q271669),P706,c(Q15324))
action approx
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q1048835
action find_reverse_tuple_counts
relation P706
type Q15324
type Q271669
value 74
[[{'concept': 'Q1048835'}, {'concept': 'Q271669'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w rdf:type ontology:Q15324 . ?g rdf:type ontology:Q271669 . ?g property:P706 ?w } UNION { ?g property:P706 ?w . ?w rdf:type ontology:Q15324 . ?g rdf:type ontology:Q1048835 } } GROUP BY ?w } . FILTER ( ?a = 74 ) }
action approx
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landform
value 74
[[{'concept': 'political territorial entity'}, {'concept': 'landform'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w rdf:type ontology:body_of_water . ?g rdf:type ontology:landform . ?g property:located_on_terrain_feature ?w } UNION { ?g property:located_on_terrain_feature ?w . ?w rdf:type ontology:body_of_water . ?g rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . FILTER ( ?a = 74 ) }
[]
body of water political territorial entity landform
Q1693 Q231312 Q13924
SYSTEM
North Sea, Seto Inland Sea, Adriatic Sea
Q13924 Q45341 Q1693 Q231312
(c(Q1048835)|c(Q271669),P706,c(Q15324))
action approx
action union
action find_reverse_tuple_counts
relation P706
type Q15324
type Q1048835
action find_reverse_tuple_counts
relation P706
type Q15324
type Q271669
value 74
[ANSWERS] are approximately 74 political territories and landforms located on
[[{'concept': 'Q1048835'}, {'concept': 'Q271669'}], 'P706', {'concept': 'Q15324'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w rdf:type ontology:Q15324 . ?g rdf:type ontology:Q271669 . ?g property:P706 ?w } UNION { ?g property:P706 ?w . ?w rdf:type ontology:Q15324 . ?g rdf:type ontology:Q1048835 } } GROUP BY ?w } . FILTER ( ?a = 74 ) }
Adriatic Sea East China Sea North Sea Seto Inland Sea
North Sea, Seto Inland Sea and Adriatic Sea are approximately 74 political territories and landforms located on
North Sea Seto Inland Sea Adriatic Sea
action approx
action union
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type political territorial entity
action find_reverse_tuple_counts
relation located on terrain feature
type body of water
type landform
value 74
[[{'concept': 'political territorial entity'}, {'concept': 'landform'}], 'located on terrain feature', {'concept': 'body of water'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?g ) AS ?a ) WHERE { { ?w rdf:type ontology:body_of_water . ?g rdf:type ontology:landform . ?g property:located_on_terrain_feature ?w } UNION { ?g property:located_on_terrain_feature ?w . ?w rdf:type ontology:body_of_water . ?g rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . FILTER ( ?a = 74 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1400853
P101
Q502895
USER
Which people have his/her area as portrait painting ?
(c(Q502895),P101,Q1400853)
action filter_type
action find_reverse
entity Q1400853
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1400853']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q1400853 . ?h rdf:type ontology:Q502895 }
portrait painting
action filter_type
action find_reverse
entity portrait painting
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'portrait painting']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:portrait_painting . ?h rdf:type ontology:common_name }
[]
common name
Q167654 Q20962177 Q21130436
SYSTEM
Frans Hals, André Broedelet, Patricia Spoelder
Q20962177 Q474624 Q167654 Q18575081 Q21130436 Q316016 Q18560543
(c(Q502895),P101,Q1400853)
action filter_type
action find_reverse
entity Q1400853
relation P101
type Q502895
[ANSWERS] have his/her area as portrait painting
[{'concept': 'Q502895'}, 'P101', 'Q1400853']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q1400853 . ?h rdf:type ontology:Q502895 }
André Broedelet Wybrand Hendricks Frans Hals Ragnhild Thrane Patricia Spoelder John Singleton Copley Adèle Romany
Frans Hals, André Broedelet and Patricia Spoelder have his/her area as portrait painting
Frans Hals André Broedelet Patricia Spoelder
action filter_type
action find_reverse
entity portrait painting
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'portrait painting']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:portrait_painting . ?h rdf:type ontology:common_name }
[]