Simple Question (Direct)
Simple Question
Q967009
P106
Q12737077
USER
Which occupations have Monica De Gennaro as his/her 's career ?
(Q967009,P106,c(Q12737077))
action filter_type
action find
entity Q967009
relation P106
type Q12737077
['Q967009', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q967009 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Monica De Gennaro
action filter_type
action find
entity Monica De Gennaro
relation occupation
type occupation
['Monica De Gennaro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Monica_De_Gennaro property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q17361156 Q15117302
SYSTEM
beach volleyball player, volleyball player
Q17361156 Q15117302
(Q967009,P106,c(Q12737077))
action filter_type
action find
entity Q967009
relation P106
type Q12737077
The [ANSWERS] have Monica De Gennaro as his/her 's career
['Q967009', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q967009 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
beach volleyball player volleyball player
The beach volleyball player and volleyball player have Monica De Gennaro as his/her 's career
beach volleyball player volleyball player
action filter_type
action find
entity Monica De Gennaro
relation occupation
type occupation
['Monica De Gennaro', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Monica_De_Gennaro property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15117302
P101
Q502895
USER
Which person has his/her area as volleyball player ?
(c(Q502895),P101,Q15117302)
action filter_type
action find_reverse
entity Q15117302
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q15117302']
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q15117302 . ?u rdf:type ontology:Q502895 }
volleyball player
action filter_type
action find_reverse
entity volleyball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'volleyball player']
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:volleyball_player . ?u rdf:type ontology:common_name }
[]
common name
Q4967919
SYSTEM
Brigitte Soucy
Q4967919
(c(Q502895),P101,Q15117302)
action filter_type
action find_reverse
entity Q15117302
relation P101
type Q502895
[ANSWER] has his/her area as volleyball player
[{'concept': 'Q502895'}, 'P101', 'Q15117302']
SELECT DISTINCT ?u WHERE { ?u property:P101 resource:Q15117302 . ?u rdf:type ontology:Q502895 }
Brigitte Soucy
Brigitte Soucy has his/her area as volleyball player
Brigitte Soucy
action filter_type
action find_reverse
entity volleyball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'volleyball player']
SELECT DISTINCT ?u WHERE { ?u property:field_of_work resource:volleyball_player . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4967919
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q4967919,P27,c(Q1048835))
action filter_type
action find
entity Q4967919
relation P27
type Q1048835
['Q4967919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q4967919 property:P27 ?m }
Brigitte Soucy
action filter_type
action find
entity Brigitte Soucy
relation country of citizenship
type political territorial entity
['Brigitte Soucy', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Brigitte_Soucy property:country_of_citizenship ?m }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q4967919,P27,c(Q1048835))
action filter_type
action find
entity Q4967919
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q4967919', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q1048835 . resource:Q4967919 property:P27 ?m }
Canada
Canada is that person an inhabitant of
Canada
action filter_type
action find
entity Brigitte Soucy
relation country of citizenship
type political territorial entity
['Brigitte Soucy', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_territorial_entity . resource:Brigitte_Soucy property:country_of_citizenship ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q16 Q7789376
P27
Q502895
USER
Is Thomas Erlin Kaiser a native of that political territory ?
(Q7789376,P27,Q16)
action is_in
entity Q16
action find
entity Q7789376
relation P27
['Q7789376', 'P27', 'Q16']
ASK WHERE { resource:Q7789376 property:P27 resource:Q16 }
Canada Thomas Erlin Kaiser
action is_in
entity Canada
action find
entity Thomas Erlin Kaiser
relation country of citizenship
['Thomas Erlin Kaiser', 'country of citizenship', 'Canada']
ASK WHERE { resource:Thomas_Erlin_Kaiser property:country_of_citizenship resource:Canada }
[]
common name
SYSTEM
YES
(Q7789376,P27,Q16)
action is_in
entity Q16
action find
entity Q7789376
relation P27
[ANSWER]
['Q7789376', 'P27', 'Q16']
ASK WHERE { resource:Q7789376 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Thomas Erlin Kaiser
relation country of citizenship
['Thomas Erlin Kaiser', 'country of citizenship', 'Canada']
ASK WHERE { resource:Thomas_Erlin_Kaiser property:country_of_citizenship resource:Canada }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q668 Q16
P495
Q838948
USER
Which works of art originated in Canada and India ?
AND((c(Q838948),P495,Q16), (c(Q838948),P495,Q668))
action filter_type
action intersection
action find_reverse
entity Q16
relation P495
action find_reverse
entity Q668
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P495', 'Q16'], [{'concept': 'Q838948'}, 'P495', 'Q668']]}
SELECT DISTINCT ?f WHERE { ?f property:P495 resource:Q16 . ?f property:P495 resource:Q668 . ?f rdf:type ontology:Q838948 }
India Canada
action filter_type
action intersection
action find_reverse
entity Canada
relation country of origin
action find_reverse
entity India
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'country of origin', 'Canada'], [{'concept': 'work of art'}, 'country of origin', 'India']]}
SELECT DISTINCT ?f WHERE { ?f property:country_of_origin resource:Canada . ?f property:country_of_origin resource:India . ?f rdf:type ontology:work_of_art }
[]
work of art
Q16254249 Q4959370 Q6962121 Q1418833 Q617395 Q2561440
SYSTEM
Siddharth, Breakaway, Namumkin, Fire, Water, Earth
Q16254249 Q4959370 Q6962121 Q1418833 Q617395 Q2561440
AND((c(Q838948),P495,Q16), (c(Q838948),P495,Q668))
action filter_type
action intersection
action find_reverse
entity Q16
relation P495
action find_reverse
entity Q668
relation P495
type Q838948
[ANSWERS] originated in Canada and India
{'AND': [[{'concept': 'Q838948'}, 'P495', 'Q16'], [{'concept': 'Q838948'}, 'P495', 'Q668']]}
SELECT DISTINCT ?f WHERE { ?f property:P495 resource:Q16 . ?f property:P495 resource:Q668 . ?f rdf:type ontology:Q838948 }
Siddharth Breakaway Namumkin Fire Water Earth
Siddharth, Breakaway, Namumkin, Fire, Water and Earth originated in Canada and India
Siddharth Breakaway Namumkin Fire Water Earth
action filter_type
action intersection
action find_reverse
entity Canada
relation country of origin
action find_reverse
entity India
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'country of origin', 'Canada'], [{'concept': 'work of art'}, 'country of origin', 'India']]}
SELECT DISTINCT ?f WHERE { ?f property:country_of_origin resource:Canada . ?f property:country_of_origin resource:India . ?f rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q483110 Q2235308
USER
How many political territories do atleast 1 stadia and ship types belong to ?
(c(Q483110)|c(Q2235308),P127,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
value 1
[[{'concept': 'Q483110'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?r ) WHERE { { ?x property:P127 ?y . ?x rdf:type ontology:Q483110 . ?y rdf:type ontology:Q1048835 } UNION { ?x property:P127 ?y . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2235308 } } GROUP BY ?y } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
value 1
[[{'concept': 'stadium'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?r ) WHERE { { ?x property:owned_by ?y . ?x rdf:type ontology:stadium . ?y rdf:type ontology:political_territorial_entity } UNION { ?x property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:ship_type } } GROUP BY ?y } }
[]
political territorial entity stadium ship type
SYSTEM
11
Q318314 Q192387 Q217838 Q6339 Q5783 Q741765 Q276176 Q202174 Q2271 Q207111 Q5756
(c(Q483110)|c(Q2235308),P127,c(Q1048835))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q483110
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q2235308
value 1
[ANSWER]
[[{'concept': 'Q483110'}, {'concept': 'Q2235308'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?r ) WHERE { { ?x property:P127 ?y . ?x rdf:type ontology:Q483110 . ?y rdf:type ontology:Q1048835 } UNION { ?x property:P127 ?y . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2235308 } } GROUP BY ?y } }
Ipatinga Londrina Stirling Erzgebirgskreis Andalusia San Fernando Volta Redonda Argyll and Bute South Sumatra North Lanarkshire Community of Madrid
11
action count
action atleast
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type stadium
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type ship type
value 1
[[{'concept': 'stadium'}, {'concept': 'ship type'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { FILTER ( ?r >= 1 ) . { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?r ) WHERE { { ?x property:owned_by ?y . ?x rdf:type ontology:stadium . ?y rdf:type ontology:political_territorial_entity } UNION { ?x property:owned_by ?y . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:ship_type } } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P163
Q14660
USER
What is the name of flag associated with Canada ?
(Q16,P163,c(Q14660))
action filter_type
action find
entity Q16
relation P163
type Q14660
['Q16', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { resource:Q16 property:P163 ?s . ?s rdf:type ontology:Q14660 }
Canada
action filter_type
action find
entity Canada
relation flag
type flag
['Canada', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { resource:Canada property:flag ?s . ?s rdf:type ontology:flag }
[]
flag
Q80110
SYSTEM
flag of Canada
Q80110
(Q16,P163,c(Q14660))
action filter_type
action find
entity Q16
relation P163
type Q14660
The name of flag associated with Canada is the [ANSWER]
['Q16', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?s WHERE { resource:Q16 property:P163 ?s . ?s rdf:type ontology:Q14660 }
flag of Canada
The name of flag associated with Canada is the flag of Canada
flag of Canada
action filter_type
action find
entity Canada
relation flag
type flag
['Canada', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?s WHERE { resource:Canada property:flag ?s . ?s rdf:type ontology:flag }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q838948 Q11060274
USER
Which works of art are depicted in max number of works of art and prints ?
(c(Q838948)|c(Q11060274),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } } GROUP BY ?c } } . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?g ) WHERE { { ?a property:P180 ?f . ?a rdf:type ontology:Q11060274 . ?f rdf:type ontology:Q838948 } UNION { ?a property:P180 ?f . ?f rdf:type ontology:Q838948 . ?a rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?g = ?e ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:print ) } } GROUP BY ?c } } . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?g ) WHERE { { ?a property:depicts ?f . ?a rdf:type ontology:print . ?f rdf:type ontology:work_of_art } UNION { ?a property:depicts ?f . ?f rdf:type ontology:work_of_art . ?a rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?g = ?e ) }
[]
work of art work of art print
Q3575260
SYSTEM
bijou
Q3575260
(c(Q838948)|c(Q11060274),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
[ANSWER] is depicted in max number of works of art and prints
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } } GROUP BY ?c } } . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?g ) WHERE { { ?a property:P180 ?f . ?a rdf:type ontology:Q11060274 . ?f rdf:type ontology:Q838948 } UNION { ?a property:P180 ?f . ?f rdf:type ontology:Q838948 . ?a rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?g = ?e ) }
bijou
Bijou is depicted in max number of works of art and prints
bijou
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?e ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?w ) WHERE { ?b rdf:type ?h . VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:print ) } } GROUP BY ?c } } . { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?g ) WHERE { { ?a property:depicts ?f . ?a rdf:type ontology:print . ?f rdf:type ontology:work_of_art } UNION { ?a property:depicts ?f . ?f rdf:type ontology:work_of_art . ?a rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?g = ?e ) }
[]