Simple Question (Direct)
Simple Question
Q2173537
P27
Q1048835
USER
Which political territory is the native country of Rudolf Ortner ?
(Q2173537,P27,c(Q1048835))
action filter_type
action find
entity Q2173537
relation P27
type Q1048835
['Q2173537', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q2173537 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Rudolf Ortner
action filter_type
action find
entity Rudolf Ortner
relation country of citizenship
type political territorial entity
['Rudolf Ortner', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Rudolf_Ortner property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2173537,P27,c(Q1048835))
action filter_type
action find
entity Q2173537
relation P27
type Q1048835
The [ANSWER] is the native country of Rudolf Ortner
['Q2173537', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q2173537 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Germany
The Germany is the native country of Rudolf Ortner
Germany
action filter_type
action find
entity Rudolf Ortner
relation country of citizenship
type political territorial entity
['Rudolf Ortner', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Rudolf_Ortner property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2173537
P106
Q12737077
USER
Which occupations are the professions of Rudolf Ortner ?
(Q2173537,P106,c(Q12737077))
action filter_type
action find
entity Q2173537
relation P106
type Q12737077
['Q2173537', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2173537 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Rudolf Ortner
action filter_type
action find
entity Rudolf Ortner
relation occupation
type occupation
['Rudolf Ortner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Rudolf_Ortner property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q1028181 Q42973 Q1622272
SYSTEM
painter, architect, university teacher
Q1028181 Q42973 Q1622272
(Q2173537,P106,c(Q12737077))
action filter_type
action find
entity Q2173537
relation P106
type Q12737077
The professions of Rudolf Ortner are [ANSWERS]
['Q2173537', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2173537 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
painter architect university teacher
The professions of Rudolf Ortner are painter, architect and university teacher
painter architect university teacher
action filter_type
action find
entity Rudolf Ortner
relation occupation
type occupation
['Rudolf Ortner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Rudolf_Ortner property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1028181 Q42973 Q1622272
P417
Q502895
USER
What are the names of person who are the patron saints of painter, architect and university teacher ?
(Q1028181,P417,c(Q502895)) (Q42973,P417,c(Q502895)) (Q1622272,P417,c(Q502895))
action union
action filter_type
action find
entity Q1028181
relation P417
type Q502895
action filter_type
action find
entity Q42973
relation P417
type Q502895
action filter_type
action find
entity Q1622272
relation P417
type Q502895
['Q1028181', 'P417', {'concept': 'Q502895'}] ['Q42973', 'P417', {'concept': 'Q502895'}] ['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q1028181 property:P417 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q42973 property:P417 ?n . ?n rdf:type ontology:Q502895 } }
painter architect university teacher
action union
action filter_type
action find
entity painter
relation patron saint
type common name
action filter_type
action find
entity architect
relation patron saint
type common name
action filter_type
action find
entity university teacher
relation patron saint
type common name
['painter', 'patron saint', {'concept': 'common name'}] ['architect', 'patron saint', {'concept': 'common name'}] ['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:painter property:patron_saint ?n . ?n rdf:type ontology:common_name } UNION { resource:architect property:patron_saint ?n . ?n rdf:type ontology:common_name } }
[]
common name
Q9438 Q44265 Q128538
SYSTEM
Thomas Aquinas, Benedict of Nursia, Luke the Evangelist
Q128538 Q43669 Q192816 Q44265 Q9438
(Q1028181,P417,c(Q502895)) (Q42973,P417,c(Q502895)) (Q1622272,P417,c(Q502895))
action union
action filter_type
action find
entity Q1028181
relation P417
type Q502895
action filter_type
action find
entity Q42973
relation P417
type Q502895
action filter_type
action find
entity Q1622272
relation P417
type Q502895
The names of person are the patron saints of painter , architect and university teacher are Saint [ANSWERS]
['Q1028181', 'P417', {'concept': 'Q502895'}] ['Q42973', 'P417', {'concept': 'Q502895'}] ['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q1028181 property:P417 ?n . ?n rdf:type ontology:Q502895 } UNION { resource:Q42973 property:P417 ?n . ?n rdf:type ontology:Q502895 } }
Luke the Evangelist Thomas the Apostle Saint Barbara Benedict of Nursia Thomas Aquinas
The names of person are the patron saints of painter , architect and university teacher are Saint Thomas Aquinas, Benedict of Nursia and Luke the Evangelist
Thomas Aquinas Benedict of Nursia Luke the Evangelist
action union
action filter_type
action find
entity painter
relation patron saint
type common name
action filter_type
action find
entity architect
relation patron saint
type common name
action filter_type
action find
entity university teacher
relation patron saint
type common name
['painter', 'patron saint', {'concept': 'common name'}] ['architect', 'patron saint', {'concept': 'common name'}] ['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:painter property:patron_saint ?n . ?n rdf:type ontology:common_name } UNION { resource:architect property:patron_saint ?n . ?n rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9438 Q44265 Q128538
P411
Q82799
USER
What names are held by those people ?
(Q9438,P411,c(Q82799)) (Q44265,P411,c(Q82799)) (Q128538,P411,c(Q82799))
action filter_type
action find
entity prev_answer
relation P411
type Q82799
['Q9438', 'P411', {'concept': 'Q82799'}] ['Q44265', 'P411', {'concept': 'Q82799'}] ['Q128538', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . ?h property:P411 ?y . VALUES ( ?h ) { ( resource:Q128538 ) ( resource:Q43669 ) ( resource:Q192816 ) } }
Thomas Aquinas Benedict of Nursia Luke the Evangelist
action filter_type
action find
entity prev_answer
relation canonization status
type name
['Thomas Aquinas', 'canonization status', {'concept': 'name'}] ['Benedict of Nursia', 'canonization status', {'concept': 'name'}] ['Luke the Evangelist', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . ?h property:canonization_status ?y . VALUES ( ?h ) { ( resource:Luke_the_Evangelist ) ( resource:Thomas_the_Apostle ) ( resource:Saint_Barbara ) } }
[]
name
Q43115 Q43115 Q43115
SYSTEM
saint
Q43115 Q43115 Q43115
(Q9438,P411,c(Q82799)) (Q44265,P411,c(Q82799)) (Q128538,P411,c(Q82799))
action filter_type
action find
entity prev_answer
relation P411
type Q82799
[ANSWER], [ANSWER] and [ANSWER] are held by those people
['Q9438', 'P411', {'concept': 'Q82799'}] ['Q44265', 'P411', {'concept': 'Q82799'}] ['Q128538', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q82799 . ?h property:P411 ?y . VALUES ( ?h ) { ( resource:Q128538 ) ( resource:Q43669 ) ( resource:Q192816 ) } }
saint saint saint
Saint, saint and saint are held by those people
saint saint saint
action filter_type
action find
entity prev_answer
relation canonization status
type name
['Thomas Aquinas', 'canonization status', {'concept': 'name'}] ['Benedict of Nursia', 'canonization status', {'concept': 'name'}] ['Luke the Evangelist', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:name . ?h property:canonization_status ?y . VALUES ( ?h ) { ( resource:Luke_the_Evangelist ) ( resource:Thomas_the_Apostle ) ( resource:Saint_Barbara ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028181
P39
Q502895
USER
Who was responsible for occupying the position of painter ?
(c(Q502895),P39,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1028181']
SELECT DISTINCT ?b WHERE { ?b property:P39 resource:Q1028181 . ?b rdf:type ontology:Q502895 }
painter
action filter_type
action find_reverse
entity painter
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'painter']
SELECT DISTINCT ?b WHERE { ?b property:position_held resource:painter . ?b rdf:type ontology:common_name }
[]
common name
Q1677284
SYSTEM
Jean-Pierre Côté
Q1677284
(c(Q502895),P39,Q1028181)
action filter_type
action find_reverse
entity Q1028181
relation P39
type Q502895
[ANSWER] was responsible for occupying the position of painter
[{'concept': 'Q502895'}, 'P39', 'Q1028181']
SELECT DISTINCT ?b WHERE { ?b property:P39 resource:Q1028181 . ?b rdf:type ontology:Q502895 }
Jean-Pierre Côté
Jean-Pierre Côté was responsible for occupying the position of painter
Jean-Pierre Côté
action filter_type
action find_reverse
entity painter
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'painter']
SELECT DISTINCT ?b WHERE { ?b property:position_held resource:painter . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1677284
P20
Q56061
USER
Where did that person expire ?
(Q1677284,P20,c(Q56061))
action filter_type
action find
entity Q1677284
relation P20
type Q56061
['Q1677284', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1677284 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Jean-Pierre Côté
action filter_type
action find
entity Jean-Pierre Côté
relation place of death
type administrative territorial entity
['Jean-Pierre Côté', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Pierre_Côté property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q1677284,P20,c(Q56061))
action filter_type
action find
entity Q1677284
relation P20
type Q56061
That person expired in [ANSWER]
['Q1677284', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1677284 property:P20 ?u . ?u rdf:type ontology:Q56061 }
Montreal
That person expired in Montreal
Montreal
action filter_type
action find
entity Jean-Pierre Côté
relation place of death
type administrative territorial entity
['Jean-Pierre Côté', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Jean-Pierre_Côté property:place_of_death ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q25330
P559
Q56061 Q83620 Q628179
USER
Which administrative territories are the endpoints for greater number of thoroughfares or trails than Trenton ?
(c(Q83620)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q25330
relation P559
type Q83620
type Q628179
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P559 resource:Q25330 . { { ?r rdf:type ontology:Q83620 } UNION { ?r rdf:type ontology:Q628179 } } } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?i WHERE { { ?s property:P559 ?i . ?s rdf:type ontology:Q628179 . ?i rdf:type ontology:Q56061 } UNION { ?s property:P559 ?i . ?i rdf:type ontology:Q56061 . ?s rdf:type ontology:Q83620 } } GROUP BY ?i } }
Trenton
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Trenton
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:terminus resource:Trenton . { { ?r rdf:type ontology:thoroughfare } UNION { ?r rdf:type ontology:trail } } } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?i WHERE { { ?s property:terminus ?i . ?s rdf:type ontology:trail . ?i rdf:type ontology:administrative_territorial_entity } UNION { ?s property:terminus ?i . ?i rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:thoroughfare } } GROUP BY ?i } }
[]
administrative territorial entity thoroughfare trail
Q1085 Q649 Q956
SYSTEM
Prague, Moscow, Beijing
Q938820 Q9832 Q3112707 Q11851639 Q23436 Q837211 Q1017610 Q10084 Q7567083 Q723164 Q82490 Q172157 Q23311 Q49550 Q38511 Q796625 Q130191 Q3001 Q986100 Q6023 Q171357 Q956 Q959 Q727 Q649 Q211059 Q7986745 Q18808 Q671348 Q28327 Q4093 Q33959 Q586 Q987170 Q1017331 Q1763 Q1449 Q1757 Q36989 Q990112 Q1020951 Q40840 Q542966 Q257034 Q1571025 Q856860 Q517381 Q3992 Q1318695 Q1248150 Q1781385 Q369947 Q84 Q2132 Q2133814 Q7944369 Q184383 Q375905 Q263954 Q12892 Q643160 Q6816 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q580016 Q244289 Q237253 Q485186 Q588417 Q146659 Q530309 Q865872 Q1085
(c(Q83620)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q25330
relation P559
type Q83620
type Q628179
[ANSWERS] are the endpoints for greater number of thoroughfares or trails than Trenton
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P559 resource:Q25330 . { { ?r rdf:type ontology:Q83620 } UNION { ?r rdf:type ontology:Q628179 } } } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?i WHERE { { ?s property:P559 ?i . ?s rdf:type ontology:Q628179 . ?i rdf:type ontology:Q56061 } UNION { ?s property:P559 ?i . ?i rdf:type ontology:Q56061 . ?s rdf:type ontology:Q83620 } } GROUP BY ?i } }
Virrat Eindhoven Sedbury Annalankangas Edinburgh Scheveningen Horgoš Vlissingen South Drain Pop Lyme Regis Winchester City of London Maó-Mahón Turku Edale Norwich Paramaribo Ridder Lapua Kecskemét Beijing Vladivostok Amsterdam Moscow Jõhvi West Vale Pyongyang Worthing Örnsköldsvik Glasgow Nice Bonn Inčukalns Westport, County Mayo Murmansk Genoa Helsinki Pardubice Littlehampton Ilkley Tampere Angren, Uzbekistan Kemble Mullan Hammond Dillenburg Liège Apoera Wallsend Björkhagen El Cajon London Victoria St Nicholas-at-Wade Värpinge Zeebrugge Deerfield Afobaka Antwerp Farnham Ulan-Ude Alice Springs Galway Bewdley Mahdia Orivesi Sousse Albina Athis-Mons Great Yarmouth Key West Sewell, Chile Clapham Karkkila Birstall Prague
Prague, Moscow and Beijing are the endpoints for greater number of thoroughfares or trails than Trenton
Prague Moscow Beijing
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Trenton
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:terminus resource:Trenton . { { ?r rdf:type ontology:thoroughfare } UNION { ?r rdf:type ontology:trail } } } } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?i WHERE { { ?s property:terminus ?i . ?s rdf:type ontology:trail . ?i rdf:type ontology:administrative_territorial_entity } UNION { ?s property:terminus ?i . ?i rdf:type ontology:administrative_territorial_entity . ?s rdf:type ontology:thoroughfare } } GROUP BY ?i } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q575557
P559
Q56061 Q83620 Q628179
USER
And what about Grand Tower?
(c(Q83620)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q575557
relation P559
type Q83620
type Q628179
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:Q83620 } UNION { ?v rdf:type ontology:Q628179 } } . ?v property:P559 resource:Q575557 } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } } GROUP BY ?t } }
Grand Tower
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Grand Tower
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:thoroughfare } UNION { ?v rdf:type ontology:trail } } . ?v property:terminus resource:Grand_Tower } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:thoroughfare ) ( ontology:trail ) } } GROUP BY ?t } }
[]
administrative territorial entity thoroughfare trail
Q1085 Q649 Q956
SYSTEM
Prague, Moscow, Beijing
Q938820 Q9832 Q3112707 Q11851639 Q23436 Q837211 Q1017610 Q10084 Q7567083 Q723164 Q82490 Q172157 Q23311 Q49550 Q38511 Q796625 Q130191 Q3001 Q986100 Q6023 Q171357 Q956 Q959 Q727 Q649 Q211059 Q7986745 Q18808 Q671348 Q28327 Q4093 Q33959 Q586 Q987170 Q1017331 Q1763 Q1449 Q1757 Q36989 Q990112 Q1020951 Q40840 Q542966 Q257034 Q1571025 Q856860 Q517381 Q3992 Q1318695 Q1248150 Q1781385 Q369947 Q84 Q2132 Q2133814 Q7944369 Q184383 Q375905 Q263954 Q12892 Q643160 Q6816 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q580016 Q244289 Q237253 Q485186 Q588417 Q146659 Q530309 Q865872 Q1085
(c(Q83620)|c(Q628179),P559,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action count
action filter_multi_types
action find_reverse
entity Q575557
relation P559
type Q83620
type Q628179
[ANSWERS]
[[{'concept': 'Q83620'}, {'concept': 'Q628179'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:Q83620 } UNION { ?v rdf:type ontology:Q628179 } } . ?v property:P559 resource:Q575557 } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:Q83620 ) ( ontology:Q628179 ) } } GROUP BY ?t } }
Virrat Eindhoven Sedbury Annalankangas Edinburgh Scheveningen Horgoš Vlissingen South Drain Pop Lyme Regis Winchester City of London Maó-Mahón Turku Edale Norwich Paramaribo Ridder Lapua Kecskemét Beijing Vladivostok Amsterdam Moscow Jõhvi West Vale Pyongyang Worthing Örnsköldsvik Glasgow Nice Bonn Inčukalns Westport, County Mayo Murmansk Genoa Helsinki Pardubice Littlehampton Ilkley Tampere Angren, Uzbekistan Kemble Mullan Hammond Dillenburg Liège Apoera Wallsend Björkhagen El Cajon London Victoria St Nicholas-at-Wade Värpinge Zeebrugge Deerfield Afobaka Antwerp Farnham Ulan-Ude Alice Springs Galway Bewdley Mahdia Orivesi Sousse Albina Athis-Mons Great Yarmouth Key West Sewell, Chile Clapham Karkkila Birstall Prague
Prague Moscow Beijing
action greater
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action count
action filter_multi_types
action find_reverse
entity Grand Tower
relation terminus
type thoroughfare
type trail
[[{'concept': 'thoroughfare'}, {'concept': 'trail'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?y ) WHERE { { { ?v rdf:type ontology:thoroughfare } UNION { ?v rdf:type ontology:trail } } . ?v property:terminus resource:Grand_Tower } } . FILTER ( ?g > ?y ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) ?t WHERE { ?c rdf:type ?f . VALUES ( ?f ) { ( ontology:thoroughfare ) ( ontology:trail ) } } GROUP BY ?t } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19689
P190
Q515
USER
Are Tirana sister town of those administrative territories ?
(Q19689,P190,Q1085) (Q19689,P190,Q649) (Q19689,P190,Q956)
action is_in
entity prev_answer
action find
entity Q19689
relation P190
['Q19689', 'P190', 'Q1085'] ['Q19689', 'P190', 'Q649'] ['Q19689', 'P190', 'Q956']
ASK WHERE { VALUES ( ?p ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q3112707 ) } . resource:Q19689 property:P190 ?p }
Tirana
action is_in
entity prev_answer
action find
entity Tirana
relation sister city
['Tirana', 'sister city', 'Prague'] ['Tirana', 'sister city', 'Moscow'] ['Tirana', 'sister city', 'Beijing']
ASK WHERE { VALUES ( ?p ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Sedbury ) } . resource:Tirana property:sister_city ?p }
[]
city
SYSTEM
YES
(Q19689,P190,Q1085) (Q19689,P190,Q649) (Q19689,P190,Q956)
action is_in
entity prev_answer
action find
entity Q19689
relation P190
[ANSWER]
['Q19689', 'P190', 'Q1085'] ['Q19689', 'P190', 'Q649'] ['Q19689', 'P190', 'Q956']
ASK WHERE { VALUES ( ?p ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q3112707 ) } . resource:Q19689 property:P190 ?p }
Yes
action is_in
entity prev_answer
action find
entity Tirana
relation sister city
['Tirana', 'sister city', 'Prague'] ['Tirana', 'sister city', 'Moscow'] ['Tirana', 'sister city', 'Beijing']
ASK WHERE { VALUES ( ?p ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Sedbury ) } . resource:Tirana property:sister_city ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P1376
Q15617994
USER
Which administrative territory has Moscow as its capital ?
(Q649,P1376,c(Q15617994))
action filter_type
action find
entity Q649
relation P1376
type Q15617994
['Q649', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q649 property:P1376 ?k . ?k rdf:type ontology:Q15617994 }
Moscow
action filter_type
action find
entity Moscow
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Moscow property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q649,P1376,c(Q15617994))
action filter_type
action find
entity Q649
relation P1376
type Q15617994
[ANSWER] has Moscow as its capital
['Q649', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q649 property:P1376 ?k . ?k rdf:type ontology:Q15617994 }
Russia
Russia has Moscow as its capital
Russia
action filter_type
action find
entity Moscow
relation capital of
type designation for an administrative territorial entity
['Moscow', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Moscow property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]