Simple Question (Direct)
Simple Question
Q1781078
P463
Q811430
USER
What was R. W. Southern a member of ?
(Q1781078,P463,c(Q811430))
action filter_type
action find
entity Q1781078
relation P463
type Q811430
['Q1781078', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { resource:Q1781078 property:P463 ?o . ?o rdf:type ontology:Q811430 }
R. W. Southern
action filter_type
action find
entity R. W. Southern
relation member of
type construction
['R. W. Southern', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { resource:R._W._Southern property:member_of ?o . ?o rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q1781078,P463,c(Q811430))
action filter_type
action find
entity Q1781078
relation P463
type Q811430
R. W. Southern was a member of the [ANSWER]
['Q1781078', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?o WHERE { resource:Q1781078 property:P463 ?o . ?o rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
R. W. Southern was a member of the American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity R. W. Southern
relation member of
type construction
['R. W. Southern', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?o WHERE { resource:R._W._Southern property:member_of ?o . ?o rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1781078
P69
Q1244442
USER
Which school building was that person educated at ?
(Q463303,P69,c(Q1244442))
action filter_type
action find
entity Q1781078
relation P69
type Q1244442
['Q463303', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?c WHERE { resource:Q1781078 property:P69 ?c . ?c rdf:type ontology:Q1244442 }
R. W. Southern
action filter_type
action find
entity R. W. Southern
relation educated at
type school building
['American Academy of Arts and Sciences', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?c WHERE { resource:R._W._Southern property:educated_at ?c . ?c rdf:type ontology:school_building }
[]
school building
Q805285
SYSTEM
Balliol College
Q805285
(Q463303,P69,c(Q1244442))
action filter_type
action find
entity Q1781078
relation P69
type Q1244442
Which school building was that person educated at
['Q463303', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?c WHERE { resource:Q1781078 property:P69 ?c . ?c rdf:type ontology:Q1244442 }
Balliol College
Which school building was that person educated at
Balliol College
action filter_type
action find
entity R. W. Southern
relation educated at
type school building
['American Academy of Arts and Sciences', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?c WHERE { resource:R._W._Southern property:educated_at ?c . ?c rdf:type ontology:school_building }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q190157
P366
Q811430 Q56061 Q2235308
USER
How many constructions are the main uses of around the same number of administrative territories or ship types as transmitter ?
(c(Q56061)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q56061
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q190157
relation P366
type Q56061
type Q2235308
[[{'concept': 'Q56061'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { { ?p rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q2235308 } } . ?p property:P366 resource:Q190157 } } . FILTER ( ?y = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?x WHERE { { ?w property:P366 ?x . ?x rdf:type ontology:Q811430 . ?w rdf:type ontology:Q56061 } UNION { ?w property:P366 ?x . ?x rdf:type ontology:Q811430 . ?w rdf:type ontology:Q2235308 } } GROUP BY ?x } }
transmitter
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity transmitter
relation use
type administrative territorial entity
type ship type
[[{'concept': 'administrative territorial entity'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { { ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:ship_type } } . ?p property:use resource:transmitter } } . FILTER ( ?y = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?x WHERE { { ?w property:use ?x . ?x rdf:type ontology:construction . ?w rdf:type ontology:administrative_territorial_entity } UNION { ?w property:use ?x . ?x rdf:type ontology:construction . ?w rdf:type ontology:ship_type } } GROUP BY ?x } }
[]
construction administrative territorial entity ship type
SYSTEM
13
Q4989906 Q494829 Q1362225 Q12518 Q1370598 Q174782 Q148319 Q1195942 Q190157 Q641226 Q18674739 Q55488 Q335261
(c(Q56061)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q56061
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q190157
relation P366
type Q56061
type Q2235308
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { { ?p rdf:type ontology:Q56061 } UNION { ?p rdf:type ontology:Q2235308 } } . ?p property:P366 resource:Q190157 } } . FILTER ( ?y = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?x WHERE { { ?w property:P366 ?x . ?x rdf:type ontology:Q811430 . ?w rdf:type ontology:Q56061 } UNION { ?w property:P366 ?x . ?x rdf:type ontology:Q811430 . ?w rdf:type ontology:Q2235308 } } GROUP BY ?x } }
monument bus station warehouse tower place of worship square planetarium fire station transmitter arena event venue railway station ornament
13
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity transmitter
relation use
type administrative territorial entity
type ship type
[[{'concept': 'administrative territorial entity'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { { ?p rdf:type ontology:administrative_territorial_entity } UNION { ?p rdf:type ontology:ship_type } } . ?p property:use resource:transmitter } } . FILTER ( ?y = ?f ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?x WHERE { { ?w property:use ?x . ?x rdf:type ontology:construction . ?w rdf:type ontology:administrative_territorial_entity } UNION { ?w property:use ?x . ?x rdf:type ontology:construction . ?w rdf:type ontology:ship_type } } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q39715
P366
Q811430 Q56061 Q2235308
USER
And also tell me about lighthouse?
(c(Q56061)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q56061
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q39715
relation P366
type Q56061
type Q2235308
[[{'concept': 'Q56061'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?g WHERE { VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q2235308 ) } . ?e rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q56061 } } . ?j property:P366 resource:Q39715 } } . FILTER ( ?h = ?k ) }
lighthouse
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity lighthouse
relation use
type administrative territorial entity
type ship type
[[{'concept': 'administrative territorial entity'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?g WHERE { VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:ship_type ) } . ?e rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:administrative_territorial_entity } } . ?j property:use resource:lighthouse } } . FILTER ( ?h = ?k ) }
[]
construction administrative territorial entity ship type
SYSTEM
3
Q12280 Q11707 Q39715
(c(Q56061)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q56061
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q39715
relation P366
type Q56061
type Q2235308
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?g WHERE { VALUES ( ?f ) { ( ontology:Q56061 ) ( ontology:Q2235308 ) } . ?e rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { { ?j rdf:type ontology:Q2235308 } UNION { ?j rdf:type ontology:Q56061 } } . ?j property:P366 resource:Q39715 } } . FILTER ( ?h = ?k ) }
bridge restaurant lighthouse
3
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type administrative territorial entity
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity lighthouse
relation use
type administrative territorial entity
type ship type
[[{'concept': 'administrative territorial entity'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?g WHERE { VALUES ( ?f ) { ( ontology:administrative_territorial_entity ) ( ontology:ship_type ) } . ?e rdf:type ?f } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { { ?j rdf:type ontology:ship_type } UNION { ?j rdf:type ontology:administrative_territorial_entity } } . ?j property:use resource:lighthouse } } . FILTER ( ?h = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q805285
P108
Q502895
USER
Which people have Balliol College as their employer ?
(c(Q502895),P108,Q805285)
action filter_type
action find_reverse
entity Q805285
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q805285']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q805285 . ?e rdf:type ontology:Q502895 }
Balliol College
action filter_type
action find_reverse
entity Balliol College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Balliol College']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Balliol_College . ?e rdf:type ontology:common_name }
[]
common name
Q541018 Q105830
SYSTEM
Frances Kirwan, Baruch Samuel Blumberg
Q541018 Q105830
(c(Q502895),P108,Q805285)
action filter_type
action find_reverse
entity Q805285
relation P108
type Q502895
[ANSWERS] have Balliol College as their employer
[{'concept': 'Q502895'}, 'P108', 'Q805285']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q805285 . ?e rdf:type ontology:Q502895 }
Frances Kirwan Baruch Samuel Blumberg
Frances Kirwan and Baruch Samuel Blumberg have Balliol College as their employer
Frances Kirwan Baruch Samuel Blumberg
action filter_type
action find_reverse
entity Balliol College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Balliol College']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Balliol_College . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q541018 Q105830
P21
Q290
USER
Which sexes do Frances Kirwan and Baruch Samuel Blumberg belong to ?
(Q541018,P21,c(Q290)) (Q105830,P21,c(Q290))
action union
action filter_type
action find
entity Q541018
relation P21
type Q290
action filter_type
action find
entity Q105830
relation P21
type Q290
['Q541018', 'P21', {'concept': 'Q290'}] ['Q105830', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?g ) { ( resource:Q541018 ) ( resource:Q105830 ) } . ?g property:P21 ?s }
Frances Kirwan Baruch Samuel Blumberg
action union
action filter_type
action find
entity Frances Kirwan
relation gender
type sex
action filter_type
action find
entity Baruch Samuel Blumberg
relation gender
type sex
['Frances Kirwan', 'gender', {'concept': 'sex'}] ['Baruch Samuel Blumberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?g ) { ( resource:Frances_Kirwan ) ( resource:Baruch_Samuel_Blumberg ) } . ?g property:gender ?s }
[]
sex
Q6581072 Q6581097
SYSTEM
female, male
Q6581072 Q6581097
(Q541018,P21,c(Q290)) (Q105830,P21,c(Q290))
action union
action filter_type
action find
entity Q541018
relation P21
type Q290
action filter_type
action find
entity Q105830
relation P21
type Q290
Frances Kirwan and Baruch Samuel Blumberg belong to the [ANSWERS]
['Q541018', 'P21', {'concept': 'Q290'}] ['Q105830', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?g ) { ( resource:Q541018 ) ( resource:Q105830 ) } . ?g property:P21 ?s }
female male
Frances Kirwan and Baruch Samuel Blumberg belong to the female and male
female male
action union
action filter_type
action find
entity Frances Kirwan
relation gender
type sex
action filter_type
action find
entity Baruch Samuel Blumberg
relation gender
type sex
['Frances Kirwan', 'gender', {'concept': 'sex'}] ['Baruch Samuel Blumberg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { VALUES ( ?g ) { ( resource:Frances_Kirwan ) ( resource:Baruch_Samuel_Blumberg ) } . ?g property:gender ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q541018
P166
Q2003221
USER
What was received by that person ?
(Q541018,P166,c(Q2003221))
action filter_type
action find
entity Q541018
relation P166
type Q2003221
['Q541018', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?v WHERE { resource:Q541018 property:P166 ?v . ?v rdf:type ontology:Q2003221 }
Frances Kirwan
action filter_type
action find
entity Frances Kirwan
relation award received
type chivalric order
['Frances Kirwan', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?v WHERE { resource:Frances_Kirwan property:award_received ?v . ?v rdf:type ontology:chivalric_order }
[]
chivalric order
Clarification for simple ques.
Q541018
SYSTEM
Did you mean Frances Kirwan ?
Q6581072 Q6581097
(Q6581072,P166,c(Q2003221)) (Q6581097,P166,c(Q2003221))
[ANSWER]
['Q6581072', 'P166', {'concept': 'Q2003221'}] ['Q6581097', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?v WHERE { resource:Q541018 property:P166 ?v . ?v rdf:type ontology:Q2003221 }
female male
Did you mean Frances Kirwan ?
Frances Kirwan
['female', 'award received', {'concept': 'chivalric order'}] ['male', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?v WHERE { resource:Frances_Kirwan property:award_received ?v . ?v rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
USER
Yes
(Q541018,P166,c(Q2003221))
['Q541018', 'P166', {'concept': 'Q2003221'}]
['Frances Kirwan', 'award received', {'concept': 'chivalric order'}]
[]
Q12201434
SYSTEM
Dame Commander of the Order of the British Empire
Q12201434
(Q541018,P166,c(Q2003221))
action filter_type
action find
entity Q541018
relation P166
type Q2003221
The [ANSWER] was received by that person
['Q541018', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?v WHERE { resource:Q541018 property:P166 ?v . ?v rdf:type ontology:Q2003221 }
Dame Commander of the Order of the British Empire
The Dame Commander of the Order of the British Empire was received by that person
Dame Commander of the Order of the British Empire
action filter_type
action find
entity Frances Kirwan
relation award received
type chivalric order
['Frances Kirwan', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?v WHERE { resource:Frances_Kirwan property:award_received ?v . ?v rdf:type ontology:chivalric_order }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that chivalric order located in ?
(Q12201434,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12201434
relation P17
type Q15617994
['Q12201434', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q12201434 property:P17 ?l }
action count
action filter_type
action find
entity Dame Commander of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Dame Commander of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dame_Commander_of_the_Order_of_the_British_Empire property:country ?l }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q12201434,P17,c(Q15617994))
action count
action filter_type
action find
entity Q12201434
relation P17
type Q15617994
[ANSWER]
['Q12201434', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:Q15617994 . resource:Q12201434 property:P17 ?l }
United Kingdom
1
action count
action filter_type
action find
entity Dame Commander of the Order of the British Empire
relation country
type designation for an administrative territorial entity
['Dame Commander of the Order of the British Empire', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?g ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dame_Commander_of_the_Order_of_the_British_Empire property:country ?l }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q287093 Q541018
P47 P27
Q15617994
USER
Which administrative territories are the native countriesof Frances Kirwan or share border with Folgaria ?
OR((Q541018,P27,c(Q15617994)), (Q287093,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q541018
relation P27
action find
entity Q287093
relation P47
type Q15617994
{'OR': [['Q541018', 'P27', {'concept': 'Q15617994'}], ['Q287093', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q541018 property:P27 ?a } UNION { resource:Q287093 property:P47 ?a } } . ?a rdf:type ontology:Q15617994 }
Folgaria Frances Kirwan
action filter_type
action union
action find
entity Frances Kirwan
relation country of citizenship
action find
entity Folgaria
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Frances Kirwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Folgaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Frances_Kirwan property:country_of_citizenship ?a } UNION { resource:Folgaria property:shares_border_with ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q244085 Q247734 Q145 Q46312 Q327034 Q279373 Q257357 Q257694 Q46933 Q267518
SYSTEM
Besenello, Lavarone, United Kingdom, Lastebasse, Terragnolo, Rovereto, Caldonazzo, Calliano, Trentino, Laghi, Centa San Nicolò
Q244085 Q247734 Q145 Q46312 Q327034 Q279373 Q257357 Q257694 Q46933 Q267518
OR((Q541018,P27,c(Q15617994)), (Q287093,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q541018
relation P27
action find
entity Q287093
relation P47
type Q15617994
[ANSWERS] are the native countriesof Frances Kirwan or share border with Folgaria
{'OR': [['Q541018', 'P27', {'concept': 'Q15617994'}], ['Q287093', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q541018 property:P27 ?a } UNION { resource:Q287093 property:P47 ?a } } . ?a rdf:type ontology:Q15617994 }
Besenello Lavarone United Kingdom Lastebasse Terragnolo Rovereto Caldonazzo Calliano, Trentino Laghi Centa San Nicolò
Besenello, Lavarone, United Kingdom, Lastebasse, Terragnolo, Rovereto, Caldonazzo, Calliano, Trentino, Laghi and Centa San Nicolò are the native countriesof Frances Kirwan or share border with Folgaria
Besenello Lavarone United Kingdom Lastebasse Terragnolo Rovereto Caldonazzo Calliano, Trentino Laghi Centa San Nicolò
action filter_type
action union
action find
entity Frances Kirwan
relation country of citizenship
action find
entity Folgaria
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Frances Kirwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Folgaria', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Frances_Kirwan property:country_of_citizenship ?a } UNION { resource:Folgaria property:shares_border_with ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q244085 Q247734 Q145 Q46312 Q327034 Q279373 Q257357 Q257694 Q46933 Q267518
P47
Q15617994
USER
Which administrative territories are bordered by those ones ?
(c(Q15617994),P47,Q244085) (c(Q15617994),P47,Q247734) (c(Q15617994),P47,Q145) (c(Q15617994),P47,Q46312) (c(Q15617994),P47,Q327034) (c(Q15617994),P47,Q279373) (c(Q15617994),P47,Q257357) (c(Q15617994),P47,Q257694) (c(Q15617994),P47,Q46933) (c(Q15617994),P47,Q267518)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q244085'] [{'concept': 'Q15617994'}, 'P47', 'Q247734'] [{'concept': 'Q15617994'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q46312'] [{'concept': 'Q15617994'}, 'P47', 'Q327034'] [{'concept': 'Q15617994'}, 'P47', 'Q279373'] [{'concept': 'Q15617994'}, 'P47', 'Q257357'] [{'concept': 'Q15617994'}, 'P47', 'Q257694'] [{'concept': 'Q15617994'}, 'P47', 'Q46933'] [{'concept': 'Q15617994'}, 'P47', 'Q267518']
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Q244085 ) ( resource:Q247734 ) ( resource:Q145 ) } . ?h rdf:type ontology:Q15617994 . ?h property:P47 ?u }
Besenello Lavarone United Kingdom Lastebasse Terragnolo Rovereto Caldonazzo Calliano, Trentino Laghi Centa San Nicolò
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Besenello'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Lavarone'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Lastebasse'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Terragnolo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rovereto'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Caldonazzo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Calliano, Trentino'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Laghi'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Centa San Nicolò']
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Besenello ) ( resource:Lavarone ) ( resource:United_Kingdom ) } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:shares_border_with ?u }
[]
designation for an administrative territorial entity
Q142 Q27 Q717
SYSTEM
France, Ireland, Venezuela
Q327704 Q243711 Q21970558 Q287093 Q257694 Q267518 Q246579 Q296869 Q257357 Q46312 Q47477 Q287093 Q120272 Q142 Q27 Q717 Q247734 Q46332 Q46936 Q46933 Q47477 Q287093 Q46385 Q46933 Q327371 Q46860 Q279373 Q287093 Q296217 Q243644 Q327371 Q290754 Q175406 Q328037 Q287093 Q257694 Q327034 Q247734 Q298424 Q294678 Q287093 Q120272 Q257081 Q267518 Q246579 Q326941 Q244085 Q279373 Q287093 Q296869 Q46312 Q46936 Q46860 Q287093 Q327034 Q257357 Q327704 Q244085 Q287093 Q257081
(c(Q15617994),P47,Q244085) (c(Q15617994),P47,Q247734) (c(Q15617994),P47,Q145) (c(Q15617994),P47,Q46312) (c(Q15617994),P47,Q327034) (c(Q15617994),P47,Q279373) (c(Q15617994),P47,Q257357) (c(Q15617994),P47,Q257694) (c(Q15617994),P47,Q46933) (c(Q15617994),P47,Q267518)
action filter_type
action find_reverse
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are bordered by those ones
[{'concept': 'Q15617994'}, 'P47', 'Q244085'] [{'concept': 'Q15617994'}, 'P47', 'Q247734'] [{'concept': 'Q15617994'}, 'P47', 'Q145'] [{'concept': 'Q15617994'}, 'P47', 'Q46312'] [{'concept': 'Q15617994'}, 'P47', 'Q327034'] [{'concept': 'Q15617994'}, 'P47', 'Q279373'] [{'concept': 'Q15617994'}, 'P47', 'Q257357'] [{'concept': 'Q15617994'}, 'P47', 'Q257694'] [{'concept': 'Q15617994'}, 'P47', 'Q46933'] [{'concept': 'Q15617994'}, 'P47', 'Q267518']
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Q244085 ) ( resource:Q247734 ) ( resource:Q145 ) } . ?h rdf:type ontology:Q15617994 . ?h property:P47 ?u }
Vattaro Aldeno Altopiano della Vigolana Folgaria Calliano, Trentino Centa San Nicolò Bosentino Nomi, Trentino Caldonazzo Lastebasse Pedemonte Folgaria Luserna France Ireland Venezuela Lavarone Valdastico Arsiero Laghi Pedemonte Folgaria Tonezza del Cimone Laghi Trambileno Posina Rovereto Folgaria Mori, Trentino Ala Trambileno Isera Nogaredo Villa Lagarina Folgaria Calliano, Trentino Terragnolo Lavarone Pergine Valsugana Levico Terme Folgaria Luserna Calceranica al Lago Centa San Nicolò Bosentino Tenna, Trentino Besenello Rovereto Folgaria Nomi, Trentino Lastebasse Arsiero Posina Folgaria Terragnolo Caldonazzo Vattaro Besenello Folgaria Calceranica al Lago
France, Ireland and Venezuela are bordered by those ones
France Ireland Venezuela
action filter_type
action find_reverse
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Besenello'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Lavarone'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'United Kingdom'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Lastebasse'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Terragnolo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rovereto'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Caldonazzo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Calliano, Trentino'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Laghi'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Centa San Nicolò']
SELECT DISTINCT ?h WHERE { VALUES ( ?u ) { ( resource:Besenello ) ( resource:Lavarone ) ( resource:United_Kingdom ) } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:shares_border_with ?u }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27
P551
Q502895
USER
Who reside at that administrative territory ?
(c(Q502895),P551,Q27)
action filter_type
action find_reverse
entity Q27
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q27']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q27 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ireland']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:Ireland }
[]
common name
Clarification for simple ques.
Q717
SYSTEM
Did you mean Venezuela ?
Q142 Q27 Q717
(c(Q502895),P551,Q142) (c(Q502895),P551,Q27) (c(Q502895),P551,Q717)
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q142'] [{'concept': 'Q502895'}, 'P551', 'Q27'] [{'concept': 'Q502895'}, 'P551', 'Q717']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q27 }
France Ireland Venezuela
Did you mean Venezuela ?
Venezuela
[{'concept': 'common name'}, 'residence', 'France'] [{'concept': 'common name'}, 'residence', 'Ireland'] [{'concept': 'common name'}, 'residence', 'Venezuela']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:Ireland }
[]
Simple Question (Coreferenced)
USER
No, I meant Ireland. Could you tell me the answer for that?
(c(Q502895),P551,Q27)
Q27
[{'concept': 'Q502895'}, 'P551', 'Q27']
[{'concept': 'common name'}, 'residence', 'Ireland']
[]
Q16205055 Q285609 Q189144
SYSTEM
Michael Semple, Michael Everson, Walter Raleigh
Q5362128 Q16205055 Q285609 Q189144
(c(Q502895),P551,Q27)
action filter_type
action find_reverse
entity Q27
relation P551
type Q502895
[ANSWERS] reside at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q27']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q27 }
Eliza Fenwick Michael Semple Michael Everson Walter Raleigh
Michael Semple, Michael Everson and Walter Raleigh reside at that administrative territory
Michael Semple Michael Everson Walter Raleigh
action filter_type
action find_reverse
entity Ireland
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Ireland']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:Ireland }
[]