Simple Question (Direct)
Simple Question
Q54740
P47
Q15617994
USER
Who share the border with Simbario ?
(Q54740,P47,c(Q15617994))
action filter_type
action find
entity Q54740
relation P47
type Q15617994
['Q54740', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q54740 property:P47 ?c }
Simbario
action filter_type
action find
entity Simbario
relation shares border with
type designation for an administrative territorial entity
['Simbario', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Simbario property:shares_border_with ?c }
[]
designation for an administrative territorial entity
Q54699 Q53503 Q54739
SYSTEM
Brognaturo, Cardinale, Serra San Bruno
Q54699 Q53503 Q54741 Q54739 Q54749 Q54744 Q54750 Q53736
(Q54740,P47,c(Q15617994))
action filter_type
action find
entity Q54740
relation P47
type Q15617994
[ANSWERS] share the border with Simbario
['Q54740', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q54740 property:P47 ?c }
Brognaturo Cardinale Sorianello Serra San Bruno Vallelonga Spadola Vazzano Torre di Ruggiero
Brognaturo, Cardinale and Serra San Bruno share the border with Simbario
Brognaturo Cardinale Serra San Bruno
action filter_type
action find
entity Simbario
relation shares border with
type designation for an administrative territorial entity
['Simbario', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Simbario property:shares_border_with ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54739
P1444
Q878123
USER
Which racing ends at Serra San Bruno ?
(c(Q878123),P1444,Q54739)
action filter_type
action find_reverse
entity Q54739
relation P1444
type Q878123
[{'concept': 'Q878123'}, 'P1444', 'Q54739']
SELECT DISTINCT ?r WHERE { ?r property:P1444 resource:Q54739 . ?r rdf:type ontology:Q878123 }
Serra San Bruno
action filter_type
action find_reverse
entity Serra San Bruno
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Serra San Bruno']
SELECT DISTINCT ?r WHERE { ?r property:destination_point resource:Serra_San_Bruno . ?r rdf:type ontology:racing }
[]
racing
Q12342239
SYSTEM
2013 Giro d'Italia, Stage 4
Q12342239
(c(Q878123),P1444,Q54739)
action filter_type
action find_reverse
entity Q54739
relation P1444
type Q878123
The [ANSWER] ends at Serra San Bruno
[{'concept': 'Q878123'}, 'P1444', 'Q54739']
SELECT DISTINCT ?r WHERE { ?r property:P1444 resource:Q54739 . ?r rdf:type ontology:Q878123 }
2013 Giro d'Italia, Stage 4
The 2013 Giro d'Italia, Stage 4 ends at Serra San Bruno
2013 Giro d'Italia, Stage 4
action filter_type
action find_reverse
entity Serra San Bruno
relation destination point
type racing
[{'concept': 'racing'}, 'destination point', 'Serra San Bruno']
SELECT DISTINCT ?r WHERE { ?r property:destination_point resource:Serra_San_Bruno . ?r rdf:type ontology:racing }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q54739
P417
Q502895
USER
Which person is the patron saint of that administrative territory ?
(Q12342239,P417,c(Q502895))
action filter_type
action find
entity Q54739
relation P417
type Q502895
['Q12342239', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q54739 property:P417 ?u }
Serra San Bruno
action filter_type
action find
entity Serra San Bruno
relation patron saint
type common name
["2013 Giro d'Italia, Stage 4", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Serra_San_Bruno property:patron_saint ?u }
[]
common name
Q312314
SYSTEM
Bruno of Cologne
Q312314
(Q12342239,P417,c(Q502895))
action filter_type
action find
entity Q54739
relation P417
type Q502895
[ANSWER] is the patron saint of that administrative territory
['Q12342239', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q54739 property:P417 ?u }
Bruno of Cologne
Bruno of Cologne is the patron saint of that administrative territory
Bruno of Cologne
action filter_type
action find
entity Serra San Bruno
relation patron saint
type common name
["2013 Giro d'Italia, Stage 4", 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Serra_San_Bruno property:patron_saint ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series did around 12 people dub for ?
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 12
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:Q502895 . ?h rdf:type ontology:Q5398426 . ?h property:P725 ?f } GROUP BY ?h } . FILTER ( ?x = 12 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 12
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:common_name . ?h rdf:type ontology:television_series . ?h property:voice_actor ?f } GROUP BY ?h } . FILTER ( ?x = 12 ) }
[]
common name television series
SYSTEM
2
Q3280971 Q15392994
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 12
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:Q502895 . ?h rdf:type ontology:Q5398426 . ?h property:P725 ?f } GROUP BY ?h } . FILTER ( ?x = 12 ) }
Love Live! Prison School
2
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 12
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?f rdf:type ontology:common_name . ?h rdf:type ontology:television_series . ?h property:voice_actor ?f } GROUP BY ?h } . FILTER ( ?x = 12 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q201658 Q7725634
USER
How many administrative territories are the origin of around 158 film genres or literary works ?
(c(Q201658)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
value 158
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q201658 . ?r property:P495 ?n } } GROUP BY ?n } . FILTER ( ?i = 158 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
value 158
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:film_genre . ?r property:country_of_origin ?n } } GROUP BY ?n } . FILTER ( ?i = 158 ) }
[]
designation for an administrative territorial entity film genre literary work
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 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(Q201658)|c(Q7725634),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
value 158
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q201658 . ?r property:P495 ?n } } GROUP BY ?n } . FILTER ( ?i = 158 ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina 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
167
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
value 158
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?r ) AS ?i ) WHERE { { ?r property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:film_genre . ?r property:country_of_origin ?n } } GROUP BY ?n } . FILTER ( ?i = 158 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q312314
P1066
Q502895
USER
How many people are pupils of Bruno of Cologne ?
(c(Q502895),P1066,Q312314)
action count
action filter_type
action find_reverse
entity Q312314
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q312314']
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:Q502895 . ?b property:P1066 resource:Q312314 }
Bruno of Cologne
action count
action filter_type
action find_reverse
entity Bruno of Cologne
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Bruno of Cologne']
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:common_name . ?b property:student_of resource:Bruno_of_Cologne }
[]
common name
SYSTEM
1
Q569607
(c(Q502895),P1066,Q312314)
action count
action filter_type
action find_reverse
entity Q312314
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q312314']
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:Q502895 . ?b property:P1066 resource:Q312314 }
Anselm of Laon
1
action count
action filter_type
action find_reverse
entity Bruno of Cologne
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Bruno of Cologne']
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { ?b rdf:type ontology:common_name . ?b property:student_of resource:Bruno_of_Cologne }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q312314
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
action filter_type
action find
entity Q312314
relation P106
type Q12737077
SELECT DISTINCT ?l WHERE { resource:Q312314 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Bruno of Cologne
action filter_type
action find
entity Bruno of Cologne
relation occupation
type occupation
SELECT DISTINCT ?l WHERE { resource:Bruno_of_Cologne property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q733786
SYSTEM
monk
Q733786
action filter_type
action find
entity Q312314
relation P106
type Q12737077
[ANSWER] has that person as his/her 's career
SELECT DISTINCT ?l WHERE { resource:Q312314 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
monk
Monk has that person as his/her 's career
monk
action filter_type
action find
entity Bruno of Cologne
relation occupation
type occupation
SELECT DISTINCT ?l WHERE { resource:Bruno_of_Cologne property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312314
P1066
Q502895
USER
Which person is a pupil of Bruno of Cologne ?
(c(Q502895),P1066,Q312314)
action filter_type
action find_reverse
entity Q312314
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q312314']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P1066 resource:Q312314 }
Bruno of Cologne
action filter_type
action find_reverse
entity Bruno of Cologne
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Bruno of Cologne']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:student_of resource:Bruno_of_Cologne }
[]
common name
Q569607
SYSTEM
Anselm of Laon
Q569607
(c(Q502895),P1066,Q312314)
action filter_type
action find_reverse
entity Q312314
relation P1066
type Q502895
[ANSWER] is a pupil of Bruno of Cologne
[{'concept': 'Q502895'}, 'P1066', 'Q312314']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P1066 resource:Q312314 }
Anselm of Laon
Anselm of Laon is a pupil of Bruno of Cologne
Anselm of Laon
action filter_type
action find_reverse
entity Bruno of Cologne
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Bruno of Cologne']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:student_of resource:Bruno_of_Cologne }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q569607
P1412
Q34770
USER
Which language does that person speak in ?
(Q569607,P1412,c(Q34770))
action filter_type
action find
entity Q569607
relation P1412
type Q34770
['Q569607', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q569607 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Anselm of Laon
action filter_type
action find
entity Anselm of Laon
relation languages spoken, written or signed
type language
['Anselm of Laon', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Anselm_of_Laon property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q569607,P1412,c(Q34770))
action filter_type
action find
entity Q569607
relation P1412
type Q34770
That person speaks a [ANSWER]
['Q569607', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q569607 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Latin
That person speaks a Latin
Latin
action filter_type
action find
entity Anselm of Laon
relation languages spoken, written or signed
type language
['Anselm of Laon', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Anselm_of_Laon property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1421573
Q34770
USER
And how about Tigresa del Oriente?
(Q1421573,P1412,c(Q34770))
action filter_type
action find
entity Q1421573
relation P1412
type Q34770
['Q1421573', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q1421573 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Tigresa del Oriente
action filter_type
action find
entity Tigresa del Oriente
relation languages spoken, written or signed
type language
['Tigresa del Oriente', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Tigresa_del_Oriente property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1421573,P1412,c(Q34770))
action filter_type
action find
entity Q1421573
relation P1412
type Q34770
[ANSWER]
['Q1421573', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q1421573 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity Tigresa del Oriente
relation languages spoken, written or signed
type language
['Tigresa del Oriente', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Tigresa_del_Oriente property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q569607
P802
Q502895
USER
Which people have Anselm of Laon as their teacher ?
(c(Q502895),P802,Q569607)
action filter_type
action find_reverse
entity Q569607
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q569607']
SELECT DISTINCT ?d WHERE { ?d property:P802 resource:Q569607 . ?d rdf:type ontology:Q502895 }
Anselm of Laon
action filter_type
action find_reverse
entity Anselm of Laon
relation student
type common name
[{'concept': 'common name'}, 'student', 'Anselm of Laon']
SELECT DISTINCT ?d WHERE { ?d property:student resource:Anselm_of_Laon . ?d rdf:type ontology:common_name }
[]
common name
Q312314 Q43939
SYSTEM
Bruno of Cologne, Anselm of Canterbury
Q312314 Q43939
(c(Q502895),P802,Q569607)
action filter_type
action find_reverse
entity Q569607
relation P802
type Q502895
[ANSWERS] have Anselm of Laon as their teacher
[{'concept': 'Q502895'}, 'P802', 'Q569607']
SELECT DISTINCT ?d WHERE { ?d property:P802 resource:Q569607 . ?d rdf:type ontology:Q502895 }
Bruno of Cologne Anselm of Canterbury
Bruno of Cologne and Anselm of Canterbury have Anselm of Laon as their teacher
Bruno of Cologne Anselm of Canterbury
action filter_type
action find_reverse
entity Anselm of Laon
relation student
type common name
[{'concept': 'common name'}, 'student', 'Anselm of Laon']
SELECT DISTINCT ?d WHERE { ?d property:student resource:Anselm_of_Laon . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q312314
P138
Q44539
USER
Which temple is the eponym of that person ?
(c(Q44539),P138,Q312314)
action filter_type
action find_reverse
entity Q312314
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q312314']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q312314 . ?a rdf:type ontology:Q44539 }
Bruno of Cologne
action filter_type
action find_reverse
entity Bruno of Cologne
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Bruno of Cologne']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Bruno_of_Cologne . ?a rdf:type ontology:temple }
[]
temple
Clarification for simple ques.
Q43939
SYSTEM
Did you mean Anselm of Canterbury ?
Q312314 Q43939
(c(Q44539),P138,Q312314) (c(Q44539),P138,Q43939)
[ANSWER]
[{'concept': 'Q44539'}, 'P138', 'Q312314'] [{'concept': 'Q44539'}, 'P138', 'Q43939']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q312314 . ?a rdf:type ontology:Q44539 }
Bruno of Cologne Anselm of Canterbury
Did you mean Anselm of Canterbury ?
Anselm of Canterbury
[{'concept': 'temple'}, 'named after', 'Bruno of Cologne'] [{'concept': 'temple'}, 'named after', 'Anselm of Canterbury']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Bruno_of_Cologne . ?a rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
USER
No, I meant Bruno of Cologne. Could you tell me the answer for that?
(c(Q44539),P138,Q312314)
Q312314
[{'concept': 'Q44539'}, 'P138', 'Q312314']
[{'concept': 'temple'}, 'named after', 'Bruno of Cologne']
[]
Q2317707
SYSTEM
St. Bruno
Q2317707
(c(Q44539),P138,Q312314)
action filter_type
action find_reverse
entity Q312314
relation P138
type Q44539
[ANSWER] is the eponym of that person
[{'concept': 'Q44539'}, 'P138', 'Q312314']
SELECT DISTINCT ?a WHERE { ?a property:P138 resource:Q312314 . ?a rdf:type ontology:Q44539 }
St. Bruno
St. Bruno is the eponym of that person
St. Bruno
action filter_type
action find_reverse
entity Bruno of Cologne
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Bruno of Cologne']
SELECT DISTINCT ?a WHERE { ?a property:named_after resource:Bruno_of_Cologne . ?a rdf:type ontology:temple }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P800
Q44539 Q502895
USER
How many temples are the notable works of more number of people than that temple ?
(c(Q502895),P800,c(Q44539))
action count
action greater
action find_reverse_tuple_counts
relation P800
type Q44539
type Q502895
action count
action filter_type
action find
entity Q2317707
relation P800
type Q44539
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q44539'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { FILTER ( ?j > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q2317707 property:P800 ?r . ?r rdf:type ontology:Q44539 } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P800 ?p . ?t rdf:type ontology:Q502895 . ?p rdf:type ontology:Q44539 } GROUP BY ?p } }
action count
action greater
action find_reverse_tuple_counts
relation notable work
type temple
type common name
action count
action filter_type
action find
entity St. Bruno
relation notable work
type temple
[{'concept': 'common name'}, 'notable work', {'concept': 'temple'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { FILTER ( ?j > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:St._Bruno property:notable_work ?r . ?r rdf:type ontology:temple } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:notable_work ?p . ?t rdf:type ontology:common_name . ?p rdf:type ontology:temple } GROUP BY ?p } }
[]
temple common name
SYSTEM
9
Q7335797 Q999637 Q188856 Q27212469 Q2577991 Q875758 Q6513667 Q1132809 Q908802
(c(Q502895),P800,c(Q44539))
action count
action greater
action find_reverse_tuple_counts
relation P800
type Q44539
type Q502895
action count
action filter_type
action find
entity Q2317707
relation P800
type Q44539
[ANSWER]
[{'concept': 'Q502895'}, 'P800', {'concept': 'Q44539'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { FILTER ( ?j > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:Q2317707 property:P800 ?r . ?r rdf:type ontology:Q44539 } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:P800 ?p . ?t rdf:type ontology:Q502895 . ?p rdf:type ontology:Q44539 } GROUP BY ?p } }
Ris Church Church of Saint Anne Panthéon iglesia de María Inmaculada y San Vicente Kaleva Church Reformed City Church Sortland Church Temppeliaukio Church Santa Maria del Mar
9
action count
action greater
action find_reverse_tuple_counts
relation notable work
type temple
type common name
action count
action filter_type
action find
entity St. Bruno
relation notable work
type temple
[{'concept': 'common name'}, 'notable work', {'concept': 'temple'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { FILTER ( ?j > ?u ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { resource:St._Bruno property:notable_work ?r . ?r rdf:type ontology:temple } } . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?j ) WHERE { ?t property:notable_work ?p . ?t rdf:type ontology:common_name . ?p rdf:type ontology:temple } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2317707
P140
Q879146
USER
Which Christian denomination is the religion of St. Bruno ?
(Q2317707,P140,c(Q879146))
action filter_type
action find
entity Q2317707
relation P140
type Q879146
['Q2317707', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q2317707 property:P140 ?y . ?y rdf:type ontology:Q879146 }
St. Bruno
action filter_type
action find
entity St. Bruno
relation religion
type Christian denomination
['St. Bruno', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:St._Bruno property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q2317707,P140,c(Q879146))
action filter_type
action find
entity Q2317707
relation P140
type Q879146
[ANSWER] is the religion of St. Bruno
['Q2317707', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?y WHERE { resource:Q2317707 property:P140 ?y . ?y rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church is the religion of St. Bruno
Roman Catholic Church
action filter_type
action find
entity St. Bruno
relation religion
type Christian denomination
['St. Bruno', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?y WHERE { resource:St._Bruno property:religion ?y . ?y rdf:type ontology:Christian_denomination }
[]