Simple Question (Direct)
Simple Question
Q3616751
P106
Q12737077
USER
Which occupations have Angela Cavagna as his/her 's career ?
(Q3616751,P106,c(Q12737077))
action filter_type
action find
entity Q3616751
relation P106
type Q12737077
['Q3616751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3616751 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Angela Cavagna
action filter_type
action find
entity Angela Cavagna
relation occupation
type occupation
['Angela Cavagna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Angela_Cavagna property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q4610556 Q33999 Q177220
SYSTEM
model, actor, singer
Q4610556 Q33999 Q177220
(Q3616751,P106,c(Q12737077))
action filter_type
action find
entity Q3616751
relation P106
type Q12737077
[ANSWERS] have Angela Cavagna as his/her 's career
['Q3616751', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q3616751 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
model actor singer
Model, actor and singer have Angela Cavagna as his/her 's career
model actor singer
action filter_type
action find
entity Angela Cavagna
relation occupation
type occupation
['Angela Cavagna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Angela_Cavagna property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3616751
P21
Q290
USER
Which sex does that person possess ?
(Q4610556,P21,c(Q290)) (Q33999,P21,c(Q290)) (Q177220,P21,c(Q290))
action filter_type
action find
entity Q3616751
relation P21
type Q290
['Q4610556', 'P21', {'concept': 'Q290'}] ['Q33999', 'P21', {'concept': 'Q290'}] ['Q177220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3616751 property:P21 ?a . ?a rdf:type ontology:Q290 }
Angela Cavagna
action filter_type
action find
entity Angela Cavagna
relation gender
type sex
['model', 'gender', {'concept': 'sex'}] ['actor', 'gender', {'concept': 'sex'}] ['singer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Angela_Cavagna property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4610556,P21,c(Q290)) (Q33999,P21,c(Q290)) (Q177220,P21,c(Q290))
action filter_type
action find
entity Q3616751
relation P21
type Q290
That person possesses the [ANSWER]
['Q4610556', 'P21', {'concept': 'Q290'}] ['Q33999', 'P21', {'concept': 'Q290'}] ['Q177220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3616751 property:P21 ?a . ?a rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Angela Cavagna
relation gender
type sex
['model', 'gender', {'concept': 'sex'}] ['actor', 'gender', {'concept': 'sex'}] ['singer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Angela_Cavagna property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3616751
P136
Q151885
USER
Which concept is the genre for that person ?
(Q6581072,P136,c(Q151885))
action filter_type
action find
entity Q3616751
relation P136
type Q151885
['Q6581072', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q3616751 property:P136 ?b }
Angela Cavagna
action filter_type
action find
entity Angela Cavagna
relation genre
type concept
['female', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Angela_Cavagna property:genre ?b }
[]
concept
Q744417
SYSTEM
Italo disco
Q744417
(Q6581072,P136,c(Q151885))
action filter_type
action find
entity Q3616751
relation P136
type Q151885
[ANSWER] is the genre for that person
['Q6581072', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q151885 . resource:Q3616751 property:P136 ?b }
Italo disco
Italo disco is the genre for that person
Italo disco
action filter_type
action find
entity Angela Cavagna
relation genre
type concept
['female', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:concept . resource:Angela_Cavagna property:genre ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1042168
Q151885
USER
And what about The Singles 81→85?
(Q1042168,P136,c(Q151885))
action filter_type
action find
entity Q1042168
relation P136
type Q151885
['Q1042168', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q1042168 property:P136 ?j . ?j rdf:type ontology:Q151885 }
The Singles 81→85
action filter_type
action find
entity The Singles 81→85
relation genre
type concept
['The Singles 81→85', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:The_Singles_81→85 property:genre ?j . ?j rdf:type ontology:concept }
[]
concept
Q3840596 Q1298934 Q968730
SYSTEM
dark wave, synthpop, Industrial rock
Q3840596 Q1298934 Q968730 Q187760 Q487965
(Q1042168,P136,c(Q151885))
action filter_type
action find
entity Q1042168
relation P136
type Q151885
[ANSWERS]
['Q1042168', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?j WHERE { resource:Q1042168 property:P136 ?j . ?j rdf:type ontology:Q151885 }
dark wave synthpop Industrial rock new wave music industrial music
dark wave synthpop Industrial rock
action filter_type
action find
entity The Singles 81→85
relation genre
type concept
['The Singles 81→85', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?j WHERE { resource:The_Singles_81→85 property:genre ?j . ?j rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q744417
P361
Q151885
USER
Which concept is Italo disco a part of ?
(Q744417,P361,c(Q151885))
action filter_type
action find
entity Q744417
relation P361
type Q151885
['Q744417', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q744417 property:P361 ?d . ?d rdf:type ontology:Q151885 }
Italo disco
action filter_type
action find
entity Italo disco
relation part of
type concept
['Italo disco', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Italo_disco property:part_of ?d . ?d rdf:type ontology:concept }
[]
concept
Q851213
SYSTEM
electronic dance music
Q851213
(Q744417,P361,c(Q151885))
action filter_type
action find
entity Q744417
relation P361
type Q151885
Which concept is Italo disco a part of
['Q744417', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ?d WHERE { resource:Q744417 property:P361 ?d . ?d rdf:type ontology:Q151885 }
electronic dance music
Which concept is Italo disco a part of
electronic dance music
action filter_type
action find
entity Italo disco
relation part of
type concept
['Italo disco', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ?d WHERE { resource:Italo_disco property:part_of ?d . ?d rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q151885 Q2996394
USER
How many concepts are greater number of biological processes a component of than that concept ?
(c(Q2996394),P361,c(Q151885))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q151885
type Q2996394
action count
action filter_type
action find
entity Q851213
relation P361
type Q151885
[{'concept': 'Q2996394'}, 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:Q151885 . resource:Q851213 property:P361 ?l } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P361 ?a . ?a rdf:type ontology:Q151885 . ?h rdf:type ontology:Q2996394 } GROUP BY ?a } }
action count
action greater
action find_reverse_tuple_counts
relation part of
type concept
type biological process
action count
action filter_type
action find
entity electronic dance music
relation part of
type concept
[{'concept': 'biological process'}, 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:concept . resource:electronic_dance_music property:part_of ?l } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:part_of ?a . ?a rdf:type ontology:concept . ?h rdf:type ontology:biological_process } GROUP BY ?a } }
[]
concept biological process
SYSTEM
1
Q22269698
(c(Q2996394),P361,c(Q151885))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q151885
type Q2996394
action count
action filter_type
action find
entity Q851213
relation P361
type Q151885
[ANSWER]
[{'concept': 'Q2996394'}, 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:Q151885 . resource:Q851213 property:P361 ?l } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:P361 ?a . ?a rdf:type ontology:Q151885 . ?h rdf:type ontology:Q2996394 } GROUP BY ?a } }
symbiosis, encompassing mutualism through parasitism
1
action count
action greater
action find_reverse_tuple_counts
relation part of
type concept
type biological process
action count
action filter_type
action find
entity electronic dance music
relation part of
type concept
[{'concept': 'biological process'}, 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ontology:concept . resource:electronic_dance_music property:part_of ?l } } . FILTER ( ?f > ?v ) . { SELECT DISTINCT ?a ( COUNT ( ?h ) AS ?f ) WHERE { ?h property:part_of ?a . ?a rdf:type ontology:concept . ?h rdf:type ontology:biological_process } GROUP BY ?a } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3616751 Q5564076
P106
Q12737077
USER
How many occupations do Angela Cavagna and Gippy Grewal do for a living ?
(Q3616751,P106,c(Q12737077)) (Q5564076,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q3616751
relation P106
type Q12737077
action filter_type
action find
entity Q5564076
relation P106
type Q12737077
['Q3616751', 'P106', {'concept': 'Q12737077'}] ['Q5564076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q3616751 property:P106 ?y . ?y rdf:type ontology:Q12737077 . resource:Q5564076 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Angela Cavagna Gippy Grewal
action count
action intersection
action filter_type
action find
entity Angela Cavagna
relation occupation
type occupation
action filter_type
action find
entity Gippy Grewal
relation occupation
type occupation
['Angela Cavagna', 'occupation', {'concept': 'occupation'}] ['Gippy Grewal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Angela_Cavagna property:occupation ?y . ?y rdf:type ontology:occupation . resource:Gippy_Grewal property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q33999 Q177220
(Q3616751,P106,c(Q12737077)) (Q5564076,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q3616751
relation P106
type Q12737077
action filter_type
action find
entity Q5564076
relation P106
type Q12737077
[ANSWER]
['Q3616751', 'P106', {'concept': 'Q12737077'}] ['Q5564076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q3616751 property:P106 ?y . ?y rdf:type ontology:Q12737077 . resource:Q5564076 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
actor singer
2
action count
action intersection
action filter_type
action find
entity Angela Cavagna
relation occupation
type occupation
action filter_type
action find
entity Gippy Grewal
relation occupation
type occupation
['Angela Cavagna', 'occupation', {'concept': 'occupation'}] ['Gippy Grewal', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Angela_Cavagna property:occupation ?y . ?y rdf:type ontology:occupation . resource:Gippy_Grewal property:occupation ?y . ?y rdf:type ontology:occupation }
[]