Simple Question (Direct)
Simple Question
Q3840233
P19
Q56061
USER
Which administrative territory was Luigi Valsecchi born in ?
(Q3840233,P19,c(Q56061))
action filter_type
action find
entity Q3840233
relation P19
type Q56061
['Q3840233', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q3840233 property:P19 ?f }
Luigi Valsecchi
action filter_type
action find
entity Luigi Valsecchi
relation place of birth
type administrative territorial entity
['Luigi Valsecchi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Luigi_Valsecchi property:place_of_birth ?f }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q3840233,P19,c(Q56061))
action filter_type
action find
entity Q3840233
relation P19
type Q56061
Luigi Valsecchi was born in [ANSWER]
['Q3840233', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q3840233 property:P19 ?f }
Venice
Luigi Valsecchi was born in Venice
Venice
action filter_type
action find
entity Luigi Valsecchi
relation place of birth
type administrative territorial entity
['Luigi Valsecchi', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Luigi_Valsecchi property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q641
P159
Q4830453
USER
Which business enterprise has the principal seat at that administrative territory ?
(c(Q4830453),P159,Q641)
action filter_type
action find_reverse
entity Q641
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q641']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q641 . ?h rdf:type ontology:Q4830453 }
Venice
action filter_type
action find_reverse
entity Venice
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Venice']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Venice . ?h rdf:type ontology:business_enterprise }
[]
business enterprise
Q1107215
SYSTEM
Coin
Q1107215
(c(Q4830453),P159,Q641)
action filter_type
action find_reverse
entity Q641
relation P159
type Q4830453
[ANSWER] has the principal seat at that administrative territory
[{'concept': 'Q4830453'}, 'P159', 'Q641']
SELECT DISTINCT ?h WHERE { ?h property:P159 resource:Q641 . ?h rdf:type ontology:Q4830453 }
Coin
Coin has the principal seat at that administrative territory
Coin
action filter_type
action find_reverse
entity Venice
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Venice']
SELECT DISTINCT ?h WHERE { ?h property:headquarters_location resource:Venice . ?h rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1107215 Q4708825
P159
Q56061
USER
Is Alatly the head office of that business enterprise ?
(Q1107215,P159,Q4708825)
action is_in
entity Q4708825
action find
entity Q1107215
relation P159
['Q1107215', 'P159', 'Q4708825']
ASK WHERE { resource:Q1107215 property:P159 resource:Q4708825 }
Coin Alatly
action is_in
entity Alatly
action find
entity Coin
relation headquarters location
['Coin', 'headquarters location', 'Alatly']
ASK WHERE { resource:Coin property:headquarters_location resource:Alatly }
[]
administrative territorial entity
SYSTEM
NO
(Q1107215,P159,Q4708825)
action is_in
entity Q4708825
action find
entity Q1107215
relation P159
[ANSWER]
['Q1107215', 'P159', 'Q4708825']
ASK WHERE { resource:Q1107215 property:P159 resource:Q4708825 }
No
action is_in
entity Alatly
action find
entity Coin
relation headquarters location
['Coin', 'headquarters location', 'Alatly']
ASK WHERE { resource:Coin property:headquarters_location resource:Alatly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q641
P17
Q7275 Q15617994
USER
How many states and administrative territories are Venice situated in ?
(Q641,P17,c(Q7275)) (Q641,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q641
relation P17
type Q7275
action filter_type
action find
entity Q641
relation P17
type Q15617994
['Q641', 'P17', {'concept': 'Q7275'}] ['Q641', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { resource:Q641 property:P17 ?v . ?v rdf:type ontology:Q7275 } UNION { resource:Q641 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
Venice
action count
action union
action filter_type
action find
entity Venice
relation country
type state
action filter_type
action find
entity Venice
relation country
type designation for an administrative territorial entity
['Venice', 'country', {'concept': 'state'}] ['Venice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { resource:Venice property:country ?v . ?v rdf:type ontology:state } UNION { resource:Venice property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
state designation for an administrative territorial entity
SYSTEM
4 states and 3 administrative territories
Q142 Q209857 Q153136 Q4948 Q223936 Q38 Q131964
(Q641,P17,c(Q7275)) (Q641,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q641
relation P17
type Q7275
action filter_type
action find
entity Q641
relation P17
type Q15617994
[ANSWER]
['Q641', 'P17', {'concept': 'Q7275'}] ['Q641', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { resource:Q641 property:P17 ?v . ?v rdf:type ontology:Q7275 } UNION { resource:Q641 property:P17 ?v . ?v rdf:type ontology:Q15617994 } }
France Kingdom of Lombardy–Venetia Habsburg Empire Republic of Venice Kingdom of Italy Italy Austrian Empire
4 states and 3 administrative territories
action count
action union
action filter_type
action find
entity Venice
relation country
type state
action filter_type
action find
entity Venice
relation country
type designation for an administrative territorial entity
['Venice', 'country', {'concept': 'state'}] ['Venice', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { resource:Venice property:country ?v . ?v rdf:type ontology:state } UNION { resource:Venice property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641
P47
Q56061
USER
Who share the border with Venice ?
(Q641,P47,c(Q56061))
action filter_type
action find
entity Q641
relation P47
type Q56061
['Q641', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q641 property:P47 ?f . ?f rdf:type ontology:Q56061 }
Venice
action filter_type
action find
entity Venice
relation shares border with
type administrative territorial entity
['Venice', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Venice property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q46948 Q47281
SYSTEM
Spinea, Jesolo
Q46948 Q47281
(Q641,P47,c(Q56061))
action filter_type
action find
entity Q641
relation P47
type Q56061
[ANSWERS] share the border with Venice
['Q641', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q641 property:P47 ?f . ?f rdf:type ontology:Q56061 }
Spinea Jesolo
Spinea and Jesolo share the border with Venice
Spinea Jesolo
action filter_type
action find
entity Venice
relation shares border with
type administrative territorial entity
['Venice', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Venice property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q641
Q15617994
USER
And which administrative territory?
(Q641,P47,c(Q15617994))
action filter_type
action find
entity Q641
relation P47
type Q15617994
['Q641', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q641 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Venice
action filter_type
action find
entity Venice
relation shares border with
type designation for an administrative territorial entity
['Venice', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Venice property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55416 Q48039 Q46810
SYSTEM
Chioggia, Mogliano Veneto, Campagna Lupia
Q48144 Q55416 Q47389 Q46771 Q46810 Q46759 Q46761 Q47449 Q48039 Q47995
(Q641,P47,c(Q15617994))
action filter_type
action find
entity Q641
relation P47
type Q15617994
[ANSWERS]
['Q641', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q641 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Mira Chioggia Scorzè Quarto d'Altino Campagna Lupia Musile di Piave Martellago Marcon Mogliano Veneto Cavallino-Treporti
Chioggia Mogliano Veneto Campagna Lupia
action filter_type
action find
entity Venice
relation shares border with
type designation for an administrative territorial entity
['Venice', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Venice property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q881
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with around the same number of administrative territories as Vietnam ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q881 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?o ) }
Vietnam
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Vietnam
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Vietnam property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?o ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q881
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q881 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?o ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
158
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Vietnam
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?d ) WHERE { ?f property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Vietnam property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5890937 Q48039
P17
Q15617994
USER
Which administrative territories do Mogliano Veneto or Homme belong to ?
OR((Q48039,P17,c(Q15617994)), (Q5890937,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q48039
relation P17
action find
entity Q5890937
relation P17
type Q15617994
{'OR': [['Q48039', 'P17', {'concept': 'Q15617994'}], ['Q5890937', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q5890937 property:P17 ?i } UNION { resource:Q48039 property:P17 ?i } } }
Homme Mogliano Veneto
action filter_type
action union
action find
entity Mogliano Veneto
relation country
action find
entity Homme
relation country
type designation for an administrative territorial entity
{'OR': [['Mogliano Veneto', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Homme', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Homme property:country ?i } UNION { resource:Mogliano_Veneto property:country ?i } } }
[]
designation for an administrative territorial entity
Q20 Q38
SYSTEM
Norway, Italy
Q20 Q38
OR((Q48039,P17,c(Q15617994)), (Q5890937,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q48039
relation P17
action find
entity Q5890937
relation P17
type Q15617994
Mogliano Veneto or Homme belong to the [ANSWERS]
{'OR': [['Q48039', 'P17', {'concept': 'Q15617994'}], ['Q5890937', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . { { resource:Q5890937 property:P17 ?i } UNION { resource:Q48039 property:P17 ?i } } }
Norway Italy
Mogliano Veneto or Homme belong to the Norway and Italy
Norway Italy
action filter_type
action union
action find
entity Mogliano Veneto
relation country
action find
entity Homme
relation country
type designation for an administrative territorial entity
{'OR': [['Mogliano Veneto', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Homme', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Homme property:country ?i } UNION { resource:Mogliano_Veneto property:country ?i } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7743741
P495
Q838948
USER
Are those administrative territories a country of origin of The Judas Kiss ?
(Q7743741,P495,Q20) (Q7743741,P495,Q38)
action is_in
entity prev_answer
action find
entity Q7743741
relation P495
['Q7743741', 'P495', 'Q20'] ['Q7743741', 'P495', 'Q38']
ASK WHERE { resource:Q7743741 property:P495 ?p . VALUES ( ?p ) { ( resource:Q20 ) ( resource:Q38 ) } }
The Judas Kiss
action is_in
entity prev_answer
action find
entity The Judas Kiss
relation country of origin
['The Judas Kiss', 'country of origin', 'Norway'] ['The Judas Kiss', 'country of origin', 'Italy']
ASK WHERE { resource:The_Judas_Kiss property:country_of_origin ?p . VALUES ( ?p ) { ( resource:Norway ) ( resource:Italy ) } }
[]
work of art
SYSTEM
NO
(Q7743741,P495,Q20) (Q7743741,P495,Q38)
action is_in
entity prev_answer
action find
entity Q7743741
relation P495
[ANSWER]
['Q7743741', 'P495', 'Q20'] ['Q7743741', 'P495', 'Q38']
ASK WHERE { resource:Q7743741 property:P495 ?p . VALUES ( ?p ) { ( resource:Q20 ) ( resource:Q38 ) } }
No
action is_in
entity prev_answer
action find
entity The Judas Kiss
relation country of origin
['The Judas Kiss', 'country of origin', 'Norway'] ['The Judas Kiss', 'country of origin', 'Italy']
ASK WHERE { resource:The_Judas_Kiss property:country_of_origin ?p . VALUES ( ?p ) { ( resource:Norway ) ( resource:Italy ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3840233 Q641
P20
Q56061
USER
Did Luigi Valsecchi expire Venice ?
(Q3840233,P20,Q641)
action is_in
entity Q641
action find
entity Q3840233
relation P20
['Q3840233', 'P20', 'Q641']
ASK WHERE { resource:Q3840233 property:P20 resource:Q641 }
Luigi Valsecchi Venice
action is_in
entity Venice
action find
entity Luigi Valsecchi
relation place of death
['Luigi Valsecchi', 'place of death', 'Venice']
ASK WHERE { resource:Luigi_Valsecchi property:place_of_death resource:Venice }
[]
administrative territorial entity
SYSTEM
YES
(Q3840233,P20,Q641)
action is_in
entity Q641
action find
entity Q3840233
relation P20
[ANSWER]
['Q3840233', 'P20', 'Q641']
ASK WHERE { resource:Q3840233 property:P20 resource:Q641 }
Yes
action is_in
entity Venice
action find
entity Luigi Valsecchi
relation place of death
['Luigi Valsecchi', 'place of death', 'Venice']
ASK WHERE { resource:Luigi_Valsecchi property:place_of_death resource:Venice }
[]