Simple Question (Direct)
Simple Question
Q4909368
P54
Q12973014
USER
Which sports teams are Bill Heath a member of ?
(Q4909368,P54,c(Q12973014))
action filter_type
action find
entity Q4909368
relation P54
type Q12973014
['Q4909368', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q4909368 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
Bill Heath
action filter_type
action find
entity Bill Heath
relation member of sports team
type sports team
['Bill Heath', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Bill_Heath property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
sports team
Q650855 Q246782 Q335169
SYSTEM
Detroit Tigers, Chicago Cubs, Chicago White Sox
Q246782 Q787652 Q848117 Q8021271 Q650855 Q335169
(Q4909368,P54,c(Q12973014))
action filter_type
action find
entity Q4909368
relation P54
type Q12973014
The [ANSWERS] are Bill Heath a member of
['Q4909368', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q4909368 property:P54 ?h . ?h rdf:type ontology:Q12973014 }
Chicago Cubs Toledo Mud Hens Houston Astros Williamsport Grays Detroit Tigers Chicago White Sox
The Detroit Tigers, Chicago Cubs and Chicago White Sox are Bill Heath a member of
Detroit Tigers Chicago Cubs Chicago White Sox
action filter_type
action find
entity Bill Heath
relation member of sports team
type sports team
['Bill Heath', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Bill_Heath property:member_of_sports_team ?h . ?h rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q650855
P466
Q811430
USER
Which constructions are occupied by Detroit Tigers ?
(c(Q811430),P466,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P466
type Q811430
[{'concept': 'Q811430'}, 'P466', 'Q650855']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q650855 . ?r rdf:type ontology:Q811430 }
Detroit Tigers
action filter_type
action find_reverse
entity Detroit Tigers
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Detroit Tigers']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:Detroit_Tigers . ?r rdf:type ontology:construction }
[]
construction
Q1750255 Q868482
SYSTEM
Tiger Stadium, Comerica Park
Q1750255 Q868482
(c(Q811430),P466,Q650855)
action filter_type
action find_reverse
entity Q650855
relation P466
type Q811430
[ANSWERS] are occupied by Detroit Tigers
[{'concept': 'Q811430'}, 'P466', 'Q650855']
SELECT DISTINCT ?r WHERE { ?r property:P466 resource:Q650855 . ?r rdf:type ontology:Q811430 }
Tiger Stadium Comerica Park
Tiger Stadium and Comerica Park are occupied by Detroit Tigers
Tiger Stadium Comerica Park
action filter_type
action find_reverse
entity Detroit Tigers
relation occupant
type construction
[{'concept': 'construction'}, 'occupant', 'Detroit Tigers']
SELECT DISTINCT ?r WHERE { ?r property:occupant resource:Detroit_Tigers . ?r rdf:type ontology:construction }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1750255
P1435
Q2065736
USER
Which cultural property represents the heritage status given to that construction ?
(Q1750255,P1435,c(Q2065736))
action filter_type
action find
entity Q1750255
relation P1435
type Q2065736
['Q1750255', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?j WHERE { resource:Q1750255 property:P1435 ?j . ?j rdf:type ontology:Q2065736 }
Tiger Stadium
action filter_type
action find
entity Tiger Stadium
relation heritage status
type cultural property
['Tiger Stadium', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?j WHERE { resource:Tiger_Stadium property:heritage_status ?j . ?j rdf:type ontology:cultural_property }
[]
cultural property
Clarification for simple ques.
Q868482
SYSTEM
Did you mean Comerica Park ?
Q1750255 Q868482
(Q1750255,P1435,c(Q2065736)) (Q868482,P1435,c(Q2065736))
[ANSWER]
['Q1750255', 'P1435', {'concept': 'Q2065736'}] ['Q868482', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?j WHERE { resource:Q1750255 property:P1435 ?j . ?j rdf:type ontology:Q2065736 }
Tiger Stadium Comerica Park
Did you mean Comerica Park ?
Comerica Park
['Tiger Stadium', 'heritage status', {'concept': 'cultural property'}] ['Comerica Park', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?j WHERE { resource:Tiger_Stadium property:heritage_status ?j . ?j rdf:type ontology:cultural_property }
[]
Simple Question (Coreferenced)
USER
No, I meant Tiger Stadium. Could you tell me the answer for that?
(Q1750255,P1435,c(Q2065736))
Q1750255
['Q1750255', 'P1435', {'concept': 'Q2065736'}]
['Tiger Stadium', 'heritage status', {'concept': 'cultural property'}]
[]
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q1750255,P1435,c(Q2065736))
action filter_type
action find
entity Q1750255
relation P1435
type Q2065736
An [ANSWER] represents the heritage status given to that construction
['Q1750255', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?j WHERE { resource:Q1750255 property:P1435 ?j . ?j rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
An place listed on the National Register of Historic Places represents the heritage status given to that construction
place listed on the National Register of Historic Places
action filter_type
action find
entity Tiger Stadium
relation heritage status
type cultural property
['Tiger Stadium', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?j WHERE { resource:Tiger_Stadium property:heritage_status ?j . ?j rdf:type ontology:cultural_property }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P1435
Q2065736 Q27686
USER
Which cultural properties do approximately the same number of hotels have as that cultural property ?
(c(Q27686),P1435,c(Q2065736))
action approx
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action count
action filter_type
action find
entity Q19558910
relation P1435
type Q2065736
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q19558910 property:P1435 ?v . ?v rdf:type ontology:Q2065736 } } . FILTER ( ?a = ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P1435 ?f . ?f rdf:type ontology:Q2065736 . ?u rdf:type ontology:Q27686 } GROUP BY ?f } }
action approx
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action count
action filter_type
action find
entity place listed on the National Register of Historic Places
relation heritage status
type cultural property
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:place_listed_on_the_National_Register_of_Historic_Places property:heritage_status ?v . ?v rdf:type ontology:cultural_property } } . FILTER ( ?a = ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:heritage_status ?f . ?f rdf:type ontology:cultural_property . ?u rdf:type ontology:hotel } GROUP BY ?f } }
[]
cultural property hotel
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(c(Q27686),P1435,c(Q2065736))
action approx
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q27686
action count
action filter_type
action find
entity Q19558910
relation P1435
type Q2065736
[ANSWER] approximately the same number of hotels have as that cultural property
[{'concept': 'Q27686'}, 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q19558910 property:P1435 ?v . ?v rdf:type ontology:Q2065736 } } . FILTER ( ?a = ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:P1435 ?f . ?f rdf:type ontology:Q2065736 . ?u rdf:type ontology:Q27686 } GROUP BY ?f } }
place listed on the National Register of Historic Places
Place listed on the National Register of Historic Places approximately the same number of hotels have as that cultural property
place listed on the National Register of Historic Places
action approx
action find_reverse_tuple_counts
relation heritage status
type cultural property
type hotel
action count
action filter_type
action find
entity place listed on the National Register of Historic Places
relation heritage status
type cultural property
[{'concept': 'hotel'}, 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:place_listed_on_the_National_Register_of_Historic_Places property:heritage_status ?v . ?v rdf:type ontology:cultural_property } } . FILTER ( ?a = ?c ) . { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?a ) WHERE { ?u property:heritage_status ?f . ?f rdf:type ontology:cultural_property . ?u rdf:type ontology:hotel } GROUP BY ?f } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19558910 Q30
P17
Q15617994
USER
Is place listed on the National Register of Historic Places present in United States of America ?
(Q19558910,P17,Q30)
action is_in
entity Q30
action find
entity Q19558910
relation P17
['Q19558910', 'P17', 'Q30']
ASK WHERE { resource:Q19558910 property:P17 resource:Q30 }
place listed on the National Register of Historic Places United States of America
action is_in
entity United States of America
action find
entity place listed on the National Register of Historic Places
relation country
['place listed on the National Register of Historic Places', 'country', 'United States of America']
ASK WHERE { resource:place_listed_on_the_National_Register_of_Historic_Places property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q19558910,P17,Q30)
action is_in
entity Q30
action find
entity Q19558910
relation P17
[ANSWER]
['Q19558910', 'P17', 'Q30']
ASK WHERE { resource:Q19558910 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity place listed on the National Register of Historic Places
relation country
['place listed on the National Register of Historic Places', 'country', 'United States of America']
ASK WHERE { resource:place_listed_on_the_National_Register_of_Historic_Places property:country resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q335169 Q30
P17
Q15617994
USER
Is that sports team located in United States of America ?
(Q335169,P17,Q30)
action is_in
entity Q30
action find
entity Q335169
relation P17
['Q335169', 'P17', 'Q30']
ASK WHERE { resource:Q335169 property:P17 resource:Q30 }
Chicago White Sox United States of America
action is_in
entity United States of America
action find
entity Chicago White Sox
relation country
['Chicago White Sox', 'country', 'United States of America']
ASK WHERE { resource:Chicago_White_Sox property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q335169,P17,Q30)
action is_in
entity Q30
action find
entity Q335169
relation P17
[ANSWER]
['Q335169', 'P17', 'Q30']
ASK WHERE { resource:Q335169 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Chicago White Sox
relation country
['Chicago White Sox', 'country', 'United States of America']
ASK WHERE { resource:Chicago_White_Sox property:country resource:United_States_of_America }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17484395
P180
Q811430 Q3305213 Q11060274
USER
How many constructions are depicted in greater number of paintings and prints than beacon ?
(c(Q3305213)|c(Q11060274),P180,c(Q811430))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q811430
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q17484395
relation P180
type Q3305213
type Q11060274
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:P180 ?h . ?y rdf:type ontology:Q11060274 . ?h rdf:type ontology:Q811430 } UNION { ?h rdf:type ontology:Q811430 . ?y rdf:type ontology:Q3305213 . ?y property:P180 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P180 resource:Q17484395 . { { ?v rdf:type ontology:Q3305213 } UNION { ?v rdf:type ontology:Q11060274 } } } } . FILTER ( ?z > ?w ) }
beacon
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type construction
type painting
action find_reverse_tuple_counts
relation depicts
type construction
type print
action count
action filter_multi_types
action find_reverse
entity beacon
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:depicts ?h . ?y rdf:type ontology:print . ?h rdf:type ontology:construction } UNION { ?h rdf:type ontology:construction . ?y rdf:type ontology:painting . ?y property:depicts ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:depicts resource:beacon . { { ?v rdf:type ontology:painting } UNION { ?v rdf:type ontology:print } } } } . FILTER ( ?z > ?w ) }
[]
construction painting print
SYSTEM
23
Q483453 Q22079390 Q55488 Q170477 Q12014132 Q277151 Q39715 Q12280 Q53060 Q12284 Q12493 Q16510093 Q12518 Q43483 Q814853 Q41176 Q3095365 Q40558 Q11001 Q174782 Q816265 Q623525 Q109607
(c(Q3305213)|c(Q11060274),P180,c(Q811430))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q811430
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q17484395
relation P180
type Q3305213
type Q11060274
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:P180 ?h . ?y rdf:type ontology:Q11060274 . ?h rdf:type ontology:Q811430 } UNION { ?h rdf:type ontology:Q811430 . ?y rdf:type ontology:Q3305213 . ?y property:P180 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P180 resource:Q17484395 . { { ?v rdf:type ontology:Q3305213 } UNION { ?v rdf:type ontology:Q11060274 } } } } . FILTER ( ?z > ?w ) }
fountain platform railway station chimney pedestal trellis lighthouse bridge gate canal dome passerelle de l'Estacade tower water well entrance stairs building railing forge Riva degli Schiavoni square belvedere rotunda ruins
23
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type construction
type painting
action find_reverse_tuple_counts
relation depicts
type construction
type print
action count
action filter_multi_types
action find_reverse
entity beacon
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?z ) WHERE { { ?y property:depicts ?h . ?y rdf:type ontology:print . ?h rdf:type ontology:construction } UNION { ?h rdf:type ontology:construction . ?y rdf:type ontology:painting . ?y property:depicts ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:depicts resource:beacon . { { ?v rdf:type ontology:painting } UNION { ?v rdf:type ontology:print } } } } . FILTER ( ?z > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3860285
P180
Q811430 Q3305213 Q11060274
USER
And also tell me about molo of the Doge's Palace?
(c(Q3305213)|c(Q11060274),P180,c(Q811430))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q811430
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q3860285
relation P180
type Q3305213
type Q11060274
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?a ) WHERE { { ?i rdf:type ontology:Q811430 . ?d rdf:type ontology:Q3305213 . ?d property:P180 ?i } UNION { ?d property:P180 ?i . ?d rdf:type ontology:Q11060274 . ?i rdf:type ontology:Q811430 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P180 resource:Q3860285 . { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?a > ?t ) }
molo of the Doge's Palace
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type construction
type painting
action find_reverse_tuple_counts
relation depicts
type construction
type print
action count
action filter_multi_types
action find_reverse
entity molo of the Doge's Palace
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?a ) WHERE { { ?i rdf:type ontology:construction . ?d rdf:type ontology:painting . ?d property:depicts ?i } UNION { ?d property:depicts ?i . ?d rdf:type ontology:print . ?i rdf:type ontology:construction } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:depicts resource:molo_of_the_Doge's_Palace . { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:painting ) ( ontology:print ) } } } } . FILTER ( ?a > ?t ) }
[]
construction painting print
SYSTEM
23
Q483453 Q22079390 Q55488 Q170477 Q12014132 Q277151 Q39715 Q12280 Q53060 Q12284 Q12493 Q16510093 Q12518 Q43483 Q814853 Q41176 Q3095365 Q40558 Q11001 Q174782 Q816265 Q623525 Q109607
(c(Q3305213)|c(Q11060274),P180,c(Q811430))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q811430
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q3860285
relation P180
type Q3305213
type Q11060274
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?a ) WHERE { { ?i rdf:type ontology:Q811430 . ?d rdf:type ontology:Q3305213 . ?d property:P180 ?i } UNION { ?d property:P180 ?i . ?d rdf:type ontology:Q11060274 . ?i rdf:type ontology:Q811430 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:P180 resource:Q3860285 . { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?a > ?t ) }
fountain platform railway station chimney pedestal trellis lighthouse bridge gate canal dome passerelle de l'Estacade tower water well entrance stairs building railing forge Riva degli Schiavoni square belvedere rotunda ruins
23
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type construction
type painting
action find_reverse_tuple_counts
relation depicts
type construction
type print
action count
action filter_multi_types
action find_reverse
entity molo of the Doge's Palace
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?a ) WHERE { { ?i rdf:type ontology:construction . ?d rdf:type ontology:painting . ?d property:depicts ?i } UNION { ?d property:depicts ?i . ?d rdf:type ontology:print . ?i rdf:type ontology:construction } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { ?m property:depicts resource:molo_of_the_Doge's_Palace . { ?m rdf:type ?f . VALUES ( ?f ) { ( ontology:painting ) ( ontology:print ) } } } } . FILTER ( ?a > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18674739
P366
Q811430 Q12280 Q41176
USER
How many constructions are considered as the main functionality of around the same number of bridges and buildings as event venue ?
(c(Q12280)|c(Q41176),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q12280
action find_reverse_tuple_counts
relation P366
type Q811430
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q18674739
relation P366
type Q12280
type Q41176
[[{'concept': 'Q12280'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P366 resource:Q18674739 . { VALUES ( ?j ) { ( ontology:Q12280 ) ( ontology:Q41176 ) } . ?s rdf:type ?j } } } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12280 ) ( ontology:Q41176 ) } } GROUP BY ?k } }
event venue
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type bridge
action find_reverse_tuple_counts
relation use
type construction
type building
action count
action filter_multi_types
action find_reverse
entity event venue
relation use
type bridge
type building
[[{'concept': 'bridge'}, {'concept': 'building'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:use resource:event_venue . { VALUES ( ?j ) { ( ontology:bridge ) ( ontology:building ) } . ?s rdf:type ?j } } } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:bridge ) ( ontology:building ) } } GROUP BY ?k } }
[]
construction bridge building
SYSTEM
3
Q11707 Q148319 Q18674739
(c(Q12280)|c(Q41176),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q12280
action find_reverse_tuple_counts
relation P366
type Q811430
type Q41176
action count
action filter_multi_types
action find_reverse
entity Q18674739
relation P366
type Q12280
type Q41176
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q41176'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:P366 resource:Q18674739 . { VALUES ( ?j ) { ( ontology:Q12280 ) ( ontology:Q41176 ) } . ?s rdf:type ?j } } } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12280 ) ( ontology:Q41176 ) } } GROUP BY ?k } }
restaurant planetarium event venue
3
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type bridge
action find_reverse_tuple_counts
relation use
type construction
type building
action count
action filter_multi_types
action find_reverse
entity event venue
relation use
type bridge
type building
[[{'concept': 'bridge'}, {'concept': 'building'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { ?s property:use resource:event_venue . { VALUES ( ?j ) { ( ontology:bridge ) ( ontology:building ) } . ?s rdf:type ?j } } } . FILTER ( ?q = ?f ) . { SELECT DISTINCT ?k ( COUNT ( ?g ) AS ?q ) WHERE { ?g rdf:type ?c . VALUES ( ?c ) { ( ontology:bridge ) ( ontology:building ) } } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P149
Q968159 Q811430
USER
Which art movements are min number of constructions an example of ?
(c(Q811430),P149,Q1122677)
action argmin
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
[{'concept': 'Q811430'}, 'P149', 'Q1122677']
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?r ) WHERE { ?c rdf:type ontology:Q968159 . ?v rdf:type ontology:Q811430 . ?v property:P149 ?c } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?k ) WHERE { ?z rdf:type ontology:Q968159 . ?u rdf:type ontology:Q811430 . ?u property:P149 ?z } GROUP BY ?z } } }
action argmin
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
[{'concept': 'construction'}, 'architectural style', 'Modernisme']
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?r ) WHERE { ?c rdf:type ontology:art_movement . ?v rdf:type ontology:construction . ?v property:architectural_style ?c } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?k ) WHERE { ?z rdf:type ontology:art_movement . ?u rdf:type ontology:construction . ?u property:architectural_style ?z } GROUP BY ?z } } }
[]
art movement construction
Q37068 Q2406030
SYSTEM
Romanticism, Mosan Renaissance
Q37068 Q2406030
(c(Q811430),P149,Q1122677)
action argmin
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
[ANSWERS] are min number of constructions an example of
[{'concept': 'Q811430'}, 'P149', 'Q1122677']
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?r ) WHERE { ?c rdf:type ontology:Q968159 . ?v rdf:type ontology:Q811430 . ?v property:P149 ?c } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?k ) WHERE { ?z rdf:type ontology:Q968159 . ?u rdf:type ontology:Q811430 . ?u property:P149 ?z } GROUP BY ?z } } }
Romanticism Mosan Renaissance
Romanticism and Mosan Renaissance are min number of constructions an example of
Romanticism Mosan Renaissance
action argmin
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
[{'concept': 'construction'}, 'architectural style', 'Modernisme']
SELECT DISTINCT ?c WHERE { FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?r ) WHERE { ?c rdf:type ontology:art_movement . ?v rdf:type ontology:construction . ?v property:architectural_style ?c } GROUP BY ?c } . { SELECT DISTINCT ( MIN ( ?k ) AS ?t ) { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?k ) WHERE { ?z rdf:type ontology:art_movement . ?u rdf:type ontology:construction . ?u property:architectural_style ?z } GROUP BY ?z } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1435
Q2065736 Q7743 Q811979
USER
How many cultural properties give the heritage status of around 75 homes or architectural structures ?
(c(Q7743)|c(Q811979),P1435,c(Q2065736))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q7743
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q811979
value 75
[[{'concept': 'Q7743'}, {'concept': 'Q811979'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?r = 75 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?j WHERE { { ?p property:P1435 ?j . ?j rdf:type ontology:Q2065736 . ?p rdf:type ontology:Q7743 } UNION { ?p property:P1435 ?j . ?p rdf:type ontology:Q811979 . ?j rdf:type ontology:Q2065736 } } GROUP BY ?j } }
action count
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type home
action find_reverse_tuple_counts
relation heritage status
type cultural property
type architectural structure
value 75
[[{'concept': 'home'}, {'concept': 'architectural structure'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?r = 75 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?j WHERE { { ?p property:heritage_status ?j . ?j rdf:type ontology:cultural_property . ?p rdf:type ontology:home } UNION { ?p property:heritage_status ?j . ?p rdf:type ontology:architectural_structure . ?j rdf:type ontology:cultural_property } } GROUP BY ?j } }
[]
cultural property home architectural structure
SYSTEM
101
Q18517317 Q649434 Q26235225 Q14622985 Q15714031 Q18031716 Q20012790 Q20012792 Q1967511 Q1847467 Q19718195 Q5335134 Q22247137 Q624232 Q11691318 Q17990326 Q16872697 Q17047640 Q3098283 Q18965125 Q916333 Q12053139 Q908411 Q21438156 Q6484836 Q22871013 Q26764449 Q5958900 Q17297633 Q15080599 Q3317612 Q15392506 Q960335 Q16971076 Q14500359 Q6906963 Q219538 Q21405908 Q1188622 Q23677505 Q7309389 Q1019352 Q15981101 Q5004973 Q15614064 Q16739336 Q11910250 Q6974386 Q7309375 Q7113045 Q15641550 Q12637954 Q23067926 Q3323436 Q3323432 Q11910247 Q20747146 Q2650048 Q15632117 Q1568567 Q15915488 Q19013512 Q385405 Q328070 Q23767078 Q2403675 Q20066819 Q21585062 Q19825927 Q21585095 Q18122890 Q3862742 Q893802 Q22876770 Q18342392 Q32459 Q14916934 Q916620 Q11579194 Q6979599 Q18363639 Q14842506 Q1516079 Q22074433 Q17047615 Q8346700 Q14917118 Q19346745 Q3323404 Q3323469 Q1188574 Q1129142 Q24498730 Q18363603 Q14331266 Q17504995 Q13790797 Q14475671 Q15203884 Q21153160 Q23712
(c(Q7743)|c(Q811979),P1435,c(Q2065736))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q7743
action find_reverse_tuple_counts
relation P1435
type Q2065736
type Q811979
value 75
[ANSWER]
[[{'concept': 'Q7743'}, {'concept': 'Q811979'}], 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?r = 75 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?j WHERE { { ?p property:P1435 ?j . ?j rdf:type ontology:Q2065736 . ?p rdf:type ontology:Q7743 } UNION { ?p property:P1435 ?j . ?p rdf:type ontology:Q811979 . ?j rdf:type ontology:Q2065736 } } GROUP BY ?j } }
City of Mount Pearl heritage site national monument of the Czech Republic Declared National Monument heritage resource Patrimoine en Isère City of St. John's heritage site Grade 2 Grade 3 National Natural Landmark national monument of Argentina Grade 1 Los Angeles Historic-Cultural Monument Latvian cultural property national historic landmark of the USA Kulturdenkmal heritage conservation district British Columbia designated provincial heritage site State Protected Monument Heritage Railway Station of Canada building protected by Paris urban planning document Rijksmonument Beschermd erfgoed National heritage site (Portugal) object on the Polish cultural objects register Landmarks of St. Louis municipal heritage site special historic site Iranian National Heritage Baudenkmal designated heritage property (part IV) Conjunto histórico territorial historic site Cultural Heritage Monuments of Slovakia Asset of Community Value local historic place Monuments of Kosovo scheduled monument Registered park or garden Important Cultural Properties of Japan National Historical Landmark Registered Monuments of Japan Cultural Asset of National Interest historical monument Bé d'interès cultural municipal heritage site bien recensé dans l'inventaire général du patrimoine culturel Cultural Asset of Local Interest national monument of Chile Registered Battlefield Outstanding Natural Area heritage lighthouse National Monument of Bosnia and Herzegovina designated heritage property Cultural Monument of Exceptional Importance Monument of Culture of Great Importance Property of Local Relevance listed on the Australian National Heritage List municipal monument Baudenkmal national historic site of Canada municipal heritage district Musées Nationaux Récupération cultural monument of the Czech Republic listed building in Sweden ensemble part protected heritage monument in Wallonia City of Yellowknife Heritage Site Class A New York City Landmark Class B territorial historic site National monuments of Singapore national monument of Ireland City of St. John's heritage district listed in a community heritage register Archaeological Sites of Exceptional Importance Municipally Registered Property National heritage site of Romania Registered Tangible Cultural Property of Japan National heritage site monument of local significance municipal heritage property cultural heritage ensemble garden monument Monument of National Importance cultural heritage site in Russia heritage conservation district protected heritage site in Brussels national monument of Italy protected cultural monuments in Serbia Major Historical and Cultural Site Protected at the National Level contributing property Omaha Landmark monument of national significance recognized heritage site heritage designation recognized heritage immovable municipal historic resource Winnipeg Landmark Heritage Structure bateau d'intérêt patrimonial Bien de Interés Cultural
101
action count
action approx
action union
action find_reverse_tuple_counts
relation heritage status
type cultural property
type home
action find_reverse_tuple_counts
relation heritage status
type cultural property
type architectural structure
value 75
[[{'concept': 'home'}, {'concept': 'architectural structure'}], 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { FILTER ( ?r = 75 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) ?j WHERE { { ?p property:heritage_status ?j . ?j rdf:type ontology:cultural_property . ?p rdf:type ontology:home } UNION { ?p property:heritage_status ?j . ?p rdf:type ontology:architectural_structure . ?j rdf:type ontology:cultural_property } } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4909368
P106
Q151885
USER
What does Bill Heath do for a living ?
(Q4909368,P106,c(Q151885))
action filter_type
action find
entity Q4909368
relation P106
type Q151885
['Q4909368', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q4909368 property:P106 ?n . ?n rdf:type ontology:Q151885 }
Bill Heath
action filter_type
action find
entity Bill Heath
relation occupation
type concept
['Bill Heath', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Bill_Heath property:occupation ?n . ?n rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q4909368,P106,c(Q151885))
action filter_type
action find
entity Q4909368
relation P106
type Q151885
Bill Heath does a [ANSWER] for a living
['Q4909368', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?n WHERE { resource:Q4909368 property:P106 ?n . ?n rdf:type ontology:Q151885 }
baseball player
Bill Heath does a baseball player for a living
baseball player
action filter_type
action find
entity Bill Heath
relation occupation
type concept
['Bill Heath', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?n WHERE { resource:Bill_Heath property:occupation ?n . ?n rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1691501
Q151885
USER
And how about Joe Leonard?
(Q1691501,P106,c(Q151885))
action filter_type
action find
entity Q1691501
relation P106
type Q151885
['Q1691501', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q1691501 property:P106 ?l . ?l rdf:type ontology:Q151885 }
Joe Leonard
action filter_type
action find
entity Joe Leonard
relation occupation
type concept
['Joe Leonard', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Joe_Leonard property:occupation ?l . ?l rdf:type ontology:concept }
[]
concept
Q3014296
SYSTEM
motorcycle racer
Q3014296
(Q1691501,P106,c(Q151885))
action filter_type
action find
entity Q1691501
relation P106
type Q151885
[ANSWER]
['Q1691501', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q1691501 property:P106 ?l . ?l rdf:type ontology:Q151885 }
motorcycle racer
motorcycle racer
action filter_type
action find
entity Joe Leonard
relation occupation
type concept
['Joe Leonard', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Joe_Leonard property:occupation ?l . ?l rdf:type ontology:concept }
[]