Simple Question (Direct)
Simple Question
Q69503
P47
Q15617994
USER
Which administrative territories share border with Poschiavo ?
(Q69503,P47,c(Q15617994))
action filter_type
action find
entity Q69503
relation P47
type Q15617994
['Q69503', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q69503 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Poschiavo
action filter_type
action find
entity Poschiavo
relation shares border with
type designation for an administrative territorial entity
['Poschiavo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Poschiavo property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q40653 Q39324 Q39914
SYSTEM
Grosio, Lanzada, Chiuro
Q40871 Q39914 Q40889 Q40106 Q40653 Q39324
(Q69503,P47,c(Q15617994))
action filter_type
action find
entity Q69503
relation P47
type Q15617994
[ANSWERS] share border with Poschiavo
['Q69503', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q69503 property:P47 ?k . ?k rdf:type ontology:Q15617994 }
Livigno Chiuro Grosotto Valdidentro Grosio Lanzada
Grosio, Lanzada and Chiuro share border with Poschiavo
Grosio Lanzada Chiuro
action filter_type
action find
entity Poschiavo
relation shares border with
type designation for an administrative territorial entity
['Poschiavo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Poschiavo property:shares_border_with ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40653
P190
Q15617994
USER
Which administrative territory is partner town of Grosio ?
(c(Q15617994),P190,Q40653)
action filter_type
action find
entity Q40653
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q40653']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q40653 property:P190 ?r }
Grosio
action filter_type
action find
entity Grosio
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Grosio']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Grosio property:sister_city ?r }
[]
designation for an administrative territorial entity
Q82751
SYSTEM
Lastra a Signa
Q82751
(c(Q15617994),P190,Q40653)
action filter_type
action find
entity Q40653
relation P190
type Q15617994
[ANSWER] is partner town of Grosio
[{'concept': 'Q15617994'}, 'P190', 'Q40653']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q40653 property:P190 ?r }
Lastra a Signa
Lastra a Signa is partner town of Grosio
Lastra a Signa
action filter_type
action find
entity Grosio
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Grosio']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Grosio property:sister_city ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40653
P17
Q15617994
USER
Which administrative territory is Grosio present in ?
(Q40653,P17,c(Q15617994))
action filter_type
action find
entity Q40653
relation P17
type Q15617994
['Q40653', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q40653 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Grosio
action filter_type
action find
entity Grosio
relation country
type designation for an administrative territorial entity
['Grosio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Grosio property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q40653,P17,c(Q15617994))
action filter_type
action find
entity Q40653
relation P17
type Q15617994
Grosio is in [ANSWER]
['Q40653', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q40653 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Italy
Grosio is in Italy
Italy
action filter_type
action find
entity Grosio
relation country
type designation for an administrative territorial entity
['Grosio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Grosio property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P1071
Q2424752
USER
Which product has that administrative territory as its final place of assembly ?
(c(Q2424752),P1071,Q38)
action filter_type
action find_reverse
entity Q38
relation P1071
type Q2424752
[{'concept': 'Q2424752'}, 'P1071', 'Q38']
SELECT DISTINCT ?g WHERE { ?g property:P1071 resource:Q38 . ?g rdf:type ontology:Q2424752 }
Italy
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type product
[{'concept': 'product'}, 'location of final assembly', 'Italy']
SELECT DISTINCT ?g WHERE { ?g property:location_of_final_assembly resource:Italy . ?g rdf:type ontology:product }
[]
product
Q17861994
SYSTEM
P.180 Avanti II
Q17861994
(c(Q2424752),P1071,Q38)
action filter_type
action find_reverse
entity Q38
relation P1071
type Q2424752
[ANSWER] has that administrative territory as its final place of assembly
[{'concept': 'Q2424752'}, 'P1071', 'Q38']
SELECT DISTINCT ?g WHERE { ?g property:P1071 resource:Q38 . ?g rdf:type ontology:Q2424752 }
P.180 Avanti II
P.180 Avanti II has that administrative territory as its final place of assembly
P.180 Avanti II
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type product
[{'concept': 'product'}, 'location of final assembly', 'Italy']
SELECT DISTINCT ?g WHERE { ?g property:location_of_final_assembly resource:Italy . ?g rdf:type ontology:product }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P176
Q43229 Q4830453 Q2424752
USER
Which products were manufactured by around the same number of organizations or business enterprises as that product ?
(c(Q2424752),P176,c(Q43229)|c(Q4830453))
action approx
action union
action find_tuple_counts
relation P176
type Q2424752
type Q43229
action find_tuple_counts
relation P176
type Q2424752
type Q4830453
action count
action filter_multi_types
action find
entity Q17861994
relation P176
type Q43229
type Q4830453
[{'concept': 'Q2424752'}, 'P176', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?i rdf:type ?n } GROUP BY ?e } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?r rdf:type ?f } . resource:Q17861994 property:P176 ?r } } }
action approx
action union
action find_tuple_counts
relation manufacturer
type product
type organization
action find_tuple_counts
relation manufacturer
type product
type business enterprise
action count
action filter_multi_types
action find
entity P.180 Avanti II
relation manufacturer
type organization
type business enterprise
[{'concept': 'product'}, 'manufacturer', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?e WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?i rdf:type ?n } GROUP BY ?e } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?f ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?r rdf:type ?f } . resource:P.180_Avanti_II property:manufacturer ?r } } }
[]
organization business enterprise product
SYSTEM
71
Q17415909 Q19206764 Q577239 Q19058994 Q3881789 Q933898 Q7276378 Q10659504 Q3942033 Q19206722 Q15064708 Q31552 Q4969469 Q135888 Q15065546 Q1034999 Q4650675 Q10538857 Q744874 Q19206779 Q17415916 Q209940 Q4993891 Q333395 Q15139642 Q170484 Q938806 Q19206741 Q17446629 Q21034554 Q17415885 Q415200 Q16927921 Q10538836 Q459133 Q10659508 Q332637 Q135880 Q135883 Q135885 Q160719 Q309177 Q7373637 Q4844853 Q19206799 Q15065526 Q17370824 Q29006 Q17415601 Q747120 Q17415690 Q13218480 Q17415673 Q10669572 Q17484770 Q23886901 Q14628801 Q1162588 Q17415520 Q1074148 Q1388176 Q698235 Q10659713 Q4053801 Q204331 Q15065493 Q17447440 Q1819000 Q23886926 Q1034982 Q13218491
(c(Q2424752),P176,c(Q43229)|c(Q4830453))
action approx
action union
action find_tuple_counts
relation P176
type Q2424752
type Q43229
action find_tuple_counts
relation P176
type Q2424752
type Q4830453
action count
action filter_multi_types
action find
entity Q17861994
relation P176
type Q43229
type Q4830453
[ANSWER]
[{'concept': 'Q2424752'}, 'P176', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?e WHERE { VALUES ( ?n ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?i rdf:type ?n } GROUP BY ?e } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?f ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?r rdf:type ?f } . resource:Q17861994 property:P176 ?r } } }
Su-17M4 Ford 5-AT Martinsyde S.1 Ford 4-AT-A Olive no Hana Bakauke REP Type N Saab SF 37 Viggen Royal Aircraft Factory B.E.8 Ford 4-AT-D Royal Aircraft Factory B.E.2a Ar 66 British Army Aeroplane No 1 Chicken McNuggets Avro 504J Caproni Ca.309 ACIF J 32 Lansen Caproni Ca.97 Ford 5-AT-A Su-22M4 Ki-56 Solo Saab 21R Avro Bison Mk I Lego Irn-Bru Ford 4-AT-E F-2 Boeing Model 40H-4 Su-17M3 Mü 8 Typekit Saab JA 37 Viggen Su-37 Saab SH 37 Viggen Su-33 A-12 A-6 A-8 Playmobil Su-34 Royal Aircraft Factory R.E.5 Prajadhipok Ford 5-AT-B Avro 504B F-4EJ Phantom II Ar 65 Su-17M Caproni Ca.164 Su-22 Saab AJ 37 Viggen Su-17M2 Saab Sk 37 Viggen Fernas 142 Michelin LMP1 Samsung Knox Sukhoi Su-11 Su-17 Sukhoi Su-29 FFVS 22 Saab 105 Saab S 32 Lansen Beriev A-100 Su-30 Avro 504A S-102 Saab 340 AEW&C Dunlop Car Racing Caproni Ca.101 Saab A 32 Lansen
71
action approx
action union
action find_tuple_counts
relation manufacturer
type product
type organization
action find_tuple_counts
relation manufacturer
type product
type business enterprise
action count
action filter_multi_types
action find
entity P.180 Avanti II
relation manufacturer
type organization
type business enterprise
[{'concept': 'product'}, 'manufacturer', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?e WHERE { VALUES ( ?n ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?i rdf:type ?n } GROUP BY ?e } . FILTER ( ?y = ?g ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { VALUES ( ?f ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?r rdf:type ?f } . resource:P.180_Avanti_II property:manufacturer ?r } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q979470
P36
Q56061
USER
Which administrative territory is the capital of Seine-et-Oise ?
(Q979470,P36,c(Q56061))
action filter_type
action find
entity Q979470
relation P36
type Q56061
['Q979470', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q979470 property:P36 ?k }
Seine-et-Oise
action filter_type
action find
entity Seine-et-Oise
relation capital
type administrative territorial entity
['Seine-et-Oise', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Seine-et-Oise property:capital ?k }
[]
administrative territorial entity
Q621
SYSTEM
Versailles
Q621
(Q979470,P36,c(Q56061))
action filter_type
action find
entity Q979470
relation P36
type Q56061
Paris [ANSWER] is the capital of Seine-et-Oise
['Q979470', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q56061 . resource:Q979470 property:P36 ?k }
Versailles
Paris Versailles is the capital of Seine-et-Oise
Versailles
action filter_type
action find
entity Seine-et-Oise
relation capital
type administrative territorial entity
['Seine-et-Oise', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:administrative_territorial_entity . resource:Seine-et-Oise property:capital ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40653
P19
Q502895
USER
Who were born at Grosio ?
(c(Q502895),P19,Q40653)
action filter_type
action find_reverse
entity Q40653
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q40653']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P19 resource:Q40653 }
Grosio
action filter_type
action find_reverse
entity Grosio
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Grosio']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:place_of_birth resource:Grosio }
[]
common name
Q3677453 Q599457
SYSTEM
Cipriano Valorsa, Antonio Abbondi
Q3677453 Q599457
(c(Q502895),P19,Q40653)
action filter_type
action find_reverse
entity Q40653
relation P19
type Q502895
[ANSWERS] were born at Grosio
[{'concept': 'Q502895'}, 'P19', 'Q40653']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P19 resource:Q40653 }
Cipriano Valorsa Antonio Abbondi
Cipriano Valorsa and Antonio Abbondi were born at Grosio
Cipriano Valorsa Antonio Abbondi
action filter_type
action find_reverse
entity Grosio
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Grosio']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:place_of_birth resource:Grosio }
[]
Clarification
Simple Question|Single Entity|Indirect
Q599457
P84
Q44539
USER
What were that person an architect of ?
(c(Q44539),P84,Q599457)
action filter_type
action find_reverse
entity Q599457
relation P84
type Q44539
[{'concept': 'Q44539'}, 'P84', 'Q599457']
SELECT DISTINCT ?g WHERE { ?g property:P84 resource:Q599457 . ?g rdf:type ontology:Q44539 }
Antonio Abbondi
action filter_type
action find_reverse
entity Antonio Abbondi
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Antonio Abbondi']
SELECT DISTINCT ?g WHERE { ?g property:architect resource:Antonio_Abbondi . ?g rdf:type ontology:temple }
[]
temple
Clarification for simple ques.
Q599457
SYSTEM
Did you mean Antonio Abbondi ?
Q3677453 Q599457
(c(Q44539),P84,Q3677453) (c(Q44539),P84,Q599457)
[ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q3677453'] [{'concept': 'Q44539'}, 'P84', 'Q599457']
SELECT DISTINCT ?g WHERE { ?g property:P84 resource:Q599457 . ?g rdf:type ontology:Q44539 }
Cipriano Valorsa Antonio Abbondi
Did you mean Antonio Abbondi ?
Antonio Abbondi
[{'concept': 'temple'}, 'architect', 'Cipriano Valorsa'] [{'concept': 'temple'}, 'architect', 'Antonio Abbondi']
SELECT DISTINCT ?g WHERE { ?g property:architect resource:Antonio_Abbondi . ?g rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q44539),P84,Q599457)
[{'concept': 'Q44539'}, 'P84', 'Q599457']
[{'concept': 'temple'}, 'architect', 'Antonio Abbondi']
[]
Q1543347 Q1407670 Q588559
SYSTEM
San Giovanni Elemosinario, San Fantin, San Sebastiano
Q1407670 Q1543347 Q588559
(c(Q44539),P84,Q599457)
action filter_type
action find_reverse
entity Q599457
relation P84
type Q44539
That person an architect of were [ANSWERS]
[{'concept': 'Q44539'}, 'P84', 'Q599457']
SELECT DISTINCT ?g WHERE { ?g property:P84 resource:Q599457 . ?g rdf:type ontology:Q44539 }
San Fantin San Giovanni Elemosinario San Sebastiano
That person an architect of were San Giovanni Elemosinario, San Fantin and San Sebastiano
San Giovanni Elemosinario San Fantin San Sebastiano
action filter_type
action find_reverse
entity Antonio Abbondi
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Antonio Abbondi']
SELECT DISTINCT ?g WHERE { ?g property:architect resource:Antonio_Abbondi . ?g rdf:type ontology:temple }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q44539
USER
How many people are the names of the patron saint of atleast 36 temples ?
(c(Q44539),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 36
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P417 ?x . ?x rdf:type ontology:Q502895 . ?b rdf:type ontology:Q44539 } GROUP BY ?x } . FILTER ( ?a >= 36 ) }
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 36
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:patron_saint ?x . ?x rdf:type ontology:common_name . ?b rdf:type ontology:temple } GROUP BY ?x } . FILTER ( ?a >= 36 ) }
[]
common name temple
SYSTEM
2
Q33923 Q9200
(c(Q44539),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q44539
value 36
[ANSWER]
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:P417 ?x . ?x rdf:type ontology:Q502895 . ?b rdf:type ontology:Q44539 } GROUP BY ?x } . FILTER ( ?a >= 36 ) }
Peter Paul
2
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type temple
value 36
[{'concept': 'temple'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?a ) WHERE { ?b property:patron_saint ?x . ?x rdf:type ontology:common_name . ?b rdf:type ontology:temple } GROUP BY ?x } . FILTER ( ?a >= 36 ) }
[]