Simple Question (Direct)
Simple Question
Q3368990
P106
Q12737077
USER
Which occupations have Patrice Maktav as his/her 's career ?
(Q3368990,P106,c(Q12737077))
action filter_type
action find
entity Q3368990
relation P106
type Q12737077
['Q3368990', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q3368990 property:P106 ?y }
Patrice Maktav
action filter_type
action find
entity Patrice Maktav
relation occupation
type occupation
['Patrice Maktav', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Patrice_Maktav property:occupation ?y }
[]
occupation
Q33999 Q177220
SYSTEM
actor, singer
Q33999 Q177220
(Q3368990,P106,c(Q12737077))
action filter_type
action find
entity Q3368990
relation P106
type Q12737077
The [ANSWERS] have Patrice Maktav as his/her 's career
['Q3368990', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q3368990 property:P106 ?y }
actor singer
The actor and singer have Patrice Maktav as his/her 's career
actor singer
action filter_type
action find
entity Patrice Maktav
relation occupation
type occupation
['Patrice Maktav', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Patrice_Maktav property:occupation ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3368990
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q33999,P19,c(Q20667921)) (Q177220,P19,c(Q20667921))
action filter_type
action find
entity Q3368990
relation P19
type Q20667921
['Q33999', 'P19', {'concept': 'Q20667921'}] ['Q177220', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q3368990 property:P19 ?c . ?c rdf:type ontology:Q20667921 }
Patrice Maktav
action filter_type
action find
entity Patrice Maktav
relation place of birth
type type of french administrative division
['actor', 'place of birth', {'concept': 'type of french administrative division'}] ['singer', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Patrice_Maktav property:place_of_birth ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q50189
SYSTEM
Annecy
Q50189
(Q33999,P19,c(Q20667921)) (Q177220,P19,c(Q20667921))
action filter_type
action find
entity Q3368990
relation P19
type Q20667921
That person was born in [ANSWER]
['Q33999', 'P19', {'concept': 'Q20667921'}] ['Q177220', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?c WHERE { resource:Q3368990 property:P19 ?c . ?c rdf:type ontology:Q20667921 }
Annecy
That person was born in Annecy
Annecy
action filter_type
action find
entity Patrice Maktav
relation place of birth
type type of french administrative division
['actor', 'place of birth', {'concept': 'type of french administrative division'}] ['singer', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?c WHERE { resource:Patrice_Maktav property:place_of_birth ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3545248 Q3368990
P27
Q15617994
USER
Which administrative territories do Patrice Maktav or Gloc-9 belong to ?
OR((Q3368990,P27,c(Q15617994)), (Q3545248,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3368990
relation P27
action find
entity Q3545248
relation P27
type Q15617994
{'OR': [['Q3368990', 'P27', {'concept': 'Q15617994'}], ['Q3545248', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { ?a property:P27 ?s . VALUES ( ?a ) { ( resource:Q3368990 ) ( resource:Q3545248 ) } } . ?s rdf:type ontology:Q15617994 }
Gloc-9 Patrice Maktav
action filter_type
action union
action find
entity Patrice Maktav
relation country of citizenship
action find
entity Gloc-9
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Patrice Maktav', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gloc-9', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?a property:country_of_citizenship ?s . VALUES ( ?a ) { ( resource:Patrice_Maktav ) ( resource:Gloc-9 ) } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q928
SYSTEM
France, Philippines
Q142 Q928
OR((Q3368990,P27,c(Q15617994)), (Q3545248,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3368990
relation P27
action find
entity Q3545248
relation P27
type Q15617994
Patrice Maktav or Gloc-9 belong to [ANSWERS]
{'OR': [['Q3368990', 'P27', {'concept': 'Q15617994'}], ['Q3545248', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { ?a property:P27 ?s . VALUES ( ?a ) { ( resource:Q3368990 ) ( resource:Q3545248 ) } } . ?s rdf:type ontology:Q15617994 }
France Philippines
Patrice Maktav or Gloc-9 belong to France and Philippines
France Philippines
action filter_type
action union
action find
entity Patrice Maktav
relation country of citizenship
action find
entity Gloc-9
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Patrice Maktav', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gloc-9', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { ?a property:country_of_citizenship ?s . VALUES ( ?a ) { ( resource:Patrice_Maktav ) ( resource:Gloc-9 ) } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with exactly 4 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?h ) WHERE { ?w property:P530 ?f . ?w rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?h = 4 ) }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?h ) WHERE { ?w property:diplomatic_relation ?f . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?h = 4 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q213 Q948 Q252
SYSTEM
Czech Republic, Tunisia, Indonesia
Q414 Q252 Q796 Q794 Q27 Q222 Q213 Q79 Q948
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 4
[ANSWERS] are known to have diplomatic connections with exactly 4 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?h ) WHERE { ?w property:P530 ?f . ?w rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?h = 4 ) }
Argentina Indonesia Iraq Iran Ireland Albania Czech Republic Egypt Tunisia
Czech Republic, Tunisia and Indonesia are known to have diplomatic connections with exactly 4 administrative territories
Czech Republic Tunisia Indonesia
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?h ) WHERE { ?w property:diplomatic_relation ?f . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?h = 4 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q1292279 Q12737077
USER
How many administrative territories are judicially linked to around 30 political borders or occupations ?
(c(Q1292279)|c(Q12737077),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
value 30
[[{'concept': 'Q1292279'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1292279 ) ( ontology:Q12737077 ) } } GROUP BY ?u } . FILTER ( ?f = 30 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
value 30
[[{'concept': 'political border'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:political_border ) ( ontology:occupation ) } } GROUP BY ?u } . FILTER ( ?f = 30 ) }
[]
designation for an administrative territorial entity political border occupation
SYSTEM
20
Q801 Q419 Q668 Q55 Q148 Q717 Q403 Q159 Q794 Q218 Q33 Q36 Q34 Q928 Q38 Q20 Q27 Q843 Q17 Q191
(c(Q1292279)|c(Q12737077),P1001,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q1292279
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q12737077
value 30
[ANSWER]
[[{'concept': 'Q1292279'}, {'concept': 'Q12737077'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1292279 ) ( ontology:Q12737077 ) } } GROUP BY ?u } . FILTER ( ?f = 30 ) }
Israel Peru India Netherlands People's Republic of China Venezuela Serbia Russia Iran Romania Finland Poland Sweden Philippines Italy Norway Ireland Pakistan Japan Estonia
20
action count
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type political border
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type occupation
value 30
[[{'concept': 'political border'}, {'concept': 'occupation'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ?q . VALUES ( ?q ) { ( ontology:political_border ) ( ontology:occupation ) } } GROUP BY ?u } . FILTER ( ?f = 30 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5437227 Q50189
P17
Q15617994
USER
Which administrative territories do Annecy or Fat Tong Chau belong to ?
OR((Q50189,P17,c(Q15617994)), (Q5437227,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q50189
relation P17
action find
entity Q5437227
relation P17
type Q15617994
{'OR': [['Q50189', 'P17', {'concept': 'Q15617994'}], ['Q5437227', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q50189 property:P17 ?m } UNION { resource:Q5437227 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Fat Tong Chau Annecy
action filter_type
action union
action find
entity Annecy
relation country
action find
entity Fat Tong Chau
relation country
type designation for an administrative territorial entity
{'OR': [['Annecy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fat Tong Chau', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Annecy property:country ?m } UNION { resource:Fat_Tong_Chau property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q148
SYSTEM
France, People's Republic of China
Q142 Q148
OR((Q50189,P17,c(Q15617994)), (Q5437227,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q50189
relation P17
action find
entity Q5437227
relation P17
type Q15617994
Annecy or Fat Tong Chau belong to [ANSWERS]
{'OR': [['Q50189', 'P17', {'concept': 'Q15617994'}], ['Q5437227', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q50189 property:P17 ?m } UNION { resource:Q5437227 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
France People's Republic of China
Annecy or Fat Tong Chau belong to France and People's Republic of China
France People's Republic of China
action filter_type
action union
action find
entity Annecy
relation country
action find
entity Fat Tong Chau
relation country
type designation for an administrative territorial entity
{'OR': [['Annecy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Fat Tong Chau', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Annecy property:country ?m } UNION { resource:Fat_Tong_Chau property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19570724
P495
Q838948
USER
Did Aatmabalam originate in those administrative territories ?
(Q19570724,P495,Q142) (Q19570724,P495,Q148)
action is_in
entity prev_answer
action find
entity Q19570724
relation P495
['Q19570724', 'P495', 'Q142'] ['Q19570724', 'P495', 'Q148']
ASK WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q148 ) } . resource:Q19570724 property:P495 ?k }
Aatmabalam
action is_in
entity prev_answer
action find
entity Aatmabalam
relation country of origin
['Aatmabalam', 'country of origin', 'France'] ['Aatmabalam', 'country of origin', "People's Republic of China"]
ASK WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:People's_Republic_of_China ) } . resource:Aatmabalam property:country_of_origin ?k }
[]
work of art
SYSTEM
NO
(Q19570724,P495,Q142) (Q19570724,P495,Q148)
action is_in
entity prev_answer
action find
entity Q19570724
relation P495
[ANSWER]
['Q19570724', 'P495', 'Q142'] ['Q19570724', 'P495', 'Q148']
ASK WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q148 ) } . resource:Q19570724 property:P495 ?k }
No
action is_in
entity prev_answer
action find
entity Aatmabalam
relation country of origin
['Aatmabalam', 'country of origin', 'France'] ['Aatmabalam', 'country of origin', "People's Republic of China"]
ASK WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:People's_Republic_of_China ) } . resource:Aatmabalam property:country_of_origin ?k }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q340628
P840
Q15617994 Q2342494 Q838948
USER
How many administrative territories are approximately the same number of collectables and works of art set in as Aggius ?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q340628
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P840 resource:Q340628 . { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?m rdf:type ?k } } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?i rdf:type ?j } GROUP BY ?e } }
Aggius
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Aggius
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:narrative_location resource:Aggius . { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?m rdf:type ?k } } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?i rdf:type ?j } GROUP BY ?e } }
[]
designation for an administrative territorial entity collectable work of art
SYSTEM
142
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q340628
relation P840
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P840 resource:Q340628 . { VALUES ( ?k ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?m rdf:type ?k } } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?i rdf:type ?j } GROUP BY ?e } }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
142
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Aggius
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:narrative_location resource:Aggius . { VALUES ( ?k ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?m rdf:type ?k } } } . FILTER ( ?b = ?o ) . { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?j ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?i rdf:type ?j } GROUP BY ?e } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1045
P840
Q15617994 Q2342494 Q838948
USER
And how about Somalia?
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1045
relation P840
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?p WHERE { { ?i property:P840 ?p . ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q838948 . ?i property:P840 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P840 resource:Q1045 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?l ) }
Somalia
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Somalia
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?p WHERE { { ?i property:narrative_location ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:collectable } UNION { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:work_of_art . ?i property:narrative_location ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:narrative_location resource:Somalia . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?l ) }
[]
designation for an administrative territorial entity collectable work of art
SYSTEM
142
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q142 Q1948 Q145 Q262 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q159 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q37 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q2342494)|c(Q838948),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1045
relation P840
type Q2342494
type Q838948
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?p WHERE { { ?i property:P840 ?p . ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q2342494 } UNION { ?p rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q838948 . ?i property:P840 ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:P840 resource:Q1045 . { { ?e rdf:type ontology:Q2342494 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?l ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime France Manitoba United Kingdom Algeria Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Russia Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Lithuania Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
142
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Somalia
relation narrative location
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?p WHERE { { ?i property:narrative_location ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:collectable } UNION { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:work_of_art . ?i property:narrative_location ?p } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { ?e property:narrative_location resource:Somalia . { { ?e rdf:type ontology:collectable } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q928 Q851
P463
Q484652
USER
How many international organizations were Philippines and Saudi Arabia a member of ?
(Q928,P463,c(Q484652)) (Q851,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q928
relation P463
type Q484652
action filter_type
action find
entity Q851
relation P463
type Q484652
['Q928', 'P463', {'concept': 'Q484652'}] ['Q851', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q928 property:P463 ?q . ?q rdf:type ontology:Q484652 . resource:Q851 property:P463 ?q . ?q rdf:type ontology:Q484652 }
Philippines Saudi Arabia
action count
action intersection
action filter_type
action find
entity Philippines
relation member of
type international organization
action filter_type
action find
entity Saudi Arabia
relation member of
type international organization
['Philippines', 'member of', {'concept': 'international organization'}] ['Saudi Arabia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Philippines property:member_of ?q . ?q rdf:type ontology:international_organization . resource:Saudi_Arabia property:member_of ?q . ?q rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q928,P463,c(Q484652)) (Q851,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q928
relation P463
type Q484652
action filter_type
action find
entity Q851
relation P463
type Q484652
[ANSWER]
['Q928', 'P463', {'concept': 'Q484652'}] ['Q851', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q928 property:P463 ?q . ?q rdf:type ontology:Q484652 . resource:Q851 property:P463 ?q . ?q rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Philippines
relation member of
type international organization
action filter_type
action find
entity Saudi Arabia
relation member of
type international organization
['Philippines', 'member of', {'concept': 'international organization'}] ['Saudi Arabia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Philippines property:member_of ?q . ?q rdf:type ontology:international_organization . resource:Saudi_Arabia property:member_of ?q . ?q rdf:type ontology:international_organization }
[]