Simple Question (Direct)
Simple Question
Q2897686
P937
Q56061
USER
What is the location where Bernard Chochoy worked ?
(Q2897686,P937,c(Q56061))
action filter_type
action find
entity Q2897686
relation P937
type Q56061
['Q2897686', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q2897686 property:P937 ?p }
Bernard Chochoy
action filter_type
action find
entity Bernard Chochoy
relation work location
type administrative territorial entity
['Bernard Chochoy', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Bernard_Chochoy property:work_location ?p }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2897686,P937,c(Q56061))
action filter_type
action find
entity Q2897686
relation P937
type Q56061
The location Bernard Chochoy worked is in [ANSWER]
['Q2897686', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q2897686 property:P937 ?p }
Paris
The location Bernard Chochoy worked is in Paris
Paris
action filter_type
action find
entity Bernard Chochoy
relation work location
type administrative territorial entity
['Bernard Chochoy', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Bernard_Chochoy property:work_location ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2897686
P21
Q290
USER
What is the sex of Bernard Chochoy ?
(Q2897686,P21,c(Q290))
action filter_type
action find
entity Q2897686
relation P21
type Q290
['Q2897686', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2897686 property:P21 ?u . ?u rdf:type ontology:Q290 }
Bernard Chochoy
action filter_type
action find
entity Bernard Chochoy
relation gender
type sex
['Bernard Chochoy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Bernard_Chochoy property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2897686,P21,c(Q290))
action filter_type
action find
entity Q2897686
relation P21
type Q290
The sex of Bernard Chochoy is the [ANSWER]
['Q2897686', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q2897686 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
The sex of Bernard Chochoy is the male
male
action filter_type
action find
entity Bernard Chochoy
relation gender
type sex
['Bernard Chochoy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Bernard_Chochoy property:gender ?u . ?u rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2242718 Q2897686
P27
Q15617994
USER
Which administrative territories are Bernard Chochoy or Henk Kok a civilian of ?
OR((Q2897686,P27,c(Q15617994)), (Q2242718,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2897686
relation P27
action find
entity Q2242718
relation P27
type Q15617994
{'OR': [['Q2897686', 'P27', {'concept': 'Q15617994'}], ['Q2242718', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { VALUES ( ?y ) { ( resource:Q2897686 ) ( resource:Q2242718 ) } . ?y property:P27 ?g } }
Henk Kok Bernard Chochoy
action filter_type
action union
action find
entity Bernard Chochoy
relation country of citizenship
action find
entity Henk Kok
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bernard Chochoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Henk Kok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?y ) { ( resource:Bernard_Chochoy ) ( resource:Henk_Kok ) } . ?y property:country_of_citizenship ?g } }
[]
designation for an administrative territorial entity
Q142 Q29999
SYSTEM
France, Kingdom of the Netherlands
Q142 Q29999
OR((Q2897686,P27,c(Q15617994)), (Q2242718,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2897686
relation P27
action find
entity Q2242718
relation P27
type Q15617994
[ANSWERS] are Bernard Chochoy or Henk Kok a civilian of
{'OR': [['Q2897686', 'P27', {'concept': 'Q15617994'}], ['Q2242718', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . { VALUES ( ?y ) { ( resource:Q2897686 ) ( resource:Q2242718 ) } . ?y property:P27 ?g } }
France Kingdom of the Netherlands
France and Kingdom of the Netherlands are Bernard Chochoy or Henk Kok a civilian of
France Kingdom of the Netherlands
action filter_type
action union
action find
entity Bernard Chochoy
relation country of citizenship
action find
entity Henk Kok
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bernard Chochoy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Henk Kok', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?y ) { ( resource:Bernard_Chochoy ) ( resource:Henk_Kok ) } . ?y property:country_of_citizenship ?g } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q838948 Q201658
USER
How many administrative territories are the origins of greater number of works of art or film genres than that administrative territory ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity work of art film genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q29999
SYSTEM
Did you mean Kingdom of the Netherlands ?
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean Kingdom of the Netherlands ?
Kingdom of the Netherlands
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
149
Q805 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q881 Q826 Q822 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q854 Q819 Q424 Q730 Q236 Q230 Q232 Q233 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q833 Q1009 Q1008 Q971 Q970 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1016 Q1011 Q945 Q29 Q672 Q863 Q869 Q953
(c(Q838948)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Yemen Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Maldives Lebanon Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Laos Cambodia Suriname Montenegro Georgia Kazakhstan Malta Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Libya Cape Verde Togo Spain Tuvalu Tajikistan Thailand Zambia
149
[[{'concept': 'work of art'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q822722
P466
Q483110
USER
What is occupied by Partick Thistle F.C. ?
(c(Q483110),P466,Q822722)
action filter_type
action find_reverse
entity Q822722
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q822722']
SELECT DISTINCT ?q WHERE { ?q property:P466 resource:Q822722 . ?q rdf:type ontology:Q483110 }
Partick Thistle F.C.
action filter_type
action find_reverse
entity Partick Thistle F.C.
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Partick Thistle F.C.']
SELECT DISTINCT ?q WHERE { ?q property:occupant resource:Partick_Thistle_F.C. . ?q rdf:type ontology:stadium }
[]
stadium
Q1419068
SYSTEM
Firhill Stadium
Q1419068
(c(Q483110),P466,Q822722)
action filter_type
action find_reverse
entity Q822722
relation P466
type Q483110
[ANSWER] is occupied by Partick Thistle F.C.
[{'concept': 'Q483110'}, 'P466', 'Q822722']
SELECT DISTINCT ?q WHERE { ?q property:P466 resource:Q822722 . ?q rdf:type ontology:Q483110 }
Firhill Stadium
Firhill Stadium is occupied by Partick Thistle F.C.
Firhill Stadium
action filter_type
action find_reverse
entity Partick Thistle F.C.
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Partick Thistle F.C.']
SELECT DISTINCT ?q WHERE { ?q property:occupant resource:Partick_Thistle_F.C. . ?q rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1419068
P915
Q838948
USER
Which work of art was filmed at that stadium ?
(c(Q838948),P915,Q1419068)
action filter_type
action find_reverse
entity Q1419068
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1419068']
SELECT DISTINCT ?p WHERE { ?p property:P915 resource:Q1419068 . ?p rdf:type ontology:Q838948 }
Firhill Stadium
action filter_type
action find_reverse
entity Firhill Stadium
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Firhill Stadium']
SELECT DISTINCT ?p WHERE { ?p property:filming_location resource:Firhill_Stadium . ?p rdf:type ontology:work_of_art }
[]
work of art
Q109135
SYSTEM
Trainspotting
Q109135
(c(Q838948),P915,Q1419068)
action filter_type
action find_reverse
entity Q1419068
relation P915
type Q838948
[ANSWER] was filmed at that stadium
[{'concept': 'Q838948'}, 'P915', 'Q1419068']
SELECT DISTINCT ?p WHERE { ?p property:P915 resource:Q1419068 . ?p rdf:type ontology:Q838948 }
Trainspotting
Trainspotting was filmed at that stadium
Trainspotting
action filter_type
action find_reverse
entity Firhill Stadium
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Firhill Stadium']
SELECT DISTINCT ?p WHERE { ?p property:filming_location resource:Firhill_Stadium . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q109135
P86
Q502895
USER
Which person composed that work of art ?
(Q109135,P86,c(Q502895))
action filter_type
action find
entity Q109135
relation P86
type Q502895
['Q109135', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q109135 property:P86 ?r . ?r rdf:type ontology:Q502895 }
Trainspotting
action filter_type
action find
entity Trainspotting
relation composer
type common name
['Trainspotting', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Trainspotting property:composer ?r . ?r rdf:type ontology:common_name }
[]
common name
Q272069
SYSTEM
Damon Albarn
Q272069
(Q109135,P86,c(Q502895))
action filter_type
action find
entity Q109135
relation P86
type Q502895
[ANSWER] composed that work of art
['Q109135', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q109135 property:P86 ?r . ?r rdf:type ontology:Q502895 }
Damon Albarn
Damon Albarn composed that work of art
Damon Albarn
action filter_type
action find
entity Trainspotting
relation composer
type common name
['Trainspotting', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Trainspotting property:composer ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q272069
P106
Q151885 Q12737077
USER
How many concepts or occupations do Damon Albarn do for a living ?
(Q272069,P106,c(Q151885)) (Q272069,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q272069
relation P106
type Q151885
action filter_type
action find
entity Q272069
relation P106
type Q12737077
['Q272069', 'P106', {'concept': 'Q151885'}] ['Q272069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:Q151885 ) ( ontology:Q12737077 ) } . ?r rdf:type ?e }
Damon Albarn
action count
action union
action filter_type
action find
entity Damon Albarn
relation occupation
type concept
action filter_type
action find
entity Damon Albarn
relation occupation
type occupation
['Damon Albarn', 'occupation', {'concept': 'concept'}] ['Damon Albarn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:concept ) ( ontology:occupation ) } . ?r rdf:type ?e }
[]
concept occupation
SYSTEM
5
Q639669 Q177220 Q36834 Q855091 Q753110
(Q272069,P106,c(Q151885)) (Q272069,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q272069
relation P106
type Q151885
action filter_type
action find
entity Q272069
relation P106
type Q12737077
[ANSWER]
['Q272069', 'P106', {'concept': 'Q151885'}] ['Q272069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:Q151885 ) ( ontology:Q12737077 ) } . ?r rdf:type ?e }
musician singer composer guitarist songwriter
5
action count
action union
action filter_type
action find
entity Damon Albarn
relation occupation
type concept
action filter_type
action find
entity Damon Albarn
relation occupation
type occupation
['Damon Albarn', 'occupation', {'concept': 'concept'}] ['Damon Albarn', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { VALUES ( ?e ) { ( ontology:concept ) ( ontology:occupation ) } . ?r rdf:type ?e }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q4164871 Q192350
USER
Which administrative territories are judicially linked to atleast 1 positions or ministries ?
(c(Q4164871)|c(Q192350),P1001,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 1
[[{'concept': 'Q4164871'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?p WHERE { { ?r property:P1001 ?p . ?p rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q4164871 } UNION { ?r property:P1001 ?p . ?r rdf:type ontology:Q192350 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } }
action atleast
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 1
[[{'concept': 'position'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?p WHERE { { ?r property:applies_to_jurisdiction ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:position } UNION { ?r property:applies_to_jurisdiction ?p . ?r rdf:type ontology:ministry . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } }
[]
designation for an administrative territorial entity position ministry
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q419 Q668 Q414 Q142 Q145 Q262 Q148 Q189 Q31 Q37 Q837 Q213 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q739 Q822 Q1965 Q813 Q218 Q33 Q30 Q924 Q36 Q34 Q928 Q38 Q29999 Q854 Q819 Q424 Q230 Q232 Q233 Q20 Q27 Q28 Q843 Q184 Q1904 Q227 Q225 Q224 Q223 Q222 Q96 Q229 Q17 Q1989 Q1033 Q1030 Q191 Q962 Q115 Q117 Q212 Q211 Q217 Q214 Q219 Q154547 Q917 Q833 Q1008 Q836 Q29 Q79 Q858 Q948 Q1014 Q176 Q298 Q869 Q1231
(c(Q4164871)|c(Q192350),P1001,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q4164871
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 1
[ANSWERS] are judicially linked to atleast 1 positions or ministries
[[{'concept': 'Q4164871'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?p WHERE { { ?r property:P1001 ?p . ?p rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q4164871 } UNION { ?r property:P1001 ?p . ?r rdf:type ontology:Q192350 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } }
Israel Peru India Argentina France United Kingdom Algeria People's Republic of China Iceland Belgium Lithuania Nepal Czech Republic Serbia South Africa Portugal Russia Turkey Greece Brazil Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Colombia Lebanon New Brunswick Kyrgyzstan Romania Finland United States of America Tanzania Poland Sweden Philippines Italy Kingdom of the Netherlands Sri Lanka Laos Cambodia Georgia Kazakhstan Malta Norway Ireland Hungary Pakistan Belarus Ontario Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Mexico Cyprus Japan Saskatchewan Nigeria Namibia Estonia Benin Ethiopia Ghana Ukraine Latvia Republic of Moldova Slovakia Bulgaria duchy Bhutan Malaysia Côte d'Ivoire Myanmar Spain Egypt Syria Tunisia Liberia Quebec Chile Thailand Kosovo Region
Italy, Brazil and United States of America are judicially linked to atleast 1 positions or ministries
Italy Brazil United States of America
action atleast
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type position
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 1
[[{'concept': 'position'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?o >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) ?p WHERE { { ?r property:applies_to_jurisdiction ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:position } UNION { ?r property:applies_to_jurisdiction ?p . ?r rdf:type ontology:ministry . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4103505
P530
Q1048835
USER
Are Vaniushkyne known to have diplomatic connections with those administrative territories ?
(Q4103505,P530,Q38) (Q4103505,P530,Q155) (Q4103505,P530,Q30)
action is_in
entity prev_answer
action find
entity Q4103505
relation P530
['Q4103505', 'P530', 'Q38'] ['Q4103505', 'P530', 'Q155'] ['Q4103505', 'P530', 'Q30']
ASK WHERE { VALUES ( ?b ) { ( resource:Q801 ) ( resource:Q419 ) ( resource:Q668 ) } . resource:Q4103505 property:P530 ?b }
Vaniushkyne
action is_in
entity prev_answer
action find
entity Vaniushkyne
relation diplomatic relation
['Vaniushkyne', 'diplomatic relation', 'Italy'] ['Vaniushkyne', 'diplomatic relation', 'Brazil'] ['Vaniushkyne', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?b ) { ( resource:Israel ) ( resource:Peru ) ( resource:India ) } . resource:Vaniushkyne property:diplomatic_relation ?b }
[]
political territorial entity
SYSTEM
NO
(Q4103505,P530,Q38) (Q4103505,P530,Q155) (Q4103505,P530,Q30)
action is_in
entity prev_answer
action find
entity Q4103505
relation P530
[ANSWER]
['Q4103505', 'P530', 'Q38'] ['Q4103505', 'P530', 'Q155'] ['Q4103505', 'P530', 'Q30']
ASK WHERE { VALUES ( ?b ) { ( resource:Q801 ) ( resource:Q419 ) ( resource:Q668 ) } . resource:Q4103505 property:P530 ?b }
No
action is_in
entity prev_answer
action find
entity Vaniushkyne
relation diplomatic relation
['Vaniushkyne', 'diplomatic relation', 'Italy'] ['Vaniushkyne', 'diplomatic relation', 'Brazil'] ['Vaniushkyne', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?b ) { ( resource:Israel ) ( resource:Peru ) ( resource:India ) } . resource:Vaniushkyne property:diplomatic_relation ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1419068 Q192273
P915
Q838948
USER
How many works of art were filmed in the location Firhill Stadium or Karelia ?
(c(Q838948),P915,Q1419068) (c(Q838948),P915,Q192273)
action count
action union
action filter_type
action find_reverse
entity Q1419068
relation P915
type Q838948
action filter_type
action find_reverse
entity Q192273
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1419068'] [{'concept': 'Q838948'}, 'P915', 'Q192273']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { VALUES ( ?i ) { ( resource:Q1419068 ) ( resource:Q192273 ) } . ?o property:P915 ?i }
Firhill Stadium Karelia
action count
action union
action filter_type
action find_reverse
entity Firhill Stadium
relation filming location
type work of art
action filter_type
action find_reverse
entity Karelia
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Firhill Stadium'] [{'concept': 'work of art'}, 'filming location', 'Karelia']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { VALUES ( ?i ) { ( resource:Firhill_Stadium ) ( resource:Karelia ) } . ?o property:filming_location ?i }
[]
work of art
SYSTEM
2
Q109135 Q714531
(c(Q838948),P915,Q1419068) (c(Q838948),P915,Q192273)
action count
action union
action filter_type
action find_reverse
entity Q1419068
relation P915
type Q838948
action filter_type
action find_reverse
entity Q192273
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q1419068'] [{'concept': 'Q838948'}, 'P915', 'Q192273']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { VALUES ( ?i ) { ( resource:Q1419068 ) ( resource:Q192273 ) } . ?o property:P915 ?i }
Trainspotting The Dawns Here Are Quiet
2
action count
action union
action filter_type
action find_reverse
entity Firhill Stadium
relation filming location
type work of art
action filter_type
action find_reverse
entity Karelia
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Firhill Stadium'] [{'concept': 'work of art'}, 'filming location', 'Karelia']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { VALUES ( ?i ) { ( resource:Firhill_Stadium ) ( resource:Karelia ) } . ?o property:filming_location ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1419068
P17
Q15617994
USER
Which administrative territory is that stadium present in ?
action filter_type
action find
entity Q1419068
relation P17
type Q15617994
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q1419068 property:P17 ?b }
Firhill Stadium
action filter_type
action find
entity Firhill Stadium
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Firhill_Stadium property:country ?b }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q1419068
relation P17
type Q15617994
That stadium is the [ANSWER]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q1419068 property:P17 ?b }
United Kingdom
That stadium is the United Kingdom
United Kingdom
action filter_type
action find
entity Firhill Stadium
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Firhill_Stadium property:country ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P27
Q3243677 Q16979650
USER
How many Guantanamo Bay detaineess or sibling groups are a citizen of that administrative territory ?
(c(Q3243677),P27,Q145) (c(Q16979650),P27,Q145) (c(Q3243677),P27,Q145) (c(Q16979650),P27,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P27
type Q3243677
action filter_type
action find_reverse
entity Q145
relation P27
type Q16979650
[{'concept': 'Q3243677'}, 'P27', 'Q145'] [{'concept': 'Q16979650'}, 'P27', 'Q145'] [{'concept': 'Q3243677'}, 'P27', 'Q145'] [{'concept': 'Q16979650'}, 'P27', 'Q145']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o rdf:type ontology:Q3243677 . ?o property:P27 resource:Q145 } UNION { ?o property:P27 resource:Q145 . ?o rdf:type ontology:Q16979650 } }
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type Guantanamo Bay detainees
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type sibling group
[{'concept': 'Guantanamo Bay detainees'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'sibling group'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'Guantanamo Bay detainees'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'sibling group'}, 'country of citizenship', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o rdf:type ontology:Guantanamo_Bay_detainees . ?o property:country_of_citizenship resource:United_Kingdom } UNION { ?o property:country_of_citizenship resource:United_Kingdom . ?o rdf:type ontology:sibling_group } }
[]
Guantanamo Bay detainees sibling group
SYSTEM
4
Q5147611 Q6312457 Q1283275 Q4971327
(c(Q3243677),P27,Q145) (c(Q16979650),P27,Q145) (c(Q3243677),P27,Q145) (c(Q16979650),P27,Q145)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P27
type Q3243677
action filter_type
action find_reverse
entity Q145
relation P27
type Q16979650
[ANSWER]
[{'concept': 'Q3243677'}, 'P27', 'Q145'] [{'concept': 'Q16979650'}, 'P27', 'Q145'] [{'concept': 'Q3243677'}, 'P27', 'Q145'] [{'concept': 'Q16979650'}, 'P27', 'Q145']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o rdf:type ontology:Q3243677 . ?o property:P27 resource:Q145 } UNION { ?o property:P27 resource:Q145 . ?o rdf:type ontology:Q16979650 } }
Collyer brothers June and Jennifer Gibbons Kray twins British detainees at Guantanamo Bay
4
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type Guantanamo Bay detainees
action filter_type
action find_reverse
entity United Kingdom
relation country of citizenship
type sibling group
[{'concept': 'Guantanamo Bay detainees'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'sibling group'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'Guantanamo Bay detainees'}, 'country of citizenship', 'United Kingdom'] [{'concept': 'sibling group'}, 'country of citizenship', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { ?o rdf:type ontology:Guantanamo_Bay_detainees . ?o property:country_of_citizenship resource:United_Kingdom } UNION { ?o property:country_of_citizenship resource:United_Kingdom . ?o rdf:type ontology:sibling_group } }
[]