Simple Question (Direct)
Simple Question
Q611056
P21
Q290
USER
What is the sex of Simone Confalone ?
(Q611056,P21,c(Q290))
action filter_type
action find
entity Q611056
relation P21
type Q290
['Q611056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q611056 property:P21 ?i . ?i rdf:type ontology:Q290 }
Simone Confalone
action filter_type
action find
entity Simone Confalone
relation gender
type sex
['Simone Confalone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Simone_Confalone property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q611056,P21,c(Q290))
action filter_type
action find
entity Q611056
relation P21
type Q290
The sex of Simone Confalone is the [ANSWER]
['Q611056', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q611056 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of Simone Confalone is the male
male
action filter_type
action find
entity Simone Confalone
relation gender
type sex
['Simone Confalone', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Simone_Confalone property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q611056
P27
Q15617994
USER
Which administrative territory does Simone Confalone belong to ?
(Q611056,P27,c(Q15617994))
action filter_type
action find
entity Q611056
relation P27
type Q15617994
['Q611056', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q611056 property:P27 ?r }
Simone Confalone
action filter_type
action find
entity Simone Confalone
relation country of citizenship
type designation for an administrative territorial entity
['Simone Confalone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Simone_Confalone property:country_of_citizenship ?r }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q611056,P27,c(Q15617994))
action filter_type
action find
entity Q611056
relation P27
type Q15617994
Simone Confalone belongs to [ANSWER]
['Q611056', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q611056 property:P27 ?r }
Italy
Simone Confalone belongs to Italy
Italy
action filter_type
action find
entity Simone Confalone
relation country of citizenship
type designation for an administrative territorial entity
['Simone Confalone', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Simone_Confalone property:country_of_citizenship ?r }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q38
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Italy ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?l }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?l }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?l }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q30
P530
Q15617994
USER
And also tell me about United States of America?
(Q30,P530,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q30 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:United_States_of_America property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
17
Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q30,P530,c(Q15617994))
action count
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWER]
['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:Q30 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
17
action count
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { resource:United_States_of_America property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q38
Q15617994
USER
And how about Italy?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
74
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q15617994 }
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P127
Q3947
USER
Which houses are owned by that administrative territory ?
action filter_type
action find_reverse
entity Q38
relation P127
type Q3947
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q38 . ?f rdf:type ontology:Q3947 }
Italy
action filter_type
action find_reverse
entity Italy
relation owned by
type house
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Italy . ?f rdf:type ontology:house }
[]
house
Q774654 Q6567344 Q4012532
SYSTEM
Villa Doria Pamphili, Rolandstraße 43, Villa Schifanoia
Q774654 Q4012532 Q1952743 Q6567344
action filter_type
action find_reverse
entity Q38
relation P127
type Q3947
[ANSWERS] are owned by that administrative territory
SELECT DISTINCT ?f WHERE { ?f property:P127 resource:Q38 . ?f rdf:type ontology:Q3947 }
Villa Doria Pamphili Villa Schifanoia Hôtel de Galliffet Rolandstraße 43
Villa Doria Pamphili, Rolandstraße 43 and Villa Schifanoia are owned by that administrative territory
Villa Doria Pamphili Rolandstraße 43 Villa Schifanoia
action filter_type
action find_reverse
entity Italy
relation owned by
type house
SELECT DISTINCT ?f WHERE { ?f property:owned_by resource:Italy . ?f rdf:type ontology:house }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P669
Q79007 Q3947
USER
Which streets can max number of houses be located ?
(c(Q3947),P669,Q17518281)
action argmax
action find_reverse_tuple_counts
relation P669
type Q79007
type Q3947
[{'concept': 'Q3947'}, 'P669', 'Q17518281']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?o ) WHERE { ?d rdf:type ontology:Q79007 . ?w rdf:type ontology:Q3947 . ?w property:P669 ?d } GROUP BY ?d } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?h ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P669 ?g . ?g rdf:type ontology:Q79007 . ?r rdf:type ontology:Q3947 } GROUP BY ?g } } }
action argmax
action find_reverse_tuple_counts
relation located on street
type street
type house
[{'concept': 'house'}, 'located on street', 'cours Saint-Pierre']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?o ) WHERE { ?d rdf:type ontology:street . ?w rdf:type ontology:house . ?w property:located_on_street ?d } GROUP BY ?d } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?h ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:located_on_street ?g . ?g rdf:type ontology:street . ?r rdf:type ontology:house } GROUP BY ?g } } }
[]
street house
Q2873916 Q109858
SYSTEM
avenue de Friedland, Fifth Avenue
Q2873916 Q109858
(c(Q3947),P669,Q17518281)
action argmax
action find_reverse_tuple_counts
relation P669
type Q79007
type Q3947
The [ANSWERS] can max number of houses be located
[{'concept': 'Q3947'}, 'P669', 'Q17518281']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?o ) WHERE { ?d rdf:type ontology:Q79007 . ?w rdf:type ontology:Q3947 . ?w property:P669 ?d } GROUP BY ?d } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?h ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:P669 ?g . ?g rdf:type ontology:Q79007 . ?r rdf:type ontology:Q3947 } GROUP BY ?g } } }
avenue de Friedland Fifth Avenue
The avenue de Friedland and Fifth Avenue can max number of houses be located
avenue de Friedland Fifth Avenue
action argmax
action find_reverse_tuple_counts
relation located on street
type street
type house
[{'concept': 'house'}, 'located on street', 'cours Saint-Pierre']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?o ) WHERE { ?d rdf:type ontology:street . ?w rdf:type ontology:house . ?w property:located_on_street ?d } GROUP BY ?d } . FILTER ( ?o = ?h ) . { SELECT DISTINCT ( MAX ( ?y ) AS ?h ) { SELECT DISTINCT ?g ( COUNT ( ?r ) AS ?y ) WHERE { ?r property:located_on_street ?g . ?g rdf:type ontology:street . ?r rdf:type ontology:house } GROUP BY ?g } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q79007 Q18142
USER
Which tower blocks are located on atmost 1 street ?
(c(Q18142),P669,c(Q79007))
action atmost
action find_tuple_counts
relation P669
type Q18142
type Q79007
value 1
[{'concept': 'Q18142'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?r ) WHERE { ?i property:P669 ?u . ?i rdf:type ontology:Q18142 . ?u rdf:type ontology:Q79007 } GROUP BY ?i } . FILTER ( ?r <= 1 ) }
action atmost
action find_tuple_counts
relation located on street
type tower block
type street
value 1
[{'concept': 'tower block'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?r ) WHERE { ?i property:located_on_street ?u . ?i rdf:type ontology:tower_block . ?u rdf:type ontology:street } GROUP BY ?i } . FILTER ( ?r <= 1 ) }
[]
street tower block
Q323767 Q632019 Q868772
SYSTEM
Tour Montparnasse, Solow Building, Trump Tower
Q271695 Q2070225 Q14530911 Q4641667 Q227873 Q17249799 Q3533104 Q3142395 Q2893962 Q806742 Q2044014 Q2606176 Q245246 Q198046 Q1161278 Q762816 Q3533184 Q1821821 Q391243 Q632019 Q214855 Q684027 Q80813 Q5305869 Q270066 Q1501652 Q2631268 Q1346081 Q1676687 Q273780 Q859452 Q233940 Q1284550 Q1642787 Q467467 Q4642078 Q245308 Q543353 Q2742547 Q737484 Q875078 Q217652 Q290724 Q6150288 Q1351208 Q1499859 Q323767 Q6516628 Q133599 Q11245 Q8647 Q216865 Q4636099 Q21088668 Q17349285 Q5029399 Q156198 Q217727 Q1339295 Q1886439 Q191161 Q5270 Q80495 Q701571 Q247887 Q21088670 Q192680 Q538076 Q10905686 Q608175 Q172811 Q941908 Q2198522 Q4635644 Q2817159 Q4635012 Q351892 Q2389056 Q17349272 Q952714 Q922589 Q868772 Q1364295 Q1464592 Q151765 Q328505 Q112640 Q198238 Q1960906 Q2818016 Q1477826 Q220728 Q1710367 Q164877 Q23527286 Q5303357 Q336246 Q1127212 Q14226100 Q2816682 Q1156778 Q1783427 Q317034 Q2943880 Q749558 Q219984 Q3533202 Q4645063 Q467043 Q228242 Q2781067 Q3286566 Q2421828
(c(Q18142),P669,c(Q79007))
action atmost
action find_tuple_counts
relation P669
type Q18142
type Q79007
value 1
[ANSWERS] are located on atmost 1 street
[{'concept': 'Q18142'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?r ) WHERE { ?i property:P669 ?u . ?i rdf:type ontology:Q18142 . ?u rdf:type ontology:Q79007 } GROUP BY ?i } . FILTER ( ?r <= 1 ) }
Aon Center Daily News Building Residencial In Tempo 60 Hudson Street 375 Pearl Street 575 Madison Avenue Tour KPMG Hyatt Regency Paris Etoile Fred F. French Building 14 Wall Street De Kroon 712 Fifth Avenue CITIC Plaza Eurotower Shimao International Plaza 26 Broadway Tour Scotia Lever House Citigroup Center Solow Building Bank of China Tower Key Tower Jin Mao Tower Drapers' Gardens 7 World Trade Center General Motors Building 111 West 57th Street Tour de la Banque Royale 270 Park Avenue Hydro-Québec Building Hearst Tower 432 Park Avenue La Unión y el Fénix Español building 590 Madison Avenue Americas Tower 650 Fifth Avenue 599 Lexington Avenue Plaza 66 122 Leadenhall Street Seagram Building Bloomberg Tower Woolworth Building 995 Fifth Avenue Torre Titania Four World Trade Center New York Life Building Tour Montparnasse Lefcourt Colonial Building 500 Fifth Avenue One World Trade Center Tour Incity Transamerica Pyramid 399 Park Avenue 1065 Avenue of the Americas United States Express Company Building Canada Life Building MesseTurm John Hancock Center Empire Building 190 South LaSalle Street 30 St Mary Axe Tour du Crédit Lyonnais Millennium Tower Park Inn Berlin 60 Wall Street 1155 Avenue of the Americas New York Times Building Liberty Tower 37 Wall Street London Hilton on Park Lane 1221 Avenue of the Americas Three World Trade Center Het Strijkijzer 360 Tenth Avenue Agricultural Bank of China Tower 32 Avenue of the Americas Adams Express Building Euston Tower United States Realty Building 461 Fifth Avenue Broadgate Tower Trump Tower The Ansonia Wrigley Building Commerzbank Tower Bank of America Tower Central Plaza 1717 Broadway 1180 Peachtree 666 Fifth Avenue Sony Building Flatiron Building 610 Lexington Avenue 1000 de La Gauchetière Commerce Court West Downtown Athletic Club Agbar tower Two World Trade Center Two International Finance Centre 400 Sherbrooke West Manhattan Municipal Building Trump International Hotel and Tower International Commerce Centre 1211 Avenue of the Americas Pullman Paris Montparnasse Hotel 277 Park Avenue Tour Totem 88 Wood Street American Surety Building 383 Madison Avenue 425 Fifth Avenue 1095 Avenue of the Americas Torre Europa
Tour Montparnasse, Solow Building and Trump Tower are located on atmost 1 street
Tour Montparnasse Solow Building Trump Tower
action atmost
action find_tuple_counts
relation located on street
type tower block
type street
value 1
[{'concept': 'tower block'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?r ) WHERE { ?i property:located_on_street ?u . ?i rdf:type ontology:tower_block . ?u rdf:type ontology:street } GROUP BY ?i } . FILTER ( ?r <= 1 ) }
[]