Simple Question (Direct)
Simple Question
Q7072194
P7
Q502895
USER
Which people are the brothers of Mangala ?
(Q7072194,P7,c(Q502895))
action filter_type
action find
entity Q7072194
relation P7
type Q502895
['Q7072194', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7072194 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Mangala
action filter_type
action find
entity Mangala
relation brother
type common name
['Mangala', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Mangala property:brother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1036575 Q6727705 Q7071899
SYSTEM
Zhenjinandun, Togoon, Dorji
Q7071776 Q7072373 Q7072624 Q7071899 Q7072285 Q6727705 Q7072571 Q1036575 Q7072451 Q7072496
(Q7072194,P7,c(Q502895))
action filter_type
action find
entity Q7072194
relation P7
type Q502895
[ANSWERS] are the brothers of Mangala
['Q7072194', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7072194 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Ayachi Khökhechi Tamachi Dorji Nomugan Togoon Hutulu Temür Zhenjinandun Auruyvci Kuokuochu
Zhenjinandun, Togoon and Dorji are the brothers of Mangala
Zhenjinandun Togoon Dorji
action filter_type
action find
entity Mangala
relation brother
type common name
['Mangala', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Mangala property:brother ?r . ?r rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1036575
P53
Q8436
USER
What dynasty do that person belong to ?
(Q1036575,P53,c(Q8436))
action filter_type
action find
entity Q1036575
relation P53
type Q8436
['Q1036575', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q1036575 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Zhenjinandun
action filter_type
action find
entity Zhenjinandun
relation noble family
type family
['Zhenjinandun', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Zhenjinandun property:noble_family ?t . ?t rdf:type ontology:family }
[]
family
Clarification for simple ques.
Q7071899
SYSTEM
Did you mean Dorji ?
Q1036575 Q6727705 Q7071899
(Q1036575,P53,c(Q8436)) (Q6727705,P53,c(Q8436)) (Q7071899,P53,c(Q8436))
[ANSWER]
['Q1036575', 'P53', {'concept': 'Q8436'}] ['Q6727705', 'P53', {'concept': 'Q8436'}] ['Q7071899', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q1036575 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Zhenjinandun Togoon Dorji
Did you mean Dorji ?
Dorji
['Zhenjinandun', 'noble family', {'concept': 'family'}] ['Togoon', 'noble family', {'concept': 'family'}] ['Dorji', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Zhenjinandun property:noble_family ?t . ?t rdf:type ontology:family }
[]
Simple Question (Coreferenced)
USER
No, I meant Zhenjinandun. Could you tell me the answer for that?
(Q1036575,P53,c(Q8436))
Q1036575
['Q1036575', 'P53', {'concept': 'Q8436'}]
['Zhenjinandun', 'noble family', {'concept': 'family'}]
[]
Q1059073 Q7313
SYSTEM
Borjigin, Yuan dynasty
Q1059073 Q7313
(Q1036575,P53,c(Q8436))
action filter_type
action find
entity Q1036575
relation P53
type Q8436
That person belong to [ANSWERS]
['Q1036575', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?t WHERE { resource:Q1036575 property:P53 ?t . ?t rdf:type ontology:Q8436 }
Borjigin Yuan dynasty
That person belong to Borjigin and Yuan dynasty
Borjigin Yuan dynasty
action filter_type
action find
entity Zhenjinandun
relation noble family
type family
['Zhenjinandun', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?t WHERE { resource:Zhenjinandun property:noble_family ?t . ?t rdf:type ontology:family }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that family a part of ?
(Q1059073,P17,c(Q15617994))
['Q1059073', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1059073 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Borjigin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Borjigin property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q1059073
SYSTEM
Did you mean Borjigin ?
(Q1059073,P17,c(Q15617994)) (Q7313,P17,c(Q15617994))
[ANSWER]
['Q1059073', 'P17', {'concept': 'Q15617994'}] ['Q7313', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1059073 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Borjigin ?
Borjigin
['Borjigin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Yuan dynasty', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Borjigin property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1059073,P17,c(Q15617994))
['Q1059073', 'P17', {'concept': 'Q15617994'}]
['Borjigin', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q711
(Q1059073,P17,c(Q15617994))
[ANSWER]
['Q1059073', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1059073 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Mongolia
1
['Borjigin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Borjigin property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1059073
P17
Q15617994
USER
Which administrative territory is Borjigin situated in ?
(Q1059073,P17,c(Q15617994))
action filter_type
action find
entity Q1059073
relation P17
type Q15617994
['Q1059073', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1059073 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Borjigin
action filter_type
action find
entity Borjigin
relation country
type designation for an administrative territorial entity
['Borjigin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Borjigin property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q711
SYSTEM
Mongolia
Q711
(Q1059073,P17,c(Q15617994))
action filter_type
action find
entity Q1059073
relation P17
type Q15617994
Borjigin is situated in [ANSWER]
['Q1059073', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1059073 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Mongolia
Borjigin is situated in Mongolia
Mongolia
action filter_type
action find
entity Borjigin
relation country
type designation for an administrative territorial entity
['Borjigin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Borjigin property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7207787
Q15617994
USER
And how about Poholiadda?
(Q7207787,P17,c(Q15617994))
action filter_type
action find
entity Q7207787
relation P17
type Q15617994
['Q7207787', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7207787 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Poholiadda
action filter_type
action find
entity Poholiadda
relation country
type designation for an administrative territorial entity
['Poholiadda', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Poholiadda property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q854
SYSTEM
Sri Lanka
Q854
(Q7207787,P17,c(Q15617994))
action filter_type
action find
entity Q7207787
relation P17
type Q15617994
[ANSWER]
['Q7207787', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7207787 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Sri Lanka
Sri Lanka
action filter_type
action find
entity Poholiadda
relation country
type designation for an administrative territorial entity
['Poholiadda', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Poholiadda property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q45
P1001
Q15617994 Q17335294 Q820655
USER
How many administrative territories are judicially linked to more number of coats of arms and statutes than Portugal ?
(c(Q17335294)|c(Q820655),P1001,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q45
relation P1001
type Q17335294
type Q820655
[[{'concept': 'Q17335294'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P1001 resource:Q45 . { { ?a rdf:type ontology:Q17335294 } UNION { ?a rdf:type ontology:Q820655 } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:P1001 ?b . ?o rdf:type ontology:Q17335294 . ?b rdf:type ontology:Q15617994 } UNION { ?o property:P1001 ?b . ?o rdf:type ontology:Q820655 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?b } }
Portugal
action count
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Portugal
relation applies to jurisdiction
type flag or coat of arms
type statute
[[{'concept': 'flag or coat of arms'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:applies_to_jurisdiction resource:Portugal . { { ?a rdf:type ontology:flag_or_coat_of_arms } UNION { ?a rdf:type ontology:statute } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:applies_to_jurisdiction ?b . ?o rdf:type ontology:flag_or_coat_of_arms . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:applies_to_jurisdiction ?b . ?o rdf:type ontology:statute . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } }
[]
designation for an administrative territorial entity flag or coat of arms statute
SYSTEM
46
Q701 Q705 Q707 Q668 Q142 Q55 Q145 Q148 Q189 Q784 Q712 Q252 Q1979 Q159 Q43 Q889 Q1974 Q30 Q928 Q39 Q38 Q29999 Q769680 Q1093 Q20 Q1042 Q2667658 Q1101 Q1904 Q694 Q752 Q833 Q1951 Q1438 Q29 Q775 Q776 Q770 Q773 Q772 Q678 Q129003 Q176 Q33788 Q1267638 Q2023
(c(Q17335294)|c(Q820655),P1001,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q17335294
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q820655
action count
action filter_multi_types
action find_reverse
entity Q45
relation P1001
type Q17335294
type Q820655
[ANSWER]
[[{'concept': 'Q17335294'}, {'concept': 'Q820655'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P1001 resource:Q45 . { { ?a rdf:type ontology:Q17335294 } UNION { ?a rdf:type ontology:Q820655 } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:P1001 ?b . ?o rdf:type ontology:Q17335294 . ?b rdf:type ontology:Q15617994 } UNION { ?o property:P1001 ?b . ?o rdf:type ontology:Q820655 . ?b rdf:type ontology:Q15617994 } } GROUP BY ?b } }
North Holland Zeeland Flevoland India France Netherlands United Kingdom People's Republic of China Iceland Dominica Fiji Indonesia Prince Edward Island Russia Turkey Afghanistan British Columbia United States of America Philippines Switzerland Italy Kingdom of the Netherlands Bornholm Limburg Norway Seychelles Shushary, Saint Petersburg North Brabant Ontario South Holland Groningen Malaysia Alberta Campania Spain Gelderland Utrecht Friesland Overijssel Drenthe Tonga French Southern and Antarctic Lands Quebec New Caledonia Beloostrov Nunavut
46
action count
action greater
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag or coat of arms
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type statute
action count
action filter_multi_types
action find_reverse
entity Portugal
relation applies to jurisdiction
type flag or coat of arms
type statute
[[{'concept': 'flag or coat of arms'}, {'concept': 'statute'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:applies_to_jurisdiction resource:Portugal . { { ?a rdf:type ontology:flag_or_coat_of_arms } UNION { ?a rdf:type ontology:statute } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?h ) WHERE { { ?o property:applies_to_jurisdiction ?b . ?o rdf:type ontology:flag_or_coat_of_arms . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:applies_to_jurisdiction ?b . ?o rdf:type ontology:statute . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q854
P1376
Q15700808
USER
What is the capital of Sri Lanka ?
(c(Q15700808),P1376,Q854)
action filter_type
action find_reverse
entity Q854
relation P1376
type Q15700808
[{'concept': 'Q15700808'}, 'P1376', 'Q854']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q854 . ?c rdf:type ontology:Q15700808 }
Sri Lanka
action filter_type
action find_reverse
entity Sri Lanka
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Sri Lanka']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:Sri_Lanka . ?c rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q41963
SYSTEM
Sri Jayawardenepura Kotte
Q41963
(c(Q15700808),P1376,Q854)
action filter_type
action find_reverse
entity Q854
relation P1376
type Q15700808
The capital of Lanka is Sri [ANSWER]
[{'concept': 'Q15700808'}, 'P1376', 'Q854']
SELECT DISTINCT ?c WHERE { ?c property:P1376 resource:Q854 . ?c rdf:type ontology:Q15700808 }
Sri Jayawardenepura Kotte
The capital of Lanka is Sri Sri Jayawardenepura Kotte
Sri Jayawardenepura Kotte
action filter_type
action find_reverse
entity Sri Lanka
relation capital of
type urban unit definition
[{'concept': 'urban unit definition'}, 'capital of', 'Sri Lanka']
SELECT DISTINCT ?c WHERE { ?c property:capital_of resource:Sri_Lanka . ?c rdf:type ontology:urban_unit_definition }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41963
P206
Q337567
USER
Which still waters is located next to that urban unit definition ?
(Q41963,P206,c(Q337567))
action filter_type
action find
entity Q41963
relation P206
type Q337567
['Q41963', 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q337567 . resource:Q41963 property:P206 ?p }
Sri Jayawardenepura Kotte
action filter_type
action find
entity Sri Jayawardenepura Kotte
relation located next to body of water
type still waters
['Sri Jayawardenepura Kotte', 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:still_waters . resource:Sri_Jayawardenepura_Kotte property:located_next_to_body_of_water ?p }
[]
still waters
Q5285034
SYSTEM
Diyawanna Oya
Q5285034
(Q41963,P206,c(Q337567))
action filter_type
action find
entity Q41963
relation P206
type Q337567
[ANSWER] is located next to that urban unit definition
['Q41963', 'P206', {'concept': 'Q337567'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q337567 . resource:Q41963 property:P206 ?p }
Diyawanna Oya
Diyawanna Oya is located next to that urban unit definition
Diyawanna Oya
action filter_type
action find
entity Sri Jayawardenepura Kotte
relation located next to body of water
type still waters
['Sri Jayawardenepura Kotte', 'located next to body of water', {'concept': 'still waters'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:still_waters . resource:Sri_Jayawardenepura_Kotte property:located_next_to_body_of_water ?p }
[]