Simple Question (Direct)
Simple Question
Q157298
P1435
Q811430
USER
Which construction heritage status does Pergamon Museum have ?
(Q157298,P1435,c(Q811430))
action filter_type
action find
entity Q157298
relation P1435
type Q811430
['Q157298', 'P1435', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { resource:Q157298 property:P1435 ?c . ?c rdf:type ontology:Q811430 }
Pergamon Museum
action filter_type
action find
entity Pergamon Museum
relation heritage status
type construction
['Pergamon Museum', 'heritage status', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { resource:Pergamon_Museum property:heritage_status ?c . ?c rdf:type ontology:construction }
[]
construction
Q811165
SYSTEM
architectural heritage monument
Q811165
(Q157298,P1435,c(Q811430))
action filter_type
action find
entity Q157298
relation P1435
type Q811430
Pergamon Museum has an [ANSWER]
['Q157298', 'P1435', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { resource:Q157298 property:P1435 ?c . ?c rdf:type ontology:Q811430 }
architectural heritage monument
Pergamon Museum has an architectural heritage monument
architectural heritage monument
action filter_type
action find
entity Pergamon Museum
relation heritage status
type construction
['Pergamon Museum', 'heritage status', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { resource:Pergamon_Museum property:heritage_status ?c . ?c rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q811165
P17
Q1048835
USER
Which political territory is that construction a part of ?
(Q811165,P17,c(Q1048835))
action filter_type
action find
entity Q811165
relation P17
type Q1048835
['Q811165', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q811165 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
architectural heritage monument
action filter_type
action find
entity architectural heritage monument
relation country
type political territorial entity
['architectural heritage monument', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:architectural_heritage_monument property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q811165,P17,c(Q1048835))
action filter_type
action find
entity Q811165
relation P17
type Q1048835
The [ANSWER] is that construction a part of
['Q811165', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q811165 property:P17 ?j . ?j rdf:type ontology:Q1048835 }
Germany
The Germany is that construction a part of
Germany
action filter_type
action find
entity architectural heritage monument
relation country
type political territorial entity
['architectural heritage monument', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:architectural_heritage_monument property:country ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1362620 Q157298
P27 P17
Q1048835
USER
Which political territories are Pergamon Museum situated in and are Reinhard Sunkel an inhabitant of ?
AND((Q157298,P17,c(Q1048835)), (Q1362620,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q157298
relation P17
action find
entity Q1362620
relation P27
type Q1048835
{'AND': [['Q157298', 'P17', {'concept': 'Q1048835'}], ['Q1362620', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { resource:Q1362620 property:P27 ?c . resource:Q157298 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Reinhard Sunkel Pergamon Museum
action filter_type
action intersection
action find
entity Pergamon Museum
relation country
action find
entity Reinhard Sunkel
relation country of citizenship
type political territorial entity
{'AND': [['Pergamon Museum', 'country', {'concept': 'political territorial entity'}], ['Reinhard Sunkel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Reinhard_Sunkel property:country_of_citizenship ?c . resource:Pergamon_Museum property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q157298,P17,c(Q1048835)), (Q1362620,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q157298
relation P17
action find
entity Q1362620
relation P27
type Q1048835
Which political territories is Pergamon Museum situated in and is Reinhard Sunkel an inhabitant of
{'AND': [['Q157298', 'P17', {'concept': 'Q1048835'}], ['Q1362620', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { resource:Q1362620 property:P27 ?c . resource:Q157298 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Which political territories is Pergamon Museum situated in and is Reinhard Sunkel an inhabitant of
Germany
action filter_type
action intersection
action find
entity Pergamon Museum
relation country
action find
entity Reinhard Sunkel
relation country of citizenship
type political territorial entity
{'AND': [['Pergamon Museum', 'country', {'concept': 'political territorial entity'}], ['Reinhard Sunkel', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Reinhard_Sunkel property:country_of_citizenship ?c . resource:Pergamon_Museum property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P195
Q2668072 Q11060274 Q234460
USER
Which collections are max number of prints and texts preserved in ?
(c(Q11060274)|c(Q234460),P195,c(Q2668072))
action argmax
action union
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q11060274
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q234460
[[{'concept': 'Q11060274'}, {'concept': 'Q234460'}], 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?x rdf:type ontology:Q11060274 . ?e rdf:type ontology:Q2668072 . ?x property:P195 ?e } UNION { ?x property:P195 ?e . ?e rdf:type ontology:Q2668072 . ?x rdf:type ontology:Q234460 } } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q234460 ) ( ontology:Q11060274 ) } . ?v rdf:type ?r } GROUP BY ?l } . FILTER ( ?d = ?a ) }
action argmax
action union
action find_reverse_tuple_counts
relation collection
type collection
type print
action find_reverse_tuple_counts
relation collection
type collection
type text
[[{'concept': 'print'}, {'concept': 'text'}], 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?x rdf:type ontology:print . ?e rdf:type ontology:collection . ?x property:collection ?e } UNION { ?x property:collection ?e . ?e rdf:type ontology:collection . ?x rdf:type ontology:text } } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:text ) ( ontology:print ) } . ?v rdf:type ?r } GROUP BY ?l } . FILTER ( ?d = ?a ) }
[]
collection print text
Q2542010
SYSTEM
Flemish Art Collection
Q2542010
(c(Q11060274)|c(Q234460),P195,c(Q2668072))
action argmax
action union
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q11060274
action find_reverse_tuple_counts
relation P195
type Q2668072
type Q234460
Max number of prints and texts are preserved in the [ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q234460'}], 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?x rdf:type ontology:Q11060274 . ?e rdf:type ontology:Q2668072 . ?x property:P195 ?e } UNION { ?x property:P195 ?e . ?e rdf:type ontology:Q2668072 . ?x rdf:type ontology:Q234460 } } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:Q234460 ) ( ontology:Q11060274 ) } . ?v rdf:type ?r } GROUP BY ?l } . FILTER ( ?d = ?a ) }
Flemish Art Collection
Max number of prints and texts are preserved in the Flemish Art Collection
Flemish Art Collection
action argmax
action union
action find_reverse_tuple_counts
relation collection
type collection
type print
action find_reverse_tuple_counts
relation collection
type collection
type text
[[{'concept': 'print'}, {'concept': 'text'}], 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?a ) { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?n ) WHERE { { ?x rdf:type ontology:print . ?e rdf:type ontology:collection . ?x property:collection ?e } UNION { ?x property:collection ?e . ?e rdf:type ontology:collection . ?x rdf:type ontology:text } } GROUP BY ?e } } . { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?d ) WHERE { VALUES ( ?r ) { ( ontology:text ) ( ontology:print ) } . ?v rdf:type ?r } GROUP BY ?l } . FILTER ( ?d = ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P793
Q350604 Q131569
USER
How many armed conflicts or treaties are the significant events associated with Germany ?
(Q183,P793,c(Q350604)) (Q183,P793,c(Q131569))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q350604
action filter_type
action find
entity Q183
relation P793
type Q131569
['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q131569'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Q183 property:P793 ?d . ?d rdf:type ontology:Q350604 } UNION { resource:Q183 property:P793 ?d . ?d rdf:type ontology:Q131569 } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation significant event
type armed conflict
action filter_type
action find
entity Germany
relation significant event
type treaty
['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'treaty'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Germany property:significant_event ?d . ?d rdf:type ontology:armed_conflict } UNION { resource:Germany property:significant_event ?d . ?d rdf:type ontology:treaty } }
[]
armed conflict treaty
SYSTEM
2
Q182865 Q159644
(Q183,P793,c(Q350604)) (Q183,P793,c(Q131569))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q350604
action filter_type
action find
entity Q183
relation P793
type Q131569
[ANSWER]
['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q131569'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Q183 property:P793 ?d . ?d rdf:type ontology:Q350604 } UNION { resource:Q183 property:P793 ?d . ?d rdf:type ontology:Q131569 } }
War in Afghanistan Treaty on the Final Settlement with Respect to Germany
2
action count
action union
action filter_type
action find
entity Germany
relation significant event
type armed conflict
action filter_type
action find
entity Germany
relation significant event
type treaty
['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'treaty'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { resource:Germany property:significant_event ?d . ?d rdf:type ontology:armed_conflict } UNION { resource:Germany property:significant_event ?d . ?d rdf:type ontology:treaty } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P276
Q8065
USER
What is situated at that political territory ?
action filter_type
action find_reverse
entity Q183
relation P276
type Q8065
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q183 . ?v rdf:type ontology:Q8065 }
Germany
action filter_type
action find_reverse
entity Germany
relation location
type natural disaster
SELECT DISTINCT ?v WHERE { ?v property:location resource:Germany . ?v rdf:type ontology:natural_disaster }
[]
natural disaster
Q24287229
SYSTEM
2016 European floods
Q24287229
action filter_type
action find_reverse
entity Q183
relation P276
type Q8065
[ANSWER] is situated at that political territory
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q183 . ?v rdf:type ontology:Q8065 }
2016 European floods
2016 European floods is situated at that political territory
2016 European floods
action filter_type
action find_reverse
entity Germany
relation location
type natural disaster
SELECT DISTINCT ?v WHERE { ?v property:location resource:Germany . ?v rdf:type ontology:natural_disaster }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2085822
P193
Q502895 Q4830453 Q811430
USER
Which constructions were constructed by less number of people or business enterprises than Spectrum ?
(c(Q811430),P193,c(Q502895)|c(Q4830453))
action less
action union
action find_tuple_counts
relation P193
type Q811430
type Q502895
action find_tuple_counts
relation P193
type Q811430
type Q4830453
action count
action filter_multi_types
action find
entity Q2085822
relation P193
type Q502895
type Q4830453
[{'concept': 'Q811430'}, 'P193', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?f WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q4830453 } } . resource:Q2085822 property:P193 ?d } } . FILTER ( ?w < ?x ) }
Spectrum
action less
action union
action find_tuple_counts
relation main building contractor
type construction
type common name
action find_tuple_counts
relation main building contractor
type construction
type business enterprise
action count
action filter_multi_types
action find
entity Spectrum
relation main building contractor
type common name
type business enterprise
[{'concept': 'construction'}, 'main building contractor', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?f WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:common_name ) ( ontology:business_enterprise ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:business_enterprise } } . resource:Spectrum property:main_building_contractor ?d } } . FILTER ( ?w < ?x ) }
[]
common name business enterprise construction
Q29294 Q864339 Q612736
SYSTEM
Willis Tower, Hard Rock Stadium, CenturyLink Field
Q940199 Q283257 Q912770 Q1938498 Q5894600 Q3398824 Q868482 Q1539206 Q1017286 Q686525 Q769480 Q186080 Q2301069 Q908703 Q1100756 Q153824 Q1052370 Q653584 Q651643 Q979975 Q321291 Q1142808 Q574113 Q795526 Q612736 Q1632294 Q6704936 Q5451115 Q385090 Q308874 Q5615204 Q7099121 Q1046135 Q1638213 Q1131230 Q990430 Q638512 Q1618347 Q1110887 Q1142830 Q2095984 Q2092780 Q4391509 Q1339293 Q432105 Q1143127 Q3361612 Q517318 Q2365823 Q1026099 Q2495308 Q5581423 Q29294 Q3309562 Q1366612 Q275936 Q298562 Q1421377 Q138752 Q796351 Q842965 Q1154053 Q82294 Q503506 Q6858923 Q201013 Q7451664 Q1810119 Q774138 Q1522716 Q387157 Q1489399 Q737976 Q6048905 Q1142992 Q635117 Q864339 Q306716 Q296392 Q1942842 Q7072565 Q519568 Q1072882 Q7140757 Q1289873 Q756452 Q1123297 Q420129 Q3640335 Q1568947 Q1364354 Q1052519 Q302869 Q1193117 Q1141174 Q849027 Q1579292 Q1347442 Q983870 Q522282 Q1911946 Q641243 Q1110789 Q298573 Q1067148 Q1771772
(c(Q811430),P193,c(Q502895)|c(Q4830453))
action less
action union
action find_tuple_counts
relation P193
type Q811430
type Q502895
action find_tuple_counts
relation P193
type Q811430
type Q4830453
action count
action filter_multi_types
action find
entity Q2085822
relation P193
type Q502895
type Q4830453
[ANSWERS] were constructed by less number of people or business enterprises than Spectrum
[{'concept': 'Q811430'}, 'P193', [{'concept': 'Q502895'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?f WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q4830453 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:Q502895 } UNION { ?d rdf:type ontology:Q4830453 } } . resource:Q2085822 property:P193 ?d } } . FILTER ( ?w < ?x ) }
Amalie Arena Vidhana Soudha Citizens Bank Park Longwave radio mast Hellissandur Hong Kong Fringe Club Cardiff Central Library Comerica Park Van Andel Arena Busch Memorial Stadium Thomas & Mack Center CenturyLink Center Omaha Staples Center 1201 Third Avenue Columbia Center FirstEnergy Stadium Riverfront Stadium Lincoln Financial Field Marina City Torre PwC Great American Ball Park Main Tower UW–Milwaukee Panther Arena North Charleston Coliseum BB&T Center CenturyLink Field Paul Brown Stadium Lurie Biomedical Engineering Center Fiona Stanley Hospital Torre Espacial London Aquatics Centre Guggenheim Building Opus Imaging Research Building Sports Authority Field at Mile High Huntington Center Norfolk Scope Kingdome Bitexco Financial Tower Alamodome Colonial Life Arena Stockton Arena Tampa Stadium RCA Dome Auckland Civic Theatre Miller Park TD Garden Wells Fargo Arena St David's Hall Rogers Arena Sun National Bank Center Cajundome United States Capitol Visitor Center Gonda Building Willis Tower Senedd Hershey Centre 900 North Michigan AT&T Building Jobing.com Arena 25 Bank Street BMO Field Rupp Arena Progressive Field Vivint Smart Home Arena Cunard Building Millennium Point Svalbard Global Seed Vault Seoul International Financial Center Tropicana Field Honda Center Giant Center Quicken Loans Arena Kemper Arena BMO Harris Bradley Center International Business Center Nissan Stadium EverBank Field Hard Rock Stadium Abbotsford Entertainment & Sports Centre Arag-Tower Mohegan Sun Arena at Casey Plaza OHSU Center for Health & Healing Torre Caja Madrid Citi Field Partnership House Transmitter Solt Mercedes-Benz Superdome Philips Arena American Airlines Arena Birmingham Central Library Verizon Wireless Arena Torre Espacio Cedar Park Center Bridgestone Arena Safeco Field Oriole Park at Camden Yards Prudential Center Jacksonville Veterans Memorial Arena Moda Center Spectrum Center Centre Bell Maverik Center Atlanta-Fulton County Stadium KeyBank Center AT&T Center Heinz Field Roppongi Hills Mori Tower
Willis Tower, Hard Rock Stadium and CenturyLink Field were constructed by less number of people or business enterprises than Spectrum
Willis Tower Hard Rock Stadium CenturyLink Field
action less
action union
action find_tuple_counts
relation main building contractor
type construction
type common name
action find_tuple_counts
relation main building contractor
type construction
type business enterprise
action count
action filter_multi_types
action find
entity Spectrum
relation main building contractor
type common name
type business enterprise
[{'concept': 'construction'}, 'main building contractor', [{'concept': 'common name'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) ?f WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:common_name ) ( ontology:business_enterprise ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { { { ?d rdf:type ontology:common_name } UNION { ?d rdf:type ontology:business_enterprise } } . resource:Spectrum property:main_building_contractor ?d } } . FILTER ( ?w < ?x ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29294 Q864339 Q612736
P193
Q43229
USER
Which organizations are the building contractors of Willis Tower, Hard Rock Stadium and CenturyLink Field ?
(Q29294,P193,c(Q43229)) (Q864339,P193,c(Q43229)) (Q612736,P193,c(Q43229))
action union
action filter_type
action find
entity Q29294
relation P193
type Q43229
action filter_type
action find
entity Q864339
relation P193
type Q43229
action filter_type
action find
entity Q612736
relation P193
type Q43229
['Q29294', 'P193', {'concept': 'Q43229'}] ['Q864339', 'P193', {'concept': 'Q43229'}] ['Q612736', 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { { resource:Q29294 property:P193 ?t . ?t rdf:type ontology:Q43229 } UNION { resource:Q864339 property:P193 ?t . ?t rdf:type ontology:Q43229 } }
Willis Tower Hard Rock Stadium CenturyLink Field
action union
action filter_type
action find
entity Willis Tower
relation main building contractor
type organization
action filter_type
action find
entity Hard Rock Stadium
relation main building contractor
type organization
action filter_type
action find
entity CenturyLink Field
relation main building contractor
type organization
['Willis Tower', 'main building contractor', {'concept': 'organization'}] ['Hard Rock Stadium', 'main building contractor', {'concept': 'organization'}] ['CenturyLink Field', 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { { resource:Willis_Tower property:main_building_contractor ?t . ?t rdf:type ontology:organization } UNION { resource:Hard_Rock_Stadium property:main_building_contractor ?t . ?t rdf:type ontology:organization } }
[]
organization
Q463613 Q5943935 Q2461310
SYSTEM
American Bridge Company, Hunt Construction Group, Turner Construction
Q463613 Q5943935 Q2461310
(Q29294,P193,c(Q43229)) (Q864339,P193,c(Q43229)) (Q612736,P193,c(Q43229))
action union
action filter_type
action find
entity Q29294
relation P193
type Q43229
action filter_type
action find
entity Q864339
relation P193
type Q43229
action filter_type
action find
entity Q612736
relation P193
type Q43229
[ANSWERS] are the building contractors of Willis Tower, Hard Rock Stadium and CenturyLink Field
['Q29294', 'P193', {'concept': 'Q43229'}] ['Q864339', 'P193', {'concept': 'Q43229'}] ['Q612736', 'P193', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { { resource:Q29294 property:P193 ?t . ?t rdf:type ontology:Q43229 } UNION { resource:Q864339 property:P193 ?t . ?t rdf:type ontology:Q43229 } }
American Bridge Company Hunt Construction Group Turner Construction
American Bridge Company, Hunt Construction Group and Turner Construction are the building contractors of Willis Tower, Hard Rock Stadium and CenturyLink Field
American Bridge Company Hunt Construction Group Turner Construction
action union
action filter_type
action find
entity Willis Tower
relation main building contractor
type organization
action filter_type
action find
entity Hard Rock Stadium
relation main building contractor
type organization
action filter_type
action find
entity CenturyLink Field
relation main building contractor
type organization
['Willis Tower', 'main building contractor', {'concept': 'organization'}] ['Hard Rock Stadium', 'main building contractor', {'concept': 'organization'}] ['CenturyLink Field', 'main building contractor', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { { resource:Willis_Tower property:main_building_contractor ?t . ?t rdf:type ontology:organization } UNION { resource:Hard_Rock_Stadium property:main_building_contractor ?t . ?t rdf:type ontology:organization } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q29294
P186
Q11430
USER
Which state of matter is used to craft that construction ?
(Q29294,P186,c(Q11430))
action filter_type
action find
entity Q29294
relation P186
type Q11430
['Q29294', 'P186', {'concept': 'Q11430'}]
SELECT DISTINCT ?b WHERE { resource:Q29294 property:P186 ?b . ?b rdf:type ontology:Q11430 }
Willis Tower
action filter_type
action find
entity Willis Tower
relation material used
type state of matter
['Willis Tower', 'material used', {'concept': 'state of matter'}]
SELECT DISTINCT ?b WHERE { resource:Willis_Tower property:material_used ?b . ?b rdf:type ontology:state_of_matter }
[]
state of matter
Clarification for simple ques.
Q29294
SYSTEM
Did you mean Willis Tower ?
Q463613 Q5943935 Q2461310
(Q463613,P186,c(Q11430)) (Q5943935,P186,c(Q11430)) (Q2461310,P186,c(Q11430))
[ANSWER]
['Q463613', 'P186', {'concept': 'Q11430'}] ['Q5943935', 'P186', {'concept': 'Q11430'}] ['Q2461310', 'P186', {'concept': 'Q11430'}]
SELECT DISTINCT ?b WHERE { resource:Q29294 property:P186 ?b . ?b rdf:type ontology:Q11430 }
American Bridge Company Hunt Construction Group Turner Construction
Did you mean Willis Tower ?
Willis Tower
['American Bridge Company', 'material used', {'concept': 'state of matter'}] ['Hunt Construction Group', 'material used', {'concept': 'state of matter'}] ['Turner Construction', 'material used', {'concept': 'state of matter'}]
SELECT DISTINCT ?b WHERE { resource:Willis_Tower property:material_used ?b . ?b rdf:type ontology:state_of_matter }
[]
Simple Question (Coreferenced)
USER
Yes
(Q29294,P186,c(Q11430))
['Q29294', 'P186', {'concept': 'Q11430'}]
['Willis Tower', 'material used', {'concept': 'state of matter'}]
[]
Q11469
SYSTEM
glass
Q11469
(Q29294,P186,c(Q11430))
action filter_type
action find
entity Q29294
relation P186
type Q11430
And [ANSWER] is used to craft that construction
['Q29294', 'P186', {'concept': 'Q11430'}]
SELECT DISTINCT ?b WHERE { resource:Q29294 property:P186 ?b . ?b rdf:type ontology:Q11430 }
glass
And glass is used to craft that construction
glass
action filter_type
action find
entity Willis Tower
relation material used
type state of matter
['Willis Tower', 'material used', {'concept': 'state of matter'}]
SELECT DISTINCT ?b WHERE { resource:Willis_Tower property:material_used ?b . ?b rdf:type ontology:state_of_matter }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q1048835 Q486972 Q56061
USER
Which political territories have approximately 2 human settlements or administrative territories have their first city ?
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
value 2
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?o } }
action approx
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
value 2
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?o } }
[]
political territorial entity human settlement administrative territorial entity
Q183 Q13353 Q193619
SYSTEM
Germany, Montserrat, Union of South Africa
Q5455586 Q13353 Q193619 Q183
(c(Q486972)|c(Q56061),P1376,c(Q1048835))
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q56061
value 2
[ANSWERS] have approximately 2 human settlements or administrative territories have their first city
[[{'concept': 'Q486972'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q486972 ) ( ontology:Q56061 ) } } GROUP BY ?o } }
Fitzcarrald Montserrat Union of South Africa Germany
Germany, Montserrat and Union of South Africa have approximately 2 human settlements or administrative territories have their first city
Germany Montserrat Union of South Africa
action approx
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type administrative territorial entity
value 2
[[{'concept': 'human settlement'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?q ) WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:human_settlement ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?o } }
[]