Simple Question (Direct)
Simple Question
Q14636341
P19
Q15617994
USER
Which administrative territory is the birthplace of Giorgio Agostinelli ?
(Q14636341,P19,c(Q15617994))
action filter_type
action find
entity Q14636341
relation P19
type Q15617994
['Q14636341', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q14636341 property:P19 ?v }
Giorgio Agostinelli
action filter_type
action find
entity Giorgio Agostinelli
relation place of birth
type designation for an administrative territorial entity
['Giorgio Agostinelli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giorgio_Agostinelli property:place_of_birth ?v }
[]
designation for an administrative territorial entity
Q6247
SYSTEM
Mantua
Q6247
(Q14636341,P19,c(Q15617994))
action filter_type
action find
entity Q14636341
relation P19
type Q15617994
[ANSWER] is the birthplace of Giorgio Agostinelli
['Q14636341', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q14636341 property:P19 ?v }
Mantua
Mantua is the birthplace of Giorgio Agostinelli
Mantua
action filter_type
action find
entity Giorgio Agostinelli
relation place of birth
type designation for an administrative territorial entity
['Giorgio Agostinelli', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Giorgio_Agostinelli property:place_of_birth ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14636341
P641
Q349
USER
Which sport was Giorgio Agostinelli a part of ?
(Q14636341,P641,c(Q349))
action filter_type
action find
entity Q14636341
relation P641
type Q349
['Q14636341', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q14636341 property:P641 ?s . ?s rdf:type ontology:Q349 }
Giorgio Agostinelli
action filter_type
action find
entity Giorgio Agostinelli
relation sport
type sport
['Giorgio Agostinelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Giorgio_Agostinelli property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q14636341,P641,c(Q349))
action filter_type
action find
entity Q14636341
relation P641
type Q349
Which sport was Giorgio Agostinelli a part of
['Q14636341', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q14636341 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Which sport was Giorgio Agostinelli a part of
association football
action filter_type
action find
entity Giorgio Agostinelli
relation sport
type sport
['Giorgio Agostinelli', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Giorgio_Agostinelli property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14636341
P21
Q290
USER
Which sex does Giorgio Agostinelli have ?
(Q14636341,P21,c(Q290))
action filter_type
action find
entity Q14636341
relation P21
type Q290
['Q14636341', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q14636341 property:P21 ?r . ?r rdf:type ontology:Q290 }
Giorgio Agostinelli
action filter_type
action find
entity Giorgio Agostinelli
relation gender
type sex
['Giorgio Agostinelli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Giorgio_Agostinelli property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q14636341,P21,c(Q290))
action filter_type
action find
entity Q14636341
relation P21
type Q290
Giorgio Agostinelli has a [ANSWER]
['Q14636341', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q14636341 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Giorgio Agostinelli has a male
male
action filter_type
action find
entity Giorgio Agostinelli
relation gender
type sex
['Giorgio Agostinelli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Giorgio_Agostinelli property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11540076
Q290
USER
And what about Fujio Morita?
(Q11540076,P21,c(Q290))
action filter_type
action find
entity Q11540076
relation P21
type Q290
['Q11540076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11540076 property:P21 ?x . ?x rdf:type ontology:Q290 }
Fujio Morita
action filter_type
action find
entity Fujio Morita
relation gender
type sex
['Fujio Morita', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Fujio_Morita property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11540076,P21,c(Q290))
action filter_type
action find
entity Q11540076
relation P21
type Q290
[ANSWER]
['Q11540076', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q11540076 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Fujio Morita
relation gender
type sex
['Fujio Morita', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Fujio_Morita property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11540076
P344
Q36649
USER
Which visual arts has that person as cinematographer ?
(c(Q36649),P344,Q6581097)
action filter_type
action find_reverse
entity Q11540076
relation P344
type Q36649
[{'concept': 'Q36649'}, 'P344', 'Q6581097']
SELECT DISTINCT ?d WHERE { ?d property:P344 resource:Q11540076 . ?d rdf:type ontology:Q36649 }
Fujio Morita
action filter_type
action find_reverse
entity Fujio Morita
relation director of photography
type visual arts
[{'concept': 'visual arts'}, 'director of photography', 'male']
SELECT DISTINCT ?d WHERE { ?d property:director_of_photography resource:Fujio_Morita . ?d rdf:type ontology:visual_arts }
[]
visual arts
Q1165332
SYSTEM
Daimajin trilogy
Q1165332
(c(Q36649),P344,Q6581097)
action filter_type
action find_reverse
entity Q11540076
relation P344
type Q36649
[ANSWER] has that person as cinematographer
[{'concept': 'Q36649'}, 'P344', 'Q6581097']
SELECT DISTINCT ?d WHERE { ?d property:P344 resource:Q11540076 . ?d rdf:type ontology:Q36649 }
Daimajin trilogy
Daimajin trilogy has that person as cinematographer
Daimajin trilogy
action filter_type
action find_reverse
entity Fujio Morita
relation director of photography
type visual arts
[{'concept': 'visual arts'}, 'director of photography', 'male']
SELECT DISTINCT ?d WHERE { ?d property:director_of_photography resource:Fujio_Morita . ?d rdf:type ontology:visual_arts }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1165332 Q17
P495
Q15617994
USER
Is Japan the country of origin of Daimajin trilogy ?
(Q1165332,P495,Q17)
action is_in
entity Q17
action find
entity Q1165332
relation P495
['Q1165332', 'P495', 'Q17']
ASK WHERE { resource:Q1165332 property:P495 resource:Q17 }
Daimajin trilogy Japan
action is_in
entity Japan
action find
entity Daimajin trilogy
relation country of origin
['Daimajin trilogy', 'country of origin', 'Japan']
ASK WHERE { resource:Daimajin_trilogy property:country_of_origin resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1165332,P495,Q17)
action is_in
entity Q17
action find
entity Q1165332
relation P495
[ANSWER]
['Q1165332', 'P495', 'Q17']
ASK WHERE { resource:Q1165332 property:P495 resource:Q17 }
Yes
action is_in
entity Japan
action find
entity Daimajin trilogy
relation country of origin
['Daimajin trilogy', 'country of origin', 'Japan']
ASK WHERE { resource:Daimajin_trilogy property:country_of_origin resource:Japan }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q500834
USER
How many sports did exactly 18 people and tournaments participate in ?
(c(Q502895)|c(Q500834),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
value 18
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } } GROUP BY ?i } . FILTER ( ?o = 18 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
value 18
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:tournament ) } } GROUP BY ?i } . FILTER ( ?o = 18 ) }
[]
sport common name tournament
SYSTEM
2
Q170737 Q902378
(c(Q502895)|c(Q500834),P641,c(Q349))
action count
action equal
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
value 18
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q500834'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:Q502895 ) ( ontology:Q500834 ) } } GROUP BY ?i } . FILTER ( ?o = 18 ) }
long jump equestrian sport
2
action count
action equal
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type tournament
value 18
[[{'concept': 'common name'}, {'concept': 'tournament'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?o ) WHERE { ?m rdf:type ?s . VALUES ( ?s ) { ( ontology:common_name ) ( ontology:tournament ) } } GROUP BY ?i } . FILTER ( ?o = 18 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6247
P47
Q56061
USER
Which administrative territory shares border with Mantua ?
(Q6247,P47,c(Q56061))
action filter_type
action find
entity Q6247
relation P47
type Q56061
['Q6247', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q6247 property:P47 ?g . ?g rdf:type ontology:Q56061 }
Mantua
action filter_type
action find
entity Mantua
relation shares border with
type administrative territorial entity
['Mantua', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mantua property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42655
SYSTEM
Virgilio
Q42655
(Q6247,P47,c(Q56061))
action filter_type
action find
entity Q6247
relation P47
type Q56061
[ANSWER] shares border with Mantua
['Q6247', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q6247 property:P47 ?g . ?g rdf:type ontology:Q56061 }
Virgilio
Virgilio shares border with Mantua
Virgilio
action filter_type
action find
entity Mantua
relation shares border with
type administrative territorial entity
['Mantua', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Mantua property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q6247
Q15617994
USER
And which administrative territory?
(Q6247,P47,c(Q15617994))
action filter_type
action find
entity Q6247
relation P47
type Q15617994
['Q6247', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q6247 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Mantua
action filter_type
action find
entity Mantua
relation shares border with
type designation for an administrative territorial entity
['Mantua', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Mantua property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43025 Q42334 Q42212
SYSTEM
Curtatone, Roncoferraro, Porto Mantovano
Q42357 Q42355 Q43025 Q42334 Q42212
(Q6247,P47,c(Q15617994))
action filter_type
action find
entity Q6247
relation P47
type Q15617994
[ANSWERS]
['Q6247', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q6247 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
San Giorgio di Mantova Bagnolo San Vito Curtatone Roncoferraro Porto Mantovano
Curtatone Roncoferraro Porto Mantovano
action filter_type
action find
entity Mantua
relation shares border with
type designation for an administrative territorial entity
['Mantua', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Mantua property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6247
P47
Q15617994
USER
Are Mantua bordered by those ones ?
(Q6247,P47,Q43025) (Q6247,P47,Q42334) (Q6247,P47,Q42212)
action is_in
entity prev_answer
action find
entity Q6247
relation P47
['Q6247', 'P47', 'Q43025'] ['Q6247', 'P47', 'Q42334'] ['Q6247', 'P47', 'Q42212']
ASK WHERE { resource:Q6247 property:P47 ?u . VALUES ( ?u ) { ( resource:Q42357 ) ( resource:Q42355 ) ( resource:Q43025 ) } }
Mantua
action is_in
entity prev_answer
action find
entity Mantua
relation shares border with
['Mantua', 'shares border with', 'Curtatone'] ['Mantua', 'shares border with', 'Roncoferraro'] ['Mantua', 'shares border with', 'Porto Mantovano']
ASK WHERE { resource:Mantua property:shares_border_with ?u . VALUES ( ?u ) { ( resource:San_Giorgio_di_Mantova ) ( resource:Bagnolo_San_Vito ) ( resource:Curtatone ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6247,P47,Q43025) (Q6247,P47,Q42334) (Q6247,P47,Q42212)
action is_in
entity prev_answer
action find
entity Q6247
relation P47
[ANSWER]
['Q6247', 'P47', 'Q43025'] ['Q6247', 'P47', 'Q42334'] ['Q6247', 'P47', 'Q42212']
ASK WHERE { resource:Q6247 property:P47 ?u . VALUES ( ?u ) { ( resource:Q42357 ) ( resource:Q42355 ) ( resource:Q43025 ) } }
Yes
action is_in
entity prev_answer
action find
entity Mantua
relation shares border with
['Mantua', 'shares border with', 'Curtatone'] ['Mantua', 'shares border with', 'Roncoferraro'] ['Mantua', 'shares border with', 'Porto Mantovano']
ASK WHERE { resource:Mantua property:shares_border_with ?u . VALUES ( ?u ) { ( resource:San_Giorgio_di_Mantova ) ( resource:Bagnolo_San_Vito ) ( resource:Curtatone ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q515 Q20667921
USER
How many administrative territories have around 1 cities or french administrative divisions as their capital ?
(c(Q515)|c(Q20667921),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?r } }
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?r } }
[]
designation for an administrative territorial entity city type of french administrative division
SYSTEM
143
Q12631 Q414 Q3368 Q3044731 Q399 Q258 Q155 Q12689 Q3377 Q3372 Q3093 Q2528268 Q12594 Q736 Q12574 Q12792 Q843 Q2007 Q12700 Q12709 Q1050 Q298 Q115 Q114 Q12642 Q3216 Q3194 Q12804 Q12808 Q3326 Q696651 Q3286 Q948 Q3266 Q3105 Q639100 Q33788 Q702 Q12740 Q12745 Q12779 Q833 Q12607 Q790 Q796 Q794 Q889 Q884 Q881 Q2281221 Q12694 Q12515 Q12517 Q3364 Q541095 Q3148 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q1037 Q1033 Q1030 Q750 Q12736 Q12657 Q12652 Q30831 Q12556 Q878 Q46130 Q3044714 Q12816 Q1951 Q3353 Q3357 Q3184 Q711 Q717 Q2900529 Q1999970 Q155019 Q107426 Q1948 Q12661 Q27 Q225 Q222 Q47261 Q1270623 Q228 Q963 Q3125 Q3120 Q1008 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q72670 Q12563 Q426025 Q568751 Q2150573 Q12536 Q3342 Q842 Q3349 Q3083 Q3249 Q12761 Q12765 Q4712 Q924 Q928 Q851 Q12717 Q3334 Q12572 Q12576 Q12578 Q347 Q3462133 Q12679 Q17 Q3207 Q212 Q211 Q218 Q974 Q3113 Q1019 Q1011 Q12758 Q12753 Q12751 Q12564
(c(Q515)|c(Q20667921),P1376,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 1
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?r } }
Meuse Argentina Essonne Guyane Armenia South Africa Brazil Pas-de-Calais Eure-et-Loir Eure Aisne Mont-Blanc Marne Ecuador Loiret Vaucluse Pakistan Northwest Territories Hautes-Pyrénées Pyrénées-Orientales Swaziland Chile Ethiopia Kenya Morbihan Aveyron Aube Vienne Haute-Vienne Corrèze Saxe-Eisenach Cher Tunisia Charente Vosges Principality of Reuss-Gera New Caledonia Federated States of Micronesia Sarthe Savoie Tarn-et-Garonne Malaysia Haute-Marne Haiti Iraq Iran Afghanistan South Korea Vietnam Principality of Orange Puy-de-Dôme Gard Gers Drôme Rhin-et-Moselle Ardèche Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Rwanda Nigeria Namibia Bolivia Saône-et-Loire Nièvre Moselle Red Sea Governorate Indre-et-Loire United Arab Emirates Rhône Ouest Yonne Alberta Creuse Dordogne Ariège Mongolia Venezuela Bezirk Lothringen Upper Alsace Duchy of Lorraine Anjou Manitoba Nord Ireland Bosnia and Herzegovina Albania Duchy of Bavaria Meurthe Andorra Botswana Hautes-Alpes Jura Côte d'Ivoire Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Batumi Oblast Landes Duchy of Savoy Mont-Tonnerre Unterelsaß Abbasid caliphate Côte-d'Or Oman Côtes-d'Armor Ain Calvados Seine-Saint-Denis Deux-Sèvres Duchy of Burgundy Tanzania Philippines Saudi Arabia Bas-Rhin Haute-Corse Haute-Loire Lot Lot-et-Garonne Liechtenstein Saxe-Coburg and Gotha Orne Japan Aude Ukraine Latvia Romania Democratic Republic of the Congo Allier Madagascar Cape Verde Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
143
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 1
[[{'concept': 'city'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ?i . VALUES ( ?i ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q42655
P17
Q15617994
USER
How many administrative territories are Virgilio located in ?
(Q42655,P17,c(Q15617994))
action count
action filter_type
action find
entity Q42655
relation P17
type Q15617994
['Q42655', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q42655 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Virgilio
action count
action filter_type
action find
entity Virgilio
relation country
type designation for an administrative territorial entity
['Virgilio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Virgilio property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q42655,P17,c(Q15617994))
action count
action filter_type
action find
entity Q42655
relation P17
type Q15617994
[ANSWER]
['Q42655', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Q42655 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Virgilio
relation country
type designation for an administrative territorial entity
['Virgilio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { resource:Virgilio property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q12070868
Q15617994
USER
And also tell me about The Lands of Roughwood?
(Q12070868,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12070868
relation P17
type Q15617994
['Q12070868', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:Q12070868 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
The Lands of Roughwood
action count
action filter_type
action find
entity The Lands of Roughwood
relation country
type designation for an administrative territorial entity
['The Lands of Roughwood', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:The_Lands_of_Roughwood property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q12070868,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12070868
relation P17
type Q15617994
[ANSWER]
['Q12070868', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:Q12070868 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity The Lands of Roughwood
relation country
type designation for an administrative territorial entity
['The Lands of Roughwood', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { resource:The_Lands_of_Roughwood property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]