Simple Question (Direct)
Simple Question
Q797519
P58
Q502895
USER
Who wrote the script for Baaz ?
(Q797519,P58,c(Q502895))
action filter_type
action find
entity Q797519
relation P58
type Q502895
['Q797519', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q797519 property:P58 ?u . ?u rdf:type ontology:Q502895 }
Baaz
action filter_type
action find
entity Baaz
relation screenwriter
type common name
['Baaz', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Baaz property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
common name
Q149136
SYSTEM
Guru Dutt
Q149136
(Q797519,P58,c(Q502895))
action filter_type
action find
entity Q797519
relation P58
type Q502895
[ANSWER] wrote the script for Baaz
['Q797519', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q797519 property:P58 ?u . ?u rdf:type ontology:Q502895 }
Guru Dutt
Guru Dutt wrote the script for Baaz
Guru Dutt
action filter_type
action find
entity Baaz
relation screenwriter
type common name
['Baaz', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Baaz property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q149136
P19
Q515
USER
Which city was that person born at ?
(Q149136,P19,c(Q515))
action filter_type
action find
entity Q149136
relation P19
type Q515
['Q149136', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q149136 property:P19 ?j }
Guru Dutt
action filter_type
action find
entity Guru Dutt
relation place of birth
type city
['Guru Dutt', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:Guru_Dutt property:place_of_birth ?j }
[]
city
Q1355
SYSTEM
Bangalore
Q1355
(Q149136,P19,c(Q515))
action filter_type
action find
entity Q149136
relation P19
type Q515
That person was born in [ANSWER]
['Q149136', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q515 . resource:Q149136 property:P19 ?j }
Bangalore
That person was born in Bangalore
Bangalore
action filter_type
action find
entity Guru Dutt
relation place of birth
type city
['Guru Dutt', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:city . resource:Guru_Dutt property:place_of_birth ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1355
P30
Q2221906
USER
Which geographic location is that city situated in ?
(Q1355,P30,c(Q2221906))
action filter_type
action find
entity Q1355
relation P30
type Q2221906
['Q1355', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { resource:Q1355 property:P30 ?g . ?g rdf:type ontology:Q2221906 }
Bangalore
action filter_type
action find
entity Bangalore
relation continent
type geographic location
['Bangalore', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { resource:Bangalore property:continent ?g . ?g rdf:type ontology:geographic_location }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q1355,P30,c(Q2221906))
action filter_type
action find
entity Q1355
relation P30
type Q2221906
That city is situated in [ANSWER]
['Q1355', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { resource:Q1355 property:P30 ?g . ?g rdf:type ontology:Q2221906 }
Asia
That city is situated in Asia
Asia
action filter_type
action find
entity Bangalore
relation continent
type geographic location
['Bangalore', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { resource:Bangalore property:continent ?g . ?g rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7075617
Q2221906
USER
And what about Obzor Hill?
(Q7075617,P30,c(Q2221906))
action filter_type
action find
entity Q7075617
relation P30
type Q2221906
['Q7075617', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2221906 . resource:Q7075617 property:P30 ?c }
Obzor Hill
action filter_type
action find
entity Obzor Hill
relation continent
type geographic location
['Obzor Hill', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:geographic_location . resource:Obzor_Hill property:continent ?c }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q7075617,P30,c(Q2221906))
action filter_type
action find
entity Q7075617
relation P30
type Q2221906
[ANSWER]
['Q7075617', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2221906 . resource:Q7075617 property:P30 ?c }
Antarctica
Antarctica
action filter_type
action find
entity Obzor Hill
relation continent
type geographic location
['Obzor Hill', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:geographic_location . resource:Obzor_Hill property:continent ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51
P101
Q874405
USER
Which social group has field of work as that geographic location ?
(c(Q874405),P101,Q51)
action filter_type
action find_reverse
entity Q51
relation P101
type Q874405
[{'concept': 'Q874405'}, 'P101', 'Q51']
SELECT DISTINCT ?i WHERE { ?i property:P101 resource:Q51 . ?i rdf:type ontology:Q874405 }
Antarctica
action filter_type
action find_reverse
entity Antarctica
relation field of work
type social group
[{'concept': 'social group'}, 'field of work', 'Antarctica']
SELECT DISTINCT ?i WHERE { ?i property:field_of_work resource:Antarctica . ?i rdf:type ontology:social_group }
[]
social group
Q26925656
SYSTEM
Korean Polar Research Institute
Q26925656
(c(Q874405),P101,Q51)
action filter_type
action find_reverse
entity Q51
relation P101
type Q874405
[ANSWER] has field of work as that geographic location
[{'concept': 'Q874405'}, 'P101', 'Q51']
SELECT DISTINCT ?i WHERE { ?i property:P101 resource:Q51 . ?i rdf:type ontology:Q874405 }
Korean Polar Research Institute
Korean Polar Research Institute has field of work as that geographic location
Korean Polar Research Institute
action filter_type
action find_reverse
entity Antarctica
relation field of work
type social group
[{'concept': 'social group'}, 'field of work', 'Antarctica']
SELECT DISTINCT ?i WHERE { ?i property:field_of_work resource:Antarctica . ?i rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48
P921
Q838948
USER
What are Asia a main subject of ?
(c(Q838948),P921,Q48)
action filter_type
action find_reverse
entity Q48
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q48']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q48 . ?s rdf:type ontology:Q838948 }
Asia
action filter_type
action find_reverse
entity Asia
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Asia']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:Asia . ?s rdf:type ontology:work_of_art }
[]
work of art
Q23639895 Q22949119
SYSTEM
Asia, Hans Rosling: Asia's rise -- how and when
Q23639895 Q22949119
(c(Q838948),P921,Q48)
action filter_type
action find_reverse
entity Q48
relation P921
type Q838948
[ANSWERS] of Asia a main subject are
[{'concept': 'Q838948'}, 'P921', 'Q48']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q48 . ?s rdf:type ontology:Q838948 }
Asia Hans Rosling: Asia's rise -- how and when
Asia and Hans Rosling: Asia's rise -- how and when of Asia a main subject are
Asia Hans Rosling: Asia's rise -- how and when
action filter_type
action find_reverse
entity Asia
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Asia']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:Asia . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48
P840
Q15416
USER
Which television program has a setting location of that one ?
(c(Q15416),P840,Q23639895) (c(Q15416),P840,Q22949119)
action filter_type
action find_reverse
entity Q48
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q23639895'] [{'concept': 'Q15416'}, 'P840', 'Q22949119']
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q48 . ?o rdf:type ontology:Q15416 }
Asia
action filter_type
action find_reverse
entity Asia
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Asia'] [{'concept': 'television program'}, 'narrative location', "Hans Rosling: Asia's rise -- how and when"]
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:Asia . ?o rdf:type ontology:television_program }
[]
television program
Q2496775
SYSTEM
The Country Mouse and the City Mouse Adventures
Q2496775
(c(Q15416),P840,Q23639895) (c(Q15416),P840,Q22949119)
action filter_type
action find_reverse
entity Q48
relation P840
type Q15416
[ANSWER] has a setting location of that one
[{'concept': 'Q15416'}, 'P840', 'Q23639895'] [{'concept': 'Q15416'}, 'P840', 'Q22949119']
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q48 . ?o rdf:type ontology:Q15416 }
The Country Mouse and the City Mouse Adventures
The Country Mouse and the City Mouse Adventures has a setting location of that one
The Country Mouse and the City Mouse Adventures
action filter_type
action find_reverse
entity Asia
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Asia'] [{'concept': 'television program'}, 'narrative location', "Hans Rosling: Asia's rise -- how and when"]
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:Asia . ?o rdf:type ontology:television_program }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2496775 Q2401933
P495
Q15617994
USER
Did The Country Mouse and the City Mouse Adventures originate San Miguel Sigüilá ?
(Q2496775,P495,Q2401933)
action is_in
entity Q2401933
action find
entity Q2496775
relation P495
['Q2496775', 'P495', 'Q2401933']
ASK WHERE { resource:Q2496775 property:P495 resource:Q2401933 }
The Country Mouse and the City Mouse Adventures San Miguel Sigüilá
action is_in
entity San Miguel Sigüilá
action find
entity The Country Mouse and the City Mouse Adventures
relation country of origin
['The Country Mouse and the City Mouse Adventures', 'country of origin', 'San Miguel Sigüilá']
ASK WHERE { resource:The_Country_Mouse_and_the_City_Mouse_Adventures property:country_of_origin resource:San_Miguel_Sigüilá }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2496775,P495,Q2401933)
action is_in
entity Q2401933
action find
entity Q2496775
relation P495
[ANSWER]
['Q2496775', 'P495', 'Q2401933']
ASK WHERE { resource:Q2496775 property:P495 resource:Q2401933 }
No
action is_in
entity San Miguel Sigüilá
action find
entity The Country Mouse and the City Mouse Adventures
relation country of origin
['The Country Mouse and the City Mouse Adventures', 'country of origin', 'San Miguel Sigüilá']
ASK WHERE { resource:The_Country_Mouse_and_the_City_Mouse_Adventures property:country_of_origin resource:San_Miguel_Sigüilá }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q838948 Q340169 Q838948
USER
Which works of art are depicted in around 2 medias or works of art ?
(c(Q340169)|c(Q838948),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 2
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P180 ?f . ?f rdf:type ontology:Q838948 . ?v rdf:type ontology:Q340169 } UNION { ?v property:P180 ?f . ?v rdf:type ontology:Q838948 . ?f rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?h = 2 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 2
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:depicts ?f . ?f rdf:type ontology:work_of_art . ?v rdf:type ontology:media } UNION { ?v property:depicts ?f . ?v rdf:type ontology:work_of_art . ?f rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?h = 2 ) }
[]
work of art media work of art
Q178401 Q1519294 Q46847
SYSTEM
amphora, lagynos, ring
Q178401 Q1519294 Q46847
(c(Q340169)|c(Q838948),P180,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
value 2
The [ANSWERS] are depicted in around 2 medias or works of art
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:P180 ?f . ?f rdf:type ontology:Q838948 . ?v rdf:type ontology:Q340169 } UNION { ?v property:P180 ?f . ?v rdf:type ontology:Q838948 . ?f rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?h = 2 ) }
amphora lagynos ring
The amphora, lagynos and ring are depicted in around 2 medias or works of art
amphora lagynos ring
action approx
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
value 2
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?h ) WHERE { { ?v property:depicts ?f . ?f rdf:type ontology:work_of_art . ?v rdf:type ontology:media } UNION { ?v property:depicts ?f . ?v rdf:type ontology:work_of_art . ?f rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?h = 2 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P180
Q838948 Q877729
USER
How many works of art and handicrafts depict that work of art ?
(c(Q838948),P180,Q178401) (c(Q877729),P180,Q178401) (c(Q838948),P180,Q178401) (c(Q877729),P180,Q178401) (c(Q838948),P180,Q1519294) (c(Q877729),P180,Q1519294) (c(Q838948),P180,Q46847) (c(Q877729),P180,Q46847)
[{'concept': 'Q838948'}, 'P180', 'Q178401'] [{'concept': 'Q877729'}, 'P180', 'Q178401'] [{'concept': 'Q838948'}, 'P180', 'Q178401'] [{'concept': 'Q877729'}, 'P180', 'Q178401'] [{'concept': 'Q838948'}, 'P180', 'Q1519294'] [{'concept': 'Q877729'}, 'P180', 'Q1519294'] [{'concept': 'Q838948'}, 'P180', 'Q46847'] [{'concept': 'Q877729'}, 'P180', 'Q46847']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q25392337 } UNION { ?y property:P180 resource:Q25392337 } UNION { ?z property:P180 resource:Q25392337 } UNION { ?y property:P180 resource:Q25392337 } UNION { ?z property:P180 resource:Q1519294 } UNION { ?y property:P180 resource:Q1519294 } UNION { ?z property:P180 resource:Q46847 } UNION { ?y property:P180 resource:Q46847 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q877729 }
[{'concept': 'work of art'}, 'depicts', 'amphora'] [{'concept': 'handicraft'}, 'depicts', 'amphora'] [{'concept': 'work of art'}, 'depicts', 'amphora'] [{'concept': 'handicraft'}, 'depicts', 'amphora'] [{'concept': 'work of art'}, 'depicts', 'lagynos'] [{'concept': 'handicraft'}, 'depicts', 'lagynos'] [{'concept': 'work of art'}, 'depicts', 'ring'] [{'concept': 'handicraft'}, 'depicts', 'ring']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:amphora } UNION { ?y property:depicts resource:amphora } UNION { ?z property:depicts resource:amphora } UNION { ?y property:depicts resource:amphora } UNION { ?z property:depicts resource:lagynos } UNION { ?y property:depicts resource:lagynos } UNION { ?z property:depicts resource:ring } UNION { ?y property:depicts resource:ring } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:handicraft }
[]
work of art handicraft
Quantitative|Count|Mult. entity type|Clarification
Q46847
SYSTEM
Did you mean ring ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q25392337 } UNION { ?y property:P180 resource:Q25392337 } UNION { ?z property:P180 resource:Q25392337 } UNION { ?y property:P180 resource:Q25392337 } UNION { ?z property:P180 resource:Q1519294 } UNION { ?y property:P180 resource:Q1519294 } UNION { ?z property:P180 resource:Q46847 } UNION { ?y property:P180 resource:Q46847 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q877729 }
Did you mean ring ?
ring
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:amphora } UNION { ?y property:depicts resource:amphora } UNION { ?z property:depicts resource:amphora } UNION { ?y property:depicts resource:amphora } UNION { ?z property:depicts resource:lagynos } UNION { ?y property:depicts resource:lagynos } UNION { ?z property:depicts resource:ring } UNION { ?y property:depicts resource:ring } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:handicraft }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant amphora. Could you tell me the answer for that?
(c(Q838948),P180,Q178401) (c(Q877729),P180,Q178401) (c(Q838948),P180,Q178401) (c(Q877729),P180,Q178401) (c(Q838948),P180,Q1519294) (c(Q877729),P180,Q1519294) (c(Q838948),P180,Q46847) (c(Q877729),P180,Q46847)
Q178401
[{'concept': 'Q838948'}, 'P180', 'Q178401'] [{'concept': 'Q877729'}, 'P180', 'Q178401'] [{'concept': 'Q838948'}, 'P180', 'Q178401'] [{'concept': 'Q877729'}, 'P180', 'Q178401'] [{'concept': 'Q838948'}, 'P180', 'Q1519294'] [{'concept': 'Q877729'}, 'P180', 'Q1519294'] [{'concept': 'Q838948'}, 'P180', 'Q46847'] [{'concept': 'Q877729'}, 'P180', 'Q46847']
[{'concept': 'work of art'}, 'depicts', 'amphora'] [{'concept': 'handicraft'}, 'depicts', 'amphora'] [{'concept': 'work of art'}, 'depicts', 'amphora'] [{'concept': 'handicraft'}, 'depicts', 'amphora'] [{'concept': 'work of art'}, 'depicts', 'lagynos'] [{'concept': 'handicraft'}, 'depicts', 'lagynos'] [{'concept': 'work of art'}, 'depicts', 'ring'] [{'concept': 'handicraft'}, 'depicts', 'ring']
[]
SYSTEM
2 works of art and 1 handicrafts
Q19348065 Q18663545 Q27150026
(c(Q838948),P180,Q178401) (c(Q877729),P180,Q178401) (c(Q838948),P180,Q178401) (c(Q877729),P180,Q178401) (c(Q838948),P180,Q1519294) (c(Q877729),P180,Q1519294) (c(Q838948),P180,Q46847) (c(Q877729),P180,Q46847)
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q178401'] [{'concept': 'Q877729'}, 'P180', 'Q178401'] [{'concept': 'Q838948'}, 'P180', 'Q178401'] [{'concept': 'Q877729'}, 'P180', 'Q178401'] [{'concept': 'Q838948'}, 'P180', 'Q1519294'] [{'concept': 'Q877729'}, 'P180', 'Q1519294'] [{'concept': 'Q838948'}, 'P180', 'Q46847'] [{'concept': 'Q877729'}, 'P180', 'Q46847']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P180 resource:Q25392337 } UNION { ?y property:P180 resource:Q25392337 } UNION { ?z property:P180 resource:Q25392337 } UNION { ?y property:P180 resource:Q25392337 } UNION { ?z property:P180 resource:Q1519294 } UNION { ?y property:P180 resource:Q1519294 } UNION { ?z property:P180 resource:Q46847 } UNION { ?y property:P180 resource:Q46847 } } . ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q877729 }
Hylas Surprised by the Naiades The Three Graces Kylix by the Providence Painter
2 works of art and 1 handicrafts
[{'concept': 'work of art'}, 'depicts', 'amphora'] [{'concept': 'handicraft'}, 'depicts', 'amphora'] [{'concept': 'work of art'}, 'depicts', 'amphora'] [{'concept': 'handicraft'}, 'depicts', 'amphora'] [{'concept': 'work of art'}, 'depicts', 'lagynos'] [{'concept': 'handicraft'}, 'depicts', 'lagynos'] [{'concept': 'work of art'}, 'depicts', 'ring'] [{'concept': 'handicraft'}, 'depicts', 'ring']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:depicts resource:amphora } UNION { ?y property:depicts resource:amphora } UNION { ?z property:depicts resource:amphora } UNION { ?y property:depicts resource:amphora } UNION { ?z property:depicts resource:lagynos } UNION { ?y property:depicts resource:lagynos } UNION { ?z property:depicts resource:ring } UNION { ?y property:depicts resource:ring } } . ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:handicraft }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q2221906 Q1792379 Q3305213
USER
Which geographic locations are depicted in atmost 12 art genres or paintings ?
(c(Q1792379)|c(Q3305213),P180,c(Q2221906))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q3305213
value 12
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P180 ?a . ?z rdf:type ontology:Q3305213 . ?a rdf:type ontology:Q2221906 } UNION { ?z property:P180 ?a . ?a rdf:type ontology:Q2221906 . ?z rdf:type ontology:Q1792379 } } GROUP BY ?a } . FILTER ( ?f <= 12 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type art genre
action find_reverse_tuple_counts
relation depicts
type geographic location
type painting
value 12
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:depicts ?a . ?z rdf:type ontology:painting . ?a rdf:type ontology:geographic_location } UNION { ?z property:depicts ?a . ?a rdf:type ontology:geographic_location . ?z rdf:type ontology:art_genre } } GROUP BY ?a } . FILTER ( ?f <= 12 ) }
[]
geographic location art genre painting
Q51 Q48 Q15
SYSTEM
Antarctica, Asia, Africa
Q60142 Q37654 Q40357 Q190928 Q102911 Q1049440 Q7673159 Q325358 Q483242 Q153809 Q264458 Q3404466 Q48 Q170552 Q10717939 Q2010516 Q220032 Q463871 Q1468519 Q51 Q1690211 Q1210950 Q18857007 Q798436 Q2915499 Q5683864 Q39816 Q12511 Q828 Q1030086 Q43501 Q18691599 Q385557 Q8072 Q203751 Q19870552 Q631305 Q2915691 Q23397 Q107425 Q132646 Q1322263 Q721931 Q6343615 Q1507 Q3853432 Q1415635 Q15 Q23792 Q1544257 Q106259 Q863454 Q1607773 Q828909 Q7248258 Q954501 Q207326 Q6554910 Q46 Q1123749 Q32047 Q948878 Q15324 Q27381 Q8614 Q4854162 Q10832530 Q148571 Q8502 Q1781097 Q188040 Q1034267 Q135028 Q215635 Q24694968 Q747957 Q23442 Q7653725 Q19866352
(c(Q1792379)|c(Q3305213),P180,c(Q2221906))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q2221906
type Q3305213
value 12
[ANSWERS] are depicted in atmost 12 art genres or paintings
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P180 ?a . ?z rdf:type ontology:Q3305213 . ?a rdf:type ontology:Q2221906 } UNION { ?z property:P180 ?a . ?a rdf:type ontology:Q2221906 . ?z rdf:type ontology:Q1792379 } } GROUP BY ?a } . FILTER ( ?f <= 12 ) }
Podium market prison shipyard Holland Castle Island Table Rock, Niagara Falls railway platform laboratory Tyrol pergola Carneddau Asia balcony Västerhavet Fusa Province Golden Gate Lower Egypt Nivernais Antarctica lavoir channel location of burial Bakehouse Upper Galilee Haverstraw Bay valley stairs Americas Roman Campagna zoo military facility slaughterhouse volcano Upper Egypt Aberbechan Hall rock formation Lower Galilee lake landscape Bactria place of birth shed Kaaterskill Clove Patagonia New Jersey Meadowlands Sweatshop Africa Palestine Great Dismal Swamp polder pier shop sign wharf Profile Rock natural arch summit butte Europe Coele-Syria Illyria dovecote body of water North Africa Westphalia Bancroft Mills ironworks fence mountain The Narrows quarry Cape Ann Nubia breakwater Bute Docks stack island Swansea docks Garth
Antarctica, Asia and Africa are depicted in atmost 12 art genres or paintings
Antarctica Asia Africa
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type geographic location
type art genre
action find_reverse_tuple_counts
relation depicts
type geographic location
type painting
value 12
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:depicts ?a . ?z rdf:type ontology:painting . ?a rdf:type ontology:geographic_location } UNION { ?z property:depicts ?a . ?a rdf:type ontology:geographic_location . ?z rdf:type ontology:art_genre } } GROUP BY ?a } . FILTER ( ?f <= 12 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q51 Q48 Q15
P101
Q502895
USER
Which people work in the domain of those geographic locations ?
(c(Q502895),P101,Q51) (c(Q502895),P101,Q48) (c(Q502895),P101,Q15)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q51'] [{'concept': 'Q502895'}, 'P101', 'Q48'] [{'concept': 'Q502895'}, 'P101', 'Q15']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q60142 ) ( resource:Q37654 ) ( resource:Q40357 ) } . ?j property:P101 ?r }
Antarctica Asia Africa
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Antarctica'] [{'concept': 'common name'}, 'field of work', 'Asia'] [{'concept': 'common name'}, 'field of work', 'Africa']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Podium ) ( resource:market ) ( resource:prison ) } . ?j property:field_of_work ?r }
[]
common name
Q15127495 Q4181293 Q12026757
SYSTEM
Ghislaine Dupont, Petra Procházková, Josef Vágner
Q24716837 Q26869401 Q26789242 Q24718066 Q24713009 Q24702106 Q26480639 Q24732747 Q4181293 Q15127495 Q3124160 Q12026757
(c(Q502895),P101,Q51) (c(Q502895),P101,Q48) (c(Q502895),P101,Q15)
action filter_type
action find_reverse
entity prev_answer
relation P101
type Q502895
[ANSWERS] work in the domain of those geographic locations
[{'concept': 'Q502895'}, 'P101', 'Q51'] [{'concept': 'Q502895'}, 'P101', 'Q48'] [{'concept': 'Q502895'}, 'P101', 'Q15']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . VALUES ( ?r ) { ( resource:Q60142 ) ( resource:Q37654 ) ( resource:Q40357 ) } . ?j property:P101 ?r }
Hong Kum Lee Elizabeth Chipman Veronica Vallejos Carlotta Escutia Dotti Jennifer Lee Doris Abele Alison Murray (scientist) Jessica Melbourne-Thomas Petra Procházková Ghislaine Dupont Gérard Marin Josef Vágner
Ghislaine Dupont, Petra Procházková and Josef Vágner work in the domain of those geographic locations
Ghislaine Dupont Petra Procházková Josef Vágner
action filter_type
action find_reverse
entity prev_answer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Antarctica'] [{'concept': 'common name'}, 'field of work', 'Asia'] [{'concept': 'common name'}, 'field of work', 'Africa']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . VALUES ( ?r ) { ( resource:Podium ) ( resource:market ) ( resource:prison ) } . ?j property:field_of_work ?r }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15127495 Q4181293 Q12026757
P21
Q290
USER
What are the sex of Ghislaine Dupont, Petra Procházková and Josef Vágner ?
(Q15127495,P21,c(Q290)) (Q4181293,P21,c(Q290)) (Q12026757,P21,c(Q290))
action union
action filter_type
action find
entity Q15127495
relation P21
type Q290
action filter_type
action find
entity Q4181293
relation P21
type Q290
action filter_type
action find
entity Q12026757
relation P21
type Q290
['Q15127495', 'P21', {'concept': 'Q290'}] ['Q4181293', 'P21', {'concept': 'Q290'}] ['Q12026757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:Q290 . resource:Q15127495 property:P21 ?p } UNION { resource:Q4181293 property:P21 ?p . ?p rdf:type ontology:Q290 } }
Ghislaine Dupont Petra Procházková Josef Vágner
action union
action filter_type
action find
entity Ghislaine Dupont
relation gender
type sex
action filter_type
action find
entity Petra Procházková
relation gender
type sex
action filter_type
action find
entity Josef Vágner
relation gender
type sex
['Ghislaine Dupont', 'gender', {'concept': 'sex'}] ['Petra Procházková', 'gender', {'concept': 'sex'}] ['Josef Vágner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:sex . resource:Ghislaine_Dupont property:gender ?p } UNION { resource:Petra_Procházková property:gender ?p . ?p rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581072 Q6581097
SYSTEM
male for 3rd, female for 1st, 2nd
Q6581072 Q6581072 Q6581097
(Q15127495,P21,c(Q290)) (Q4181293,P21,c(Q290)) (Q12026757,P21,c(Q290))
action union
action filter_type
action find
entity Q15127495
relation P21
type Q290
action filter_type
action find
entity Q4181293
relation P21
type Q290
action filter_type
action find
entity Q12026757
relation P21
type Q290
[ANSWERS]
['Q15127495', 'P21', {'concept': 'Q290'}] ['Q4181293', 'P21', {'concept': 'Q290'}] ['Q12026757', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:Q290 . resource:Q15127495 property:P21 ?p } UNION { resource:Q4181293 property:P21 ?p . ?p rdf:type ontology:Q290 } }
female female male
The sex of Ghislaine Dupont , Petra Procházková and Josef Vágner are the female, female and male
female female male
action union
action filter_type
action find
entity Ghislaine Dupont
relation gender
type sex
action filter_type
action find
entity Petra Procházková
relation gender
type sex
action filter_type
action find
entity Josef Vágner
relation gender
type sex
['Ghislaine Dupont', 'gender', {'concept': 'sex'}] ['Petra Procházková', 'gender', {'concept': 'sex'}] ['Josef Vágner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { { ?p rdf:type ontology:sex . resource:Ghislaine_Dupont property:gender ?p } UNION { resource:Petra_Procházková property:gender ?p . ?p rdf:type ontology:sex } }
[]