Simple Question (Direct)
Simple Question
Q12044275
P39
Q12737077
USER
Which occupation was a position for which Pavel Tollner was appointed ?
(Q12044275,P39,c(Q12737077))
action filter_type
action find
entity Q12044275
relation P39
type Q12737077
['Q12044275', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q12044275 property:P39 ?r }
Pavel Tollner
action filter_type
action find
entity Pavel Tollner
relation position held
type occupation
['Pavel Tollner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Pavel_Tollner property:position_held ?r }
[]
occupation
Q19803234
SYSTEM
Member of the Chamber of Deputies of the Parliament of the Czech Republic
Q19803234
(Q12044275,P39,c(Q12737077))
action filter_type
action find
entity Q12044275
relation P39
type Q12737077
[ANSWER] was a position for which Pavel Tollner was appointed
['Q12044275', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q12044275 property:P39 ?r }
Member of the Chamber of Deputies of the Parliament of the Czech Republic
Member of the Chamber of Deputies of the Parliament of the Czech Republic was a position for which Pavel Tollner was appointed
Member of the Chamber of Deputies of the Parliament of the Czech Republic
action filter_type
action find
entity Pavel Tollner
relation position held
type occupation
['Pavel Tollner', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Pavel_Tollner property:position_held ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12044275
P27
Q15617994
USER
Which administrative territory does Pavel Tollner belong to ?
(Q12044275,P27,c(Q15617994))
action filter_type
action find
entity Q12044275
relation P27
type Q15617994
['Q12044275', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q12044275 property:P27 ?v }
Pavel Tollner
action filter_type
action find
entity Pavel Tollner
relation country of citizenship
type designation for an administrative territorial entity
['Pavel Tollner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pavel_Tollner property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q12044275,P27,c(Q15617994))
action filter_type
action find
entity Q12044275
relation P27
type Q15617994
Pavel Tollner belongs to [ANSWER]
['Q12044275', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q12044275 property:P27 ?v }
Czech Republic
Pavel Tollner belongs to Czech Republic
Czech Republic
action filter_type
action find
entity Pavel Tollner
relation country of citizenship
type designation for an administrative territorial entity
['Pavel Tollner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pavel_Tollner property:country_of_citizenship ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3017421
Q15617994
USER
And how about David Atlas?
(Q3017421,P27,c(Q15617994))
action filter_type
action find
entity Q3017421
relation P27
type Q15617994
['Q3017421', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3017421 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
David Atlas
action filter_type
action find
entity David Atlas
relation country of citizenship
type designation for an administrative territorial entity
['David Atlas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:David_Atlas property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3017421,P27,c(Q15617994))
action filter_type
action find
entity Q3017421
relation P27
type Q15617994
[ANSWER]
['Q3017421', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q3017421 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity David Atlas
relation country of citizenship
type designation for an administrative territorial entity
['David Atlas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:David_Atlas property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3017421
P108
Q163740
USER
Which nonprofit organization does that person work for ?
(Q30,P108,c(Q163740))
action filter_type
action find
entity Q3017421
relation P108
type Q163740
['Q30', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q163740 . resource:Q3017421 property:P108 ?b }
David Atlas
action filter_type
action find
entity David Atlas
relation employer
type nonprofit organization
['United States of America', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nonprofit_organization . resource:David_Atlas property:employer ?b }
[]
nonprofit organization
Q131252
SYSTEM
University of Chicago
Q131252
(Q30,P108,c(Q163740))
action filter_type
action find
entity Q3017421
relation P108
type Q163740
That person works at [ANSWER]
['Q30', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q163740 . resource:Q3017421 property:P108 ?b }
University of Chicago
That person works at University of Chicago
University of Chicago
action filter_type
action find
entity David Atlas
relation employer
type nonprofit organization
['United States of America', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:nonprofit_organization . resource:David_Atlas property:employer ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3017421
P21
Q290
USER
Which sex does David Atlas belong to ?
(Q3017421,P21,c(Q290))
action filter_type
action find
entity Q3017421
relation P21
type Q290
['Q3017421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q3017421 property:P21 ?m }
David Atlas
action filter_type
action find
entity David Atlas
relation gender
type sex
['David Atlas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:David_Atlas property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3017421,P21,c(Q290))
action filter_type
action find
entity Q3017421
relation P21
type Q290
David Atlas belongs to [ANSWER]
['Q3017421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q3017421 property:P21 ?m }
male
David Atlas belongs to male
male
action filter_type
action find
entity David Atlas
relation gender
type sex
['David Atlas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:David_Atlas property:gender ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3017421
P20
Q486972
USER
Where did the demise of that person occur ?
(Q6581097,P20,c(Q486972))
action filter_type
action find
entity Q3017421
relation P20
type Q486972
['Q6581097', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q486972 . resource:Q3017421 property:P20 ?n }
David Atlas
action filter_type
action find
entity David Atlas
relation place of death
type human settlement
['male', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:human_settlement . resource:David_Atlas property:place_of_death ?n }
[]
human settlement
Q755741
SYSTEM
Silver Spring
Q755741
(Q6581097,P20,c(Q486972))
action filter_type
action find
entity Q3017421
relation P20
type Q486972
The demise of that person occurred in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q486972 . resource:Q3017421 property:P20 ?n }
Silver Spring
The demise of that person occurred in Silver Spring
Silver Spring
action filter_type
action find
entity David Atlas
relation place of death
type human settlement
['male', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:human_settlement . resource:David_Atlas property:place_of_death ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q755741
P551
Q502895
USER
Who lives in that human settlement ?
(c(Q502895),P551,Q755741)
action filter_type
action find_reverse
entity Q755741
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q755741']
SELECT DISTINCT ?s WHERE { ?s property:P551 resource:Q755741 . ?s rdf:type ontology:Q502895 }
Silver Spring
action filter_type
action find_reverse
entity Silver Spring
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Silver Spring']
SELECT DISTINCT ?s WHERE { ?s property:residence resource:Silver_Spring . ?s rdf:type ontology:common_name }
[]
common name
Q100948
SYSTEM
Rachel Carson
Q100948
(c(Q502895),P551,Q755741)
action filter_type
action find_reverse
entity Q755741
relation P551
type Q502895
[ANSWER] lives in that human settlement
[{'concept': 'Q502895'}, 'P551', 'Q755741']
SELECT DISTINCT ?s WHERE { ?s property:P551 resource:Q755741 . ?s rdf:type ontology:Q502895 }
Rachel Carson
Rachel Carson lives in that human settlement
Rachel Carson
action filter_type
action find_reverse
entity Silver Spring
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Silver Spring']
SELECT DISTINCT ?s WHERE { ?s property:residence resource:Silver_Spring . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q755741
P276
Q15275719
USER
What is situated at Silver Spring ?
(c(Q15275719),P276,Q755741)
action filter_type
action find_reverse
entity Q755741
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q755741']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q755741 . ?v rdf:type ontology:Q15275719 }
Silver Spring
action filter_type
action find_reverse
entity Silver Spring
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Silver Spring']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Silver_Spring . ?v rdf:type ontology:recurring_event }
[]
recurring event
Q7516681
SYSTEM
AFI Docs - International Documentary Festival
Q7516681
(c(Q15275719),P276,Q755741)
action filter_type
action find_reverse
entity Q755741
relation P276
type Q15275719
[ANSWER] is situated at Silver Spring
[{'concept': 'Q15275719'}, 'P276', 'Q755741']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q755741 . ?v rdf:type ontology:Q15275719 }
AFI Docs - International Documentary Festival
AFI Docs - International Documentary Festival is situated at Silver Spring
AFI Docs - International Documentary Festival
action filter_type
action find_reverse
entity Silver Spring
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Silver Spring']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Silver_Spring . ?v rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q755741
P740
Q2088357
USER
Which musical ensembles were formed at that human settlement ?
(c(Q2088357),P740,Q7516681)
action filter_type
action find_reverse
entity Q755741
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q7516681']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q755741 . ?s rdf:type ontology:Q2088357 }
Silver Spring
action filter_type
action find_reverse
entity Silver Spring
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'AFI Docs - International Documentary Festival']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Silver_Spring . ?s rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q7294326 Q19864065
SYSTEM
Rappers Delight Club, Lionize
Q7294326 Q19864065
(c(Q2088357),P740,Q7516681)
action filter_type
action find_reverse
entity Q755741
relation P740
type Q2088357
[ANSWERS] were formed at that human settlement
[{'concept': 'Q2088357'}, 'P740', 'Q7516681']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q755741 . ?s rdf:type ontology:Q2088357 }
Rappers Delight Club Lionize
Rappers Delight Club and Lionize were formed at that human settlement
Rappers Delight Club Lionize
action filter_type
action find_reverse
entity Silver Spring
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'AFI Docs - International Documentary Festival']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Silver_Spring . ?s rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q22151
P737
Q2088357 Q215380
USER
Which bands were influenced by less number of musical ensembles than Muse ?
(c(Q215380),P737,c(Q2088357))
action less
action find_tuple_counts
relation P737
type Q215380
type Q2088357
action count
action filter_type
action find
entity Q22151
relation P737
type Q2088357
[{'concept': 'Q215380'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:Q2088357 . resource:Q22151 property:P737 ?c } } . FILTER ( ?r < ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?a property:P737 ?w . ?a rdf:type ontology:Q215380 . ?w rdf:type ontology:Q2088357 } GROUP BY ?a } }
Muse
action less
action find_tuple_counts
relation influenced by
type band
type musical ensemble
action count
action filter_type
action find
entity Muse
relation influenced by
type musical ensemble
[{'concept': 'band'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:musical_ensemble . resource:Muse property:influenced_by ?c } } . FILTER ( ?r < ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?a property:influenced_by ?w . ?a rdf:type ontology:band . ?w rdf:type ontology:musical_ensemble } GROUP BY ?a } }
[]
musical ensemble band
Q142701 Q15862 Q1002101
SYSTEM
Pearl Jam, Queen, Buffalo Tom
Q24883151 Q959100 Q1002101 Q826255 Q21468763 Q472595 Q3051556 Q16800947 Q1066813 Q1027492 Q5807252 Q15862 Q15136158 Q484839 Q142701 Q217360
(c(Q215380),P737,c(Q2088357))
action less
action find_tuple_counts
relation P737
type Q215380
type Q2088357
action count
action filter_type
action find
entity Q22151
relation P737
type Q2088357
[ANSWERS] were influenced by less number of musical ensembles than Muse
[{'concept': 'Q215380'}, 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:Q2088357 . resource:Q22151 property:P737 ?c } } . FILTER ( ?r < ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?a property:P737 ?w . ?a rdf:type ontology:Q215380 . ?w rdf:type ontology:Q2088357 } GROUP BY ?a } }
Dynamic Rockers Sham 69 Buffalo Tom Suede Tűzkerék xT Outkast Elmer Food Beat Ibeyi Cheech & Chong The Dø Dimitri Vegas & Like Mike Queen A Great Big World Placebo Pearl Jam Florence and the Machine
Pearl Jam, Queen and Buffalo Tom were influenced by less number of musical ensembles than Muse
Pearl Jam Queen Buffalo Tom
action less
action find_tuple_counts
relation influenced by
type band
type musical ensemble
action count
action filter_type
action find
entity Muse
relation influenced by
type musical ensemble
[{'concept': 'band'}, 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { ?c rdf:type ontology:musical_ensemble . resource:Muse property:influenced_by ?c } } . FILTER ( ?r < ?n ) . { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?r ) WHERE { ?a property:influenced_by ?w . ?a rdf:type ontology:band . ?w rdf:type ontology:musical_ensemble } GROUP BY ?a } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15862
P463
Q502895
USER
Which people are members of that band ?
(c(Q502895),P463,Q15862)
action filter_type
action find_reverse
entity Q15862
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q15862']
SELECT DISTINCT ?d WHERE { ?d property:P463 resource:Q15862 . ?d rdf:type ontology:Q502895 }
Queen
action filter_type
action find_reverse
entity Queen
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Queen']
SELECT DISTINCT ?d WHERE { ?d property:member_of resource:Queen . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1002101
SYSTEM
Did you mean Buffalo Tom ?
Q142701 Q15862 Q1002101
(c(Q502895),P463,Q142701) (c(Q502895),P463,Q15862) (c(Q502895),P463,Q1002101)
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q142701'] [{'concept': 'Q502895'}, 'P463', 'Q15862'] [{'concept': 'Q502895'}, 'P463', 'Q1002101']
SELECT DISTINCT ?d WHERE { ?d property:P463 resource:Q15862 . ?d rdf:type ontology:Q502895 }
Pearl Jam Queen Buffalo Tom
Did you mean Buffalo Tom ?
Buffalo Tom
[{'concept': 'common name'}, 'member of', 'Pearl Jam'] [{'concept': 'common name'}, 'member of', 'Queen'] [{'concept': 'common name'}, 'member of', 'Buffalo Tom']
SELECT DISTINCT ?d WHERE { ?d property:member_of resource:Queen . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Queen. Could you tell me the answer for that?
(c(Q502895),P463,Q15862)
Q15862
[{'concept': 'Q502895'}, 'P463', 'Q15862']
[{'concept': 'common name'}, 'member of', 'Queen']
[]
Q15869 Q15873 Q192103
SYSTEM
Freddie Mercury, Brian May, John Deacon
Q15869 Q192103 Q15873 Q15880
(c(Q502895),P463,Q15862)
action filter_type
action find_reverse
entity Q15862
relation P463
type Q502895
[ANSWERS] are members of that band
[{'concept': 'Q502895'}, 'P463', 'Q15862']
SELECT DISTINCT ?d WHERE { ?d property:P463 resource:Q15862 . ?d rdf:type ontology:Q502895 }
Freddie Mercury John Deacon Brian May Roger Taylor
Freddie Mercury, Brian May and John Deacon are members of that band
Freddie Mercury Brian May John Deacon
action filter_type
action find_reverse
entity Queen
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Queen']
SELECT DISTINCT ?d WHERE { ?d property:member_of resource:Queen . ?d rdf:type ontology:common_name }
[]