Simple Question (Direct)
Simple Question
Q2373366
P47
Q34442
USER
Which roads share border with rue Oberkampf ?
(Q2373366,P47,c(Q34442))
action filter_type
action find
entity Q2373366
relation P47
type Q34442
['Q2373366', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34442 . resource:Q2373366 property:P47 ?e }
rue Oberkampf
action filter_type
action find
entity rue Oberkampf
relation shares border with
type road
['rue Oberkampf', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:road . resource:rue_Oberkampf property:shares_border_with ?e }
[]
road
Q3449933 Q3450919 Q3446922
SYSTEM
rue Saint-Maur, rue de Ménilmontant, rue Amelot
Q3450856 Q2974651 Q3449290 Q3448066 Q3449246 Q3449933 Q3447550 Q2384080 Q3447514 Q3450919 Q3446922 Q3448386 Q3451418
(Q2373366,P47,c(Q34442))
action filter_type
action find
entity Q2373366
relation P47
type Q34442
[ANSWERS] share border with rue Oberkampf
['Q2373366', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34442 . resource:Q2373366 property:P47 ?e }
rue de Malte cité Durmar rue Neuve-Popincourt rue Gambey rue Moret rue Saint-Maur rue Crespin-du-Gast rue de Nemours rue Commines rue de Ménilmontant rue Amelot rue Jacquard rue de la Folie-Méricourt
Rue Saint-Maur, rue de Ménilmontant and rue Amelot share border with rue Oberkampf
rue Saint-Maur rue de Ménilmontant rue Amelot
action filter_type
action find
entity rue Oberkampf
relation shares border with
type road
['rue Oberkampf', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:road . resource:rue_Oberkampf property:shares_border_with ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2373366
P17
Q15617994
USER
Which administrative territory does rue Oberkampf belong to ?
(Q2373366,P17,c(Q15617994))
action filter_type
action find
entity Q2373366
relation P17
type Q15617994
['Q2373366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2373366 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
rue Oberkampf
action filter_type
action find
entity rue Oberkampf
relation country
type designation for an administrative territorial entity
['rue Oberkampf', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:rue_Oberkampf property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2373366,P17,c(Q15617994))
action filter_type
action find
entity Q2373366
relation P17
type Q15617994
Rue Oberkampf belongs to [ANSWER]
['Q2373366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q2373366 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
France
Rue Oberkampf belongs to France
France
action filter_type
action find
entity rue Oberkampf
relation country
type designation for an administrative territorial entity
['rue Oberkampf', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:rue_Oberkampf property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1411981
Q15617994
USER
And how about Figueiredo?
(Q1411981,P17,c(Q15617994))
action filter_type
action find
entity Q1411981
relation P17
type Q15617994
['Q1411981', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1411981 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Figueiredo
action filter_type
action find
entity Figueiredo
relation country
type designation for an administrative territorial entity
['Figueiredo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Figueiredo property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q1411981,P17,c(Q15617994))
action filter_type
action find
entity Q1411981
relation P17
type Q15617994
[ANSWER]
['Q1411981', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q1411981 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Portugal
Portugal
action filter_type
action find
entity Figueiredo
relation country
type designation for an administrative territorial entity
['Figueiredo', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Figueiredo property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories did around the same number of releases originate as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q45
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:Q2031291 . ?p rdf:type ontology:Q15617994 . ?s property:P495 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q45 property:P495 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?m ) }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Portugal
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:release . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:country_of_origin ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Portugal property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?m ) }
[]
designation for an administrative territorial entity release
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q45
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:Q2031291 . ?p rdf:type ontology:Q15617994 . ?s property:P495 ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q45 property:P495 ?u . ?u rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?m ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi 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 Namibia 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 Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Portugal
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?s ) AS ?a ) WHERE { ?s rdf:type ontology:release . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:country_of_origin ?p } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Portugal property:country_of_origin ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with around 30 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?a = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?a = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 30
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?a = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?m } }
Russia United States of America
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 30
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { FILTER ( ?a = 30 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P276
Q878123
USER
Which racing has its location as Portugal ?
(c(Q878123),P276,Q45)
action filter_type
action find_reverse
entity Q45
relation P276
type Q878123
[{'concept': 'Q878123'}, 'P276', 'Q45']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q45 . ?f rdf:type ontology:Q878123 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation location
type racing
[{'concept': 'racing'}, 'location', 'Portugal']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Portugal . ?f rdf:type ontology:racing }
[]
racing
Q24075459
SYSTEM
Volta Internacional Cova da Beira
Q24075459
(c(Q878123),P276,Q45)
action filter_type
action find_reverse
entity Q45
relation P276
type Q878123
[ANSWER] has its location as Portugal
[{'concept': 'Q878123'}, 'P276', 'Q45']
SELECT DISTINCT ?f WHERE { ?f property:P276 resource:Q45 . ?f rdf:type ontology:Q878123 }
Volta Internacional Cova da Beira
Volta Internacional Cova da Beira has its location as Portugal
Volta Internacional Cova da Beira
action filter_type
action find_reverse
entity Portugal
relation location
type racing
[{'concept': 'racing'}, 'location', 'Portugal']
SELECT DISTINCT ?f WHERE { ?f property:location resource:Portugal . ?f rdf:type ontology:racing }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P1408
Q2001305
USER
Which television channel is licensed to broadcast to Portugal ?
(c(Q2001305),P1408,Q45)
action filter_type
action find_reverse
entity Q45
relation P1408
type Q2001305
[{'concept': 'Q2001305'}, 'P1408', 'Q45']
SELECT DISTINCT ?t WHERE { ?t property:P1408 resource:Q45 . ?t rdf:type ontology:Q2001305 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation licensed to broadcast to
type television channel
[{'concept': 'television channel'}, 'licensed to broadcast to', 'Portugal']
SELECT DISTINCT ?t WHERE { ?t property:licensed_to_broadcast_to resource:Portugal . ?t rdf:type ontology:television_channel }
[]
television channel
Q18349016
SYSTEM
24Kitchen
Q18349016
(c(Q2001305),P1408,Q45)
action filter_type
action find_reverse
entity Q45
relation P1408
type Q2001305
[ANSWER] is licensed to broadcast to Portugal
[{'concept': 'Q2001305'}, 'P1408', 'Q45']
SELECT DISTINCT ?t WHERE { ?t property:P1408 resource:Q45 . ?t rdf:type ontology:Q2001305 }
24Kitchen
24Kitchen is licensed to broadcast to Portugal
24Kitchen
action filter_type
action find_reverse
entity Portugal
relation licensed to broadcast to
type television channel
[{'concept': 'television channel'}, 'licensed to broadcast to', 'Portugal']
SELECT DISTINCT ?t WHERE { ?t property:licensed_to_broadcast_to resource:Portugal . ?t rdf:type ontology:television_channel }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P706
Q15401699
USER
Which archaeological age has its location as Portugal ?
(c(Q15401699),P706,Q45)
action filter_type
action find_reverse
entity Q45
relation P706
type Q15401699
[{'concept': 'Q15401699'}, 'P706', 'Q45']
SELECT DISTINCT ?i WHERE { ?i property:P706 resource:Q45 . ?i rdf:type ontology:Q15401699 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation located on terrain feature
type archaeological age
[{'concept': 'archaeological age'}, 'located on terrain feature', 'Portugal']
SELECT DISTINCT ?i WHERE { ?i property:located_on_terrain_feature resource:Portugal . ?i rdf:type ontology:archaeological_age }
[]
archaeological age
Q2629081
SYSTEM
Atlantic Bronze Age
Q2629081
(c(Q15401699),P706,Q45)
action filter_type
action find_reverse
entity Q45
relation P706
type Q15401699
The [ANSWER] has its location as Portugal
[{'concept': 'Q15401699'}, 'P706', 'Q45']
SELECT DISTINCT ?i WHERE { ?i property:P706 resource:Q45 . ?i rdf:type ontology:Q15401699 }
Atlantic Bronze Age
The Atlantic Bronze Age has its location as Portugal
Atlantic Bronze Age
action filter_type
action find_reverse
entity Portugal
relation located on terrain feature
type archaeological age
[{'concept': 'archaeological age'}, 'located on terrain feature', 'Portugal']
SELECT DISTINCT ?i WHERE { ?i property:located_on_terrain_feature resource:Portugal . ?i rdf:type ontology:archaeological_age }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q180516
USER
Which room was France a member of ?
(Q142,P463,c(Q180516))
action filter_type
action find
entity Q142
relation P463
type Q180516
['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?k WHERE { resource:Q142 property:P463 ?k . ?k rdf:type ontology:Q180516 }
France
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?k WHERE { resource:France property:member_of ?k . ?k rdf:type ontology:room }
[]
room
Q141720
SYSTEM
European Air Transport Command
Q141720
(Q142,P463,c(Q180516))
action filter_type
action find
entity Q142
relation P463
type Q180516
Which room was France a member of
['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?k WHERE { resource:Q142 property:P463 ?k . ?k rdf:type ontology:Q180516 }
European Air Transport Command
Which room was France a member of
European Air Transport Command
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?k WHERE { resource:France property:member_of ?k . ?k rdf:type ontology:room }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q142
Q874405
USER
And which social group?
(Q142,P463,c(Q874405))
action filter_type
action find
entity Q142
relation P463
type Q874405
['Q142', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q142 property:P463 ?m . ?m rdf:type ontology:Q874405 }
France
action filter_type
action find
entity France
relation member of
type social group
['France', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:France property:member_of ?m . ?m rdf:type ontology:social_group }
[]
social group
Q8908 Q782942
SYSTEM
Council of Europe, Australia Group
Q8908 Q782942
(Q142,P463,c(Q874405))
action filter_type
action find
entity Q142
relation P463
type Q874405
[ANSWERS]
['Q142', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q142 property:P463 ?m . ?m rdf:type ontology:Q874405 }
Council of Europe Australia Group
Council of Europe Australia Group
action filter_type
action find
entity France
relation member of
type social group
['France', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:France property:member_of ?m . ?m rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q46941
P463
Q15617994
USER
Do Negrar have a membership of those social groups ?
(Q46941,P463,Q8908) (Q46941,P463,Q782942)
action is_in
entity prev_answer
action find
entity Q46941
relation P463
['Q46941', 'P463', 'Q8908'] ['Q46941', 'P463', 'Q782942']
ASK WHERE { resource:Q46941 property:P463 ?s . VALUES ( ?s ) { ( resource:Q8908 ) ( resource:Q782942 ) } }
Negrar
action is_in
entity prev_answer
action find
entity Negrar
relation member of
['Negrar', 'member of', 'Council of Europe'] ['Negrar', 'member of', 'Australia Group']
ASK WHERE { resource:Negrar property:member_of ?s . VALUES ( ?s ) { ( resource:Council_of_Europe ) ( resource:Australia_Group ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q46941,P463,Q8908) (Q46941,P463,Q782942)
action is_in
entity prev_answer
action find
entity Q46941
relation P463
[ANSWER]
['Q46941', 'P463', 'Q8908'] ['Q46941', 'P463', 'Q782942']
ASK WHERE { resource:Q46941 property:P463 ?s . VALUES ( ?s ) { ( resource:Q8908 ) ( resource:Q782942 ) } }
No
action is_in
entity prev_answer
action find
entity Negrar
relation member of
['Negrar', 'member of', 'Council of Europe'] ['Negrar', 'member of', 'Australia Group']
ASK WHERE { resource:Negrar property:member_of ?s . VALUES ( ?s ) { ( resource:Council_of_Europe ) ( resource:Australia_Group ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q45
P463
Q484652 Q874405
USER
How many international organizations or social groups had Portugal as their member ?
(Q45,P463,c(Q484652)) (Q45,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q45
relation P463
type Q484652
action filter_type
action find
entity Q45
relation P463
type Q874405
['Q45', 'P463', {'concept': 'Q484652'}] ['Q45', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q484652 ) ( ontology:Q874405 ) } }
Portugal
action count
action union
action filter_type
action find
entity Portugal
relation member of
type international organization
action filter_type
action find
entity Portugal
relation member of
type social group
['Portugal', 'member of', {'concept': 'international organization'}] ['Portugal', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:international_organization ) ( ontology:social_group ) } }
[]
international organization social group
SYSTEM
8
Q8908 Q81299 Q782942 Q7184 Q1043527 Q1065 Q188822 Q42262
(Q45,P463,c(Q484652)) (Q45,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q45
relation P463
type Q484652
action filter_type
action find
entity Q45
relation P463
type Q874405
[ANSWER]
['Q45', 'P463', {'concept': 'Q484652'}] ['Q45', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:Q484652 ) ( ontology:Q874405 ) } }
Council of Europe Organization for Security and Co-operation in Europe Australia Group North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency United Nations Asian Development Bank European Space Agency
8
action count
action union
action filter_type
action find
entity Portugal
relation member of
type international organization
action filter_type
action find
entity Portugal
relation member of
type social group
['Portugal', 'member of', {'concept': 'international organization'}] ['Portugal', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { ?p rdf:type ?j . VALUES ( ?j ) { ( ontology:international_organization ) ( ontology:social_group ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q874405 Q483110
USER
Which stadia can be described as facility operator of approximately 1 social group ?
(c(Q483110),P137,c(Q874405))
action approx
action find_tuple_counts
relation P137
type Q483110
type Q874405
value 1
[{'concept': 'Q483110'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?n ) WHERE { ?f property:P137 ?y . ?f rdf:type ontology:Q483110 . ?y rdf:type ontology:Q874405 } GROUP BY ?f } . FILTER ( ?n = 1 ) }
action approx
action find_tuple_counts
relation operator
type stadium
type social group
value 1
[{'concept': 'stadium'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?n ) WHERE { ?f property:operator ?y . ?f rdf:type ontology:stadium . ?y rdf:type ontology:social_group } GROUP BY ?f } . FILTER ( ?n = 1 ) }
[]
social group stadium
Q3058824
SYSTEM
Estadio Universitario Alberto Chivo Cordova
Q3058824
(c(Q483110),P137,c(Q874405))
action approx
action find_tuple_counts
relation P137
type Q483110
type Q874405
value 1
[ANSWER] can be described as facility operator of approximately 1 social group
[{'concept': 'Q483110'}, 'P137', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?n ) WHERE { ?f property:P137 ?y . ?f rdf:type ontology:Q483110 . ?y rdf:type ontology:Q874405 } GROUP BY ?f } . FILTER ( ?n = 1 ) }
Estadio Universitario Alberto Chivo Cordova
Estadio Universitario Alberto Chivo Cordova can be described as facility operator of approximately 1 social group
Estadio Universitario Alberto Chivo Cordova
action approx
action find_tuple_counts
relation operator
type stadium
type social group
value 1
[{'concept': 'stadium'}, 'operator', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?y ) AS ?n ) WHERE { ?f property:operator ?y . ?f rdf:type ontology:stadium . ?y rdf:type ontology:social_group } GROUP BY ?f } . FILTER ( ?n = 1 ) }
[]