Simple Question (Direct)
Simple Question
Q102674
P39
Q12737077
USER
What was the position for which Friedrich Schwiening was appointed ?
(Q102674,P39,c(Q12737077))
action filter_type
action find
entity Q102674
relation P39
type Q12737077
['Q102674', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q102674 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
Friedrich Schwiening
action filter_type
action find
entity Friedrich Schwiening
relation position held
type occupation
['Friedrich Schwiening', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Schwiening property:position_held ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q102674,P39,c(Q12737077))
action filter_type
action find
entity Q102674
relation P39
type Q12737077
[ANSWER]
['Q102674', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q102674 property:P39 ?a . ?a rdf:type ontology:Q12737077 }
mayor
Mayor
mayor
action filter_type
action find
entity Friedrich Schwiening
relation position held
type occupation
['Friedrich Schwiening', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Friedrich_Schwiening property:position_held ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102674
P69
Q811979
USER
Where was that person educated ?
(Q30185,P69,c(Q811979))
action filter_type
action find
entity Q102674
relation P69
type Q811979
['Q30185', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . resource:Q102674 property:P69 ?j }
Friedrich Schwiening
action filter_type
action find
entity Friedrich Schwiening
relation educated at
type architectural structure
['mayor', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . resource:Friedrich_Schwiening property:educated_at ?j }
[]
architectural structure
Q152838
SYSTEM
University of Göttingen
Q152838
(Q30185,P69,c(Q811979))
action filter_type
action find
entity Q102674
relation P69
type Q811979
Educated that person was the [ANSWER]
['Q30185', 'P69', {'concept': 'Q811979'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q811979 . resource:Q102674 property:P69 ?j }
University of Göttingen
Educated that person was the University of Göttingen
University of Göttingen
action filter_type
action find
entity Friedrich Schwiening
relation educated at
type architectural structure
['mayor', 'educated at', {'concept': 'architectural structure'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:architectural_structure . resource:Friedrich_Schwiening property:educated_at ?j }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6530943 Q102674
P27
Q1048835
USER
Which political territories are Friedrich Schwiening or Leslie Kalai an inhabitant of ?
OR((Q102674,P27,c(Q1048835)), (Q6530943,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q102674
relation P27
action find
entity Q6530943
relation P27
type Q1048835
{'OR': [['Q102674', 'P27', {'concept': 'Q1048835'}], ['Q6530943', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Q102674 ) ( resource:Q6530943 ) } . ?u property:P27 ?n } . ?n rdf:type ontology:Q1048835 }
Leslie Kalai Friedrich Schwiening
action filter_type
action union
action find
entity Friedrich Schwiening
relation country of citizenship
action find
entity Leslie Kalai
relation country of citizenship
type political territorial entity
{'OR': [['Friedrich Schwiening', 'country of citizenship', {'concept': 'political territorial entity'}], ['Leslie Kalai', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Friedrich_Schwiening ) ( resource:Leslie_Kalai ) } . ?u property:country_of_citizenship ?n } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q691
SYSTEM
Germany, Papua New Guinea
Q183 Q691
OR((Q102674,P27,c(Q1048835)), (Q6530943,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q102674
relation P27
action find
entity Q6530943
relation P27
type Q1048835
[ANSWERS] are Friedrich Schwiening or Leslie Kalai an inhabitant of
{'OR': [['Q102674', 'P27', {'concept': 'Q1048835'}], ['Q6530943', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Q102674 ) ( resource:Q6530943 ) } . ?u property:P27 ?n } . ?n rdf:type ontology:Q1048835 }
Germany Papua New Guinea
Germany and Papua New Guinea are Friedrich Schwiening or Leslie Kalai an inhabitant of
Germany Papua New Guinea
action filter_type
action union
action find
entity Friedrich Schwiening
relation country of citizenship
action find
entity Leslie Kalai
relation country of citizenship
type political territorial entity
{'OR': [['Friedrich Schwiening', 'country of citizenship', {'concept': 'political territorial entity'}], ['Leslie Kalai', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?u ) { ( resource:Friedrich_Schwiening ) ( resource:Leslie_Kalai ) } . ?u property:country_of_citizenship ?n } . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7627358
P17
Q1048835
USER
How many political territories are Stubbs, Saint Vincent and the Grenadines situated in ?
(Q7627358,P17,c(Q1048835))
action count
action filter_type
action find
entity Q7627358
relation P17
type Q1048835
['Q7627358', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q7627358 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Stubbs, Saint Vincent and the Grenadines
action count
action filter_type
action find
entity Stubbs, Saint Vincent and the Grenadines
relation country
type political territorial entity
['Stubbs, Saint Vincent and the Grenadines', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Stubbs,_Saint_Vincent_and_the_Grenadines property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q757
(Q7627358,P17,c(Q1048835))
action count
action filter_type
action find
entity Q7627358
relation P17
type Q1048835
[ANSWER]
['Q7627358', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q7627358 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Saint Vincent and the Grenadines
1
action count
action filter_type
action find
entity Stubbs, Saint Vincent and the Grenadines
relation country
type political territorial entity
['Stubbs, Saint Vincent and the Grenadines', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Stubbs,_Saint_Vincent_and_the_Grenadines property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7627358
P17
Q1048835
USER
Which political territory is that administrative territory located in ?
action filter_type
action find
entity Q7627358
relation P17
type Q1048835
SELECT DISTINCT ?j WHERE { resource:Q7627358 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Stubbs, Saint Vincent and the Grenadines
action filter_type
action find
entity Stubbs, Saint Vincent and the Grenadines
relation country
type political territorial entity
SELECT DISTINCT ?j WHERE { resource:Stubbs,_Saint_Vincent_and_the_Grenadines property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q757
SYSTEM
Saint Vincent and the Grenadines
Q757
action filter_type
action find
entity Q7627358
relation P17
type Q1048835
That administrative territory is located in [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q7627358 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Saint Vincent and the Grenadines
That administrative territory is located in Saint Vincent and the Grenadines
Saint Vincent and the Grenadines
action filter_type
action find
entity Stubbs, Saint Vincent and the Grenadines
relation country
type political territorial entity
SELECT DISTINCT ?j WHERE { resource:Stubbs,_Saint_Vincent_and_the_Grenadines property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q757
P30
Q2221906
USER
Which geographic location is that political territory a part of ?
(Q757,P30,c(Q2221906))
action filter_type
action find
entity Q757
relation P30
type Q2221906
['Q757', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q757 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
Saint Vincent and the Grenadines
action filter_type
action find
entity Saint Vincent and the Grenadines
relation continent
type geographic location
['Saint Vincent and the Grenadines', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Saint_Vincent_and_the_Grenadines property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
geographic location
Q18
SYSTEM
South America
Q18
(Q757,P30,c(Q2221906))
action filter_type
action find
entity Q757
relation P30
type Q2221906
[ANSWER] is that political territory a part of
['Q757', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { resource:Q757 property:P30 ?z . ?z rdf:type ontology:Q2221906 }
South America
South America is that political territory a part of
South America
action filter_type
action find
entity Saint Vincent and the Grenadines
relation continent
type geographic location
['Saint Vincent and the Grenadines', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { resource:Saint_Vincent_and_the_Grenadines property:continent ?z . ?z rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P30
Q34763 Q20667921
USER
How many peninsulas and french administrative divisions have their location in that geographic location ?
(c(Q34763),P30,Q18) (c(Q20667921),P30,Q18) (c(Q34763),P30,Q18) (c(Q20667921),P30,Q18)
action count
action union
action filter_type
action find_reverse
entity Q18
relation P30
type Q34763
action filter_type
action find_reverse
entity Q18
relation P30
type Q20667921
[{'concept': 'Q34763'}, 'P30', 'Q18'] [{'concept': 'Q20667921'}, 'P30', 'Q18'] [{'concept': 'Q34763'}, 'P30', 'Q18'] [{'concept': 'Q20667921'}, 'P30', 'Q18']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P30 resource:Q18 . ?l rdf:type ontology:Q20667921 } UNION { ?l rdf:type ontology:Q34763 . ?l property:P30 resource:Q18 } }
action count
action union
action filter_type
action find_reverse
entity South America
relation continent
type peninsula
action filter_type
action find_reverse
entity South America
relation continent
type type of french administrative division
[{'concept': 'peninsula'}, 'continent', 'South America'] [{'concept': 'type of french administrative division'}, 'continent', 'South America'] [{'concept': 'peninsula'}, 'continent', 'South America'] [{'concept': 'type of french administrative division'}, 'continent', 'South America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:continent resource:South_America . ?l rdf:type ontology:type_of_french_administrative_division } UNION { ?l rdf:type ontology:peninsula . ?l property:continent resource:South_America } }
[]
peninsula type of french administrative division
SYSTEM
1 peninsulas and 1 french administrative divisions
Q169141 Q3769
(c(Q34763),P30,Q18) (c(Q20667921),P30,Q18) (c(Q34763),P30,Q18) (c(Q20667921),P30,Q18)
action count
action union
action filter_type
action find_reverse
entity Q18
relation P30
type Q34763
action filter_type
action find_reverse
entity Q18
relation P30
type Q20667921
[ANSWER]
[{'concept': 'Q34763'}, 'P30', 'Q18'] [{'concept': 'Q20667921'}, 'P30', 'Q18'] [{'concept': 'Q34763'}, 'P30', 'Q18'] [{'concept': 'Q20667921'}, 'P30', 'Q18']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P30 resource:Q18 . ?l rdf:type ontology:Q20667921 } UNION { ?l rdf:type ontology:Q34763 . ?l property:P30 resource:Q18 } }
Cape Froward French Guiana
1 peninsulas and 1 french administrative divisions
action count
action union
action filter_type
action find_reverse
entity South America
relation continent
type peninsula
action filter_type
action find_reverse
entity South America
relation continent
type type of french administrative division
[{'concept': 'peninsula'}, 'continent', 'South America'] [{'concept': 'type of french administrative division'}, 'continent', 'South America'] [{'concept': 'peninsula'}, 'continent', 'South America'] [{'concept': 'type of french administrative division'}, 'continent', 'South America']
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:continent resource:South_America . ?l rdf:type ontology:type_of_french_administrative_division } UNION { ?l rdf:type ontology:peninsula . ?l property:continent resource:South_America } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q22082227
P193
Q4830453 Q43229 Q811979
USER
How many architectural structures were built by lesser number of business enterprises or organizations than Houlgate battery ?
(c(Q811979),P193,c(Q4830453)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P193
type Q811979
type Q4830453
action find_tuple_counts
relation P193
type Q811979
type Q43229
action count
action filter_multi_types
action find
entity Q22082227
relation P193
type Q4830453
type Q43229
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?v WHERE { { ?v property:P193 ?g . ?v rdf:type ontology:Q811979 . ?g rdf:type ontology:Q4830453 } UNION { ?v property:P193 ?g . ?v rdf:type ontology:Q811979 . ?g rdf:type ontology:Q43229 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q22082227 property:P193 ?h . { VALUES ( ?y ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?h rdf:type ?y } } } . FILTER ( ?c < ?e ) }
Houlgate battery
action count
action less
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type business enterprise
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
action count
action filter_multi_types
action find
entity Houlgate battery
relation main building contractor
type business enterprise
type organization
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?v WHERE { { ?v property:main_building_contractor ?g . ?v rdf:type ontology:architectural_structure . ?g rdf:type ontology:business_enterprise } UNION { ?v property:main_building_contractor ?g . ?v rdf:type ontology:architectural_structure . ?g rdf:type ontology:organization } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Houlgate_battery property:main_building_contractor ?h . { VALUES ( ?y ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?h rdf:type ?y } } } . FILTER ( ?c < ?e ) }
[]
business enterprise organization architectural structure
SYSTEM
54
Q15265926 Q3094568 Q6016039 Q7184961 Q5012860 Q5359041 Q378655 Q4636498 Q331996 Q3198005 Q5452224 Q6108791 Q15186849 Q5669316 Q7290932 Q3656844 Q1914478 Q5876764 Q5447561 Q5009234 Q7244008 Q14687223 Q16890382 Q5968781 Q7606681 Q7330798 Q6286031 Q5453386 Q6840597 Q4876431 Q7309279 Q655753 Q7572306 Q26811672 Q14709658 Q767873 Q2923640 Q5910931 Q3359761 Q7981834 Q8007500 Q7730070 Q7120126 Q5562766 Q5252301 Q5142988 Q5384614 Q7492276 Q3564821 Q243 Q1336027 Q14683022 Q3603778 Q4830875
(c(Q811979),P193,c(Q4830453)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P193
type Q811979
type Q4830453
action find_tuple_counts
relation P193
type Q811979
type Q43229
action count
action filter_multi_types
action find
entity Q22082227
relation P193
type Q4830453
type Q43229
[ANSWER]
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?v WHERE { { ?v property:P193 ?g . ?v rdf:type ontology:Q811979 . ?g rdf:type ontology:Q4830453 } UNION { ?v property:P193 ?g . ?v rdf:type ontology:Q811979 . ?g rdf:type ontology:Q43229 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q22082227 property:P193 ?h . { VALUES ( ?y ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?h rdf:type ?y } } } . FILTER ( ?c < ?e ) }
Vince J. Whibbs Sr. Community Maritime Park Stadium Galen Center Independence Events Center Philippine Arena CMC-NorthEast Stadium Raffles City United Spirit Arena 3 Hardman Street Vizcaya Bridge Knights Stadium FirstEnergy Stadium JQH Arena Grange Court Harry Grove Stadium Rancho Cucamonga Epicenter Capital Centre Mayo Building Hofheinz Pavilion Fifth Third Bank Ballpark CBS Canterbury Arena Prince George's Stadium Memorial Gymnasium Clackline Bridge IBM Building Stegeman Coliseum Richmond County Bank Ballpark Joseph P. Riley, Jr. Park First National Bank Building Mid-America Center Bear Down Gym Regions Field Arena do Grêmio Space Coast Stadium Clay Street Center TicketReturn.com Field Russia Tower Bramlage Coliseum Hotaling Building PNC Field Welsh-Ryan Arena William D. Mullins Memorial Center The Diamond PPL Center Gimnasio USBI Dehler Park Coleman Coliseum Equitable Building Sheboygan Municipal Auditorium and Armory WVU Coliseum Eiffel Tower Allstate Arena Lake Elsinore Diamond Kyrkbron Ayala Tower One
54
action count
action less
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type business enterprise
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
action count
action filter_multi_types
action find
entity Houlgate battery
relation main building contractor
type business enterprise
type organization
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) ?v WHERE { { ?v property:main_building_contractor ?g . ?v rdf:type ontology:architectural_structure . ?g rdf:type ontology:business_enterprise } UNION { ?v property:main_building_contractor ?g . ?v rdf:type ontology:architectural_structure . ?g rdf:type ontology:organization } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Houlgate_battery property:main_building_contractor ?h . { VALUES ( ?y ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?h rdf:type ?y } } } . FILTER ( ?c < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3263907
P193
Q4830453 Q43229 Q811979
USER
And how about Louisville Slugger Field?
(c(Q811979),P193,c(Q4830453)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P193
type Q811979
type Q4830453
action find_tuple_counts
relation P193
type Q811979
type Q43229
action count
action filter_multi_types
action find
entity Q3263907
relation P193
type Q4830453
type Q43229
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?p WHERE { VALUES ( ?k ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?f rdf:type ?k } GROUP BY ?p } . FILTER ( ?v < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q3263907 property:P193 ?l . { { ?l rdf:type ontology:Q43229 } UNION { ?l rdf:type ontology:Q4830453 } } } } }
Louisville Slugger Field
action count
action less
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type business enterprise
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
action count
action filter_multi_types
action find
entity Louisville Slugger Field
relation main building contractor
type business enterprise
type organization
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?p WHERE { VALUES ( ?k ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?f rdf:type ?k } GROUP BY ?p } . FILTER ( ?v < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Louisville_Slugger_Field property:main_building_contractor ?l . { { ?l rdf:type ontology:organization } UNION { ?l rdf:type ontology:business_enterprise } } } } }
[]
business enterprise organization architectural structure
SYSTEM
54
Q15265926 Q3094568 Q6016039 Q7184961 Q5012860 Q5359041 Q378655 Q4636498 Q331996 Q3198005 Q5452224 Q6108791 Q15186849 Q5669316 Q7290932 Q3656844 Q1914478 Q5876764 Q5447561 Q5009234 Q7244008 Q14687223 Q16890382 Q5968781 Q7606681 Q7330798 Q6286031 Q5453386 Q6840597 Q4876431 Q7309279 Q655753 Q7572306 Q26811672 Q14709658 Q767873 Q2923640 Q5910931 Q3359761 Q7981834 Q8007500 Q7730070 Q7120126 Q5562766 Q5252301 Q5142988 Q5384614 Q7492276 Q3564821 Q243 Q1336027 Q14683022 Q3603778 Q4830875
(c(Q811979),P193,c(Q4830453)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P193
type Q811979
type Q4830453
action find_tuple_counts
relation P193
type Q811979
type Q43229
action count
action filter_multi_types
action find
entity Q3263907
relation P193
type Q4830453
type Q43229
[ANSWER]
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?p WHERE { VALUES ( ?k ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?f rdf:type ?k } GROUP BY ?p } . FILTER ( ?v < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q3263907 property:P193 ?l . { { ?l rdf:type ontology:Q43229 } UNION { ?l rdf:type ontology:Q4830453 } } } } }
Vince J. Whibbs Sr. Community Maritime Park Stadium Galen Center Independence Events Center Philippine Arena CMC-NorthEast Stadium Raffles City United Spirit Arena 3 Hardman Street Vizcaya Bridge Knights Stadium FirstEnergy Stadium JQH Arena Grange Court Harry Grove Stadium Rancho Cucamonga Epicenter Capital Centre Mayo Building Hofheinz Pavilion Fifth Third Bank Ballpark CBS Canterbury Arena Prince George's Stadium Memorial Gymnasium Clackline Bridge IBM Building Stegeman Coliseum Richmond County Bank Ballpark Joseph P. Riley, Jr. Park First National Bank Building Mid-America Center Bear Down Gym Regions Field Arena do Grêmio Space Coast Stadium Clay Street Center TicketReturn.com Field Russia Tower Bramlage Coliseum Hotaling Building PNC Field Welsh-Ryan Arena William D. Mullins Memorial Center The Diamond PPL Center Gimnasio USBI Dehler Park Coleman Coliseum Equitable Building Sheboygan Municipal Auditorium and Armory WVU Coliseum Eiffel Tower Allstate Arena Lake Elsinore Diamond Kyrkbron Ayala Tower One
54
action count
action less
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type business enterprise
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
action count
action filter_multi_types
action find
entity Louisville Slugger Field
relation main building contractor
type business enterprise
type organization
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) ?p WHERE { VALUES ( ?k ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?f rdf:type ?k } GROUP BY ?p } . FILTER ( ?v < ?j ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Louisville_Slugger_Field property:main_building_contractor ?l . { { ?l rdf:type ontology:organization } UNION { ?l rdf:type ontology:business_enterprise } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18
P276
Q2221906
USER
Which geographic location is situated at South America ?
(c(Q2221906),P276,Q18)
action filter_type
action find_reverse
entity Q18
relation P276
type Q2221906
[{'concept': 'Q2221906'}, 'P276', 'Q18']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q18 . ?l rdf:type ontology:Q2221906 }
South America
action filter_type
action find_reverse
entity South America
relation location
type geographic location
[{'concept': 'geographic location'}, 'location', 'South America']
SELECT DISTINCT ?l WHERE { ?l property:location resource:South_America . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q18048387
SYSTEM
Central Andes
Q18048387
(c(Q2221906),P276,Q18)
action filter_type
action find_reverse
entity Q18
relation P276
type Q2221906
The [ANSWER] is situated at South America
[{'concept': 'Q2221906'}, 'P276', 'Q18']
SELECT DISTINCT ?l WHERE { ?l property:P276 resource:Q18 . ?l rdf:type ontology:Q2221906 }
Central Andes
The Central Andes is situated at South America
Central Andes
action filter_type
action find_reverse
entity South America
relation location
type geographic location
[{'concept': 'geographic location'}, 'location', 'South America']
SELECT DISTINCT ?l WHERE { ?l property:location resource:South_America . ?l rdf:type ontology:geographic_location }
[]