Simple Question (Direct)
Simple Question
Q3266865
P27
Q15617994
USER
Which administrative territories are Luis Yanes an inhabitant of ?
(Q3266865,P27,c(Q15617994))
action filter_type
action find
entity Q3266865
relation P27
type Q15617994
['Q3266865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3266865 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Luis Yanes
action filter_type
action find
entity Luis Yanes
relation country of citizenship
type designation for an administrative territorial entity
['Luis Yanes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Luis_Yanes property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q717
SYSTEM
Colombia, Venezuela
Q739 Q717
(Q3266865,P27,c(Q15617994))
action filter_type
action find
entity Q3266865
relation P27
type Q15617994
[ANSWERS] are Luis Yanes an inhabitant of
['Q3266865', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3266865 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Colombia Venezuela
Colombia and Venezuela are Luis Yanes an inhabitant of
Colombia Venezuela
action filter_type
action find
entity Luis Yanes
relation country of citizenship
type designation for an administrative territorial entity
['Luis Yanes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Luis_Yanes property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q739 Q717
P194
Q1752346
USER
Which assemblies are the legislative bodies for those administrative territories ?
(Q739,P194,c(Q1752346)) (Q717,P194,c(Q1752346))
action filter_type
action find
entity prev_answer
relation P194
type Q1752346
['Q739', 'P194', {'concept': 'Q1752346'}] ['Q717', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { ?t property:P194 ?y . ?y rdf:type ontology:Q1752346 . VALUES ( ?t ) { ( resource:Q739 ) ( resource:Q717 ) } }
Colombia Venezuela
action filter_type
action find
entity prev_answer
relation legislative body
type assembly
['Colombia', 'legislative body', {'concept': 'assembly'}] ['Venezuela', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { ?t property:legislative_body ?y . ?y rdf:type ontology:assembly . VALUES ( ?t ) { ( resource:Colombia ) ( resource:Venezuela ) } }
[]
assembly
Q1284236 Q1585014
SYSTEM
Congress of Colombia, National Assembly of Venezuela
Q1284236 Q1585014
(Q739,P194,c(Q1752346)) (Q717,P194,c(Q1752346))
action filter_type
action find
entity prev_answer
relation P194
type Q1752346
[ANSWERS] are the legislative bodies for those administrative territories
['Q739', 'P194', {'concept': 'Q1752346'}] ['Q717', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?y WHERE { ?t property:P194 ?y . ?y rdf:type ontology:Q1752346 . VALUES ( ?t ) { ( resource:Q739 ) ( resource:Q717 ) } }
Congress of Colombia National Assembly of Venezuela
Congress of Colombia and National Assembly of Venezuela are the legislative bodies for those administrative territories
Congress of Colombia National Assembly of Venezuela
action filter_type
action find
entity prev_answer
relation legislative body
type assembly
['Colombia', 'legislative body', {'concept': 'assembly'}] ['Venezuela', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?y WHERE { ?t property:legislative_body ?y . ?y rdf:type ontology:assembly . VALUES ( ?t ) { ( resource:Colombia ) ( resource:Venezuela ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739
P740
Q2088357
USER
What was formed at Colombia ?
(c(Q2088357),P740,Q739)
action filter_type
action find_reverse
entity Q739
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q739']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q739 . ?r rdf:type ontology:Q2088357 }
Colombia
action filter_type
action find_reverse
entity Colombia
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Colombia']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Colombia . ?r rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7881687
SYSTEM
Umma Project
Q7881687
(c(Q2088357),P740,Q739)
action filter_type
action find_reverse
entity Q739
relation P740
type Q2088357
[ANSWER] was formed at Colombia
[{'concept': 'Q2088357'}, 'P740', 'Q739']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q739 . ?r rdf:type ontology:Q2088357 }
Umma Project
Umma Project was formed at Colombia
Umma Project
action filter_type
action find_reverse
entity Colombia
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Colombia']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:Colombia . ?r rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739
P610
Q14524493
USER
Which is the highest point of Colombia ?
(Q739,P610,c(Q14524493))
action filter_type
action find
entity Q739
relation P610
type Q14524493
['Q739', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q739 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Colombia
action filter_type
action find
entity Colombia
relation highest point
type terrain
['Colombia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:Colombia property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
terrain
Q338790
SYSTEM
Pico Simón Bolívar
Q338790
(Q739,P610,c(Q14524493))
action filter_type
action find
entity Q739
relation P610
type Q14524493
The highest point of Colombia is the [ANSWER]
['Q739', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q739 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Pico Simón Bolívar
The highest point of Colombia is the Pico Simón Bolívar
Pico Simón Bolívar
action filter_type
action find
entity Colombia
relation highest point
type terrain
['Colombia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:Colombia property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1201
Q14524493
USER
And also tell me about Saarland?
(Q1201,P610,c(Q14524493))
action filter_type
action find
entity Q1201
relation P610
type Q14524493
['Q1201', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q1201 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Saarland
action filter_type
action find
entity Saarland
relation highest point
type terrain
['Saarland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Saarland property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
terrain
Q1235697
SYSTEM
Dollberg
Q1235697
(Q1201,P610,c(Q14524493))
action filter_type
action find
entity Q1201
relation P610
type Q14524493
[ANSWER]
['Q1201', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q1201 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Dollberg
Dollberg
action filter_type
action find
entity Saarland
relation highest point
type terrain
['Saarland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Saarland property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1235697
P17
Q1048835
USER
Which political territory is that terrain a part of ?
(Q1235697,P17,c(Q1048835))
action filter_type
action find
entity Q1235697
relation P17
type Q1048835
['Q1235697', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q1235697 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Dollberg
action filter_type
action find
entity Dollberg
relation country
type political territorial entity
['Dollberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Dollberg property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1235697,P17,c(Q1048835))
action filter_type
action find
entity Q1235697
relation P17
type Q1048835
[ANSWER] is that terrain a part of
['Q1235697', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q1235697 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Germany is that terrain a part of
Germany
action filter_type
action find
entity Dollberg
relation country
type political territorial entity
['Dollberg', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Dollberg property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q42245
P138
Q15617994 Q56061 Q179049
USER
How many administrative territories are greater number of administrative territories and nature reserves named after than Robecco d'Oglio ?
(c(Q56061)|c(Q179049),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q42245
relation P138
type Q56061
type Q179049
[[{'concept': 'Q56061'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P138 resource:Q42245 . { VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q179049 ) } . ?g rdf:type ?t } } } . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P138 ?i . ?c rdf:type ontology:Q56061 . ?i rdf:type ontology:Q15617994 } UNION { ?c property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q179049 } } GROUP BY ?i } }
Robecco d'Oglio
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Robecco d'Oglio
relation named after
type administrative territorial entity
type nature reserve
[[{'concept': 'administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:named_after resource:Robecco_d'Oglio . { VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:nature_reserve ) } . ?g rdf:type ?t } } } . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:named_after ?i . ?c rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:nature_reserve } } GROUP BY ?i } }
[]
designation for an administrative territorial entity administrative territorial entity nature reserve
SYSTEM
25
Q55 Q570120 Q549749 Q1427674 Q45 Q632209 Q39 Q1987554 Q555328 Q488513 Q1527970 Q14943702 Q223 Q2152015 Q654138 Q493437 Q31872 Q264620 Q490167 Q2009898 Q770 Q759201 Q6998 Q1837 Q554187
(c(Q56061)|c(Q179049),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q42245
relation P138
type Q56061
type Q179049
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:P138 resource:Q42245 . { VALUES ( ?t ) { ( ontology:Q56061 ) ( ontology:Q179049 ) } . ?g rdf:type ?t } } } . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:P138 ?i . ?c rdf:type ontology:Q56061 . ?i rdf:type ontology:Q15617994 } UNION { ?c property:P138 ?i . ?i rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q179049 } } GROUP BY ?i } }
Netherlands Hollenstedt Heinsen Wernborn Portugal Basedow Switzerland Nieder-Roden Urmitz Anklam Ober-Roden Sprendlingen Greenland Riedelbach Rhede, Lower Saxony Arneburg Moosburg an der Isar Garching bei München Pielenhofen Oberhöchstadt Friesland Auerbach Freising Wohldorf-Ohlstedt Lunden
25
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Robecco d'Oglio
relation named after
type administrative territorial entity
type nature reserve
[[{'concept': 'administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { FILTER ( ?x > ?j ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g property:named_after resource:Robecco_d'Oglio . { VALUES ( ?t ) { ( ontology:administrative_territorial_entity ) ( ontology:nature_reserve ) } . ?g rdf:type ?t } } } . { SELECT DISTINCT ?i ( COUNT ( ?c ) AS ?x ) WHERE { { ?c property:named_after ?i . ?c rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:named_after ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:nature_reserve } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q769621
P138
Q15617994 Q56061 Q179049
USER
And how about Sanshui District?
(c(Q56061)|c(Q179049),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q769621
relation P138
type Q56061
type Q179049
[[{'concept': 'Q56061'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q179049 ) } . ?e rdf:type ?h } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P138 resource:Q769621 . { { ?b rdf:type ontology:Q56061 } UNION { ?b rdf:type ontology:Q179049 } } } } . FILTER ( ?z > ?d ) }
Sanshui District
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Sanshui District
relation named after
type administrative territorial entity
type nature reserve
[[{'concept': 'administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:nature_reserve ) } . ?e rdf:type ?h } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:named_after resource:Sanshui_District . { { ?b rdf:type ontology:administrative_territorial_entity } UNION { ?b rdf:type ontology:nature_reserve } } } } . FILTER ( ?z > ?d ) }
[]
designation for an administrative territorial entity administrative territorial entity nature reserve
SYSTEM
25
Q55 Q570120 Q549749 Q1427674 Q45 Q632209 Q39 Q1987554 Q555328 Q488513 Q1527970 Q14943702 Q223 Q2152015 Q654138 Q493437 Q31872 Q264620 Q490167 Q2009898 Q770 Q759201 Q6998 Q1837 Q554187
(c(Q56061)|c(Q179049),P138,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q56061
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q179049
action count
action filter_multi_types
action find_reverse
entity Q769621
relation P138
type Q56061
type Q179049
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q179049'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q179049 ) } . ?e rdf:type ?h } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:P138 resource:Q769621 . { { ?b rdf:type ontology:Q56061 } UNION { ?b rdf:type ontology:Q179049 } } } } . FILTER ( ?z > ?d ) }
Netherlands Hollenstedt Heinsen Wernborn Portugal Basedow Switzerland Nieder-Roden Urmitz Anklam Ober-Roden Sprendlingen Greenland Riedelbach Rhede, Lower Saxony Arneburg Moosburg an der Isar Garching bei München Pielenhofen Oberhöchstadt Friesland Auerbach Freising Wohldorf-Ohlstedt Lunden
25
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type administrative territorial entity
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type nature reserve
action count
action filter_multi_types
action find_reverse
entity Sanshui District
relation named after
type administrative territorial entity
type nature reserve
[[{'concept': 'administrative territorial entity'}, {'concept': 'nature reserve'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:nature_reserve ) } . ?e rdf:type ?h } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { ?b property:named_after resource:Sanshui_District . { { ?b rdf:type ontology:administrative_territorial_entity } UNION { ?b rdf:type ontology:nature_reserve } } } } . FILTER ( ?z > ?d ) }
[]