Simple Question (Direct)
Simple Question
Q450335
P1412
Q34770
USER
Which language is spoken by Antonio Muñoz Molina ?
(Q450335,P1412,c(Q34770))
action filter_type
action find
entity Q450335
relation P1412
type Q34770
['Q450335', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q450335 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Antonio Muñoz Molina
action filter_type
action find
entity Antonio Muñoz Molina
relation languages spoken, written or signed
type language
['Antonio Muñoz Molina', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Antonio_Muñoz_Molina property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q450335,P1412,c(Q34770))
action filter_type
action find
entity Q450335
relation P1412
type Q34770
[ANSWER] is spoken by Antonio Muñoz Molina
['Q450335', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q450335 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by Antonio Muñoz Molina
Spanish
action filter_type
action find
entity Antonio Muñoz Molina
relation languages spoken, written or signed
type language
['Antonio Muñoz Molina', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Antonio_Muñoz_Molina property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q450335
P26
Q502895
USER
Which person has Antonio Muñoz Molina as spouse ?
(c(Q502895),P26,Q450335)
action filter_type
action find
entity Q450335
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q450335']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q450335 property:P26 ?v }
Antonio Muñoz Molina
action filter_type
action find
entity Antonio Muñoz Molina
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Antonio Muñoz Molina']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Antonio_Muñoz_Molina property:spouse ?v }
[]
common name
Q237058
SYSTEM
Elvira Lindo
Q237058
(c(Q502895),P26,Q450335)
action filter_type
action find
entity Q450335
relation P26
type Q502895
[ANSWER] has Antonio Muñoz Molina as spouse
[{'concept': 'Q502895'}, 'P26', 'Q450335']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q450335 property:P26 ?v }
Elvira Lindo
Elvira Lindo has Antonio Muñoz Molina as spouse
Elvira Lindo
action filter_type
action find
entity Antonio Muñoz Molina
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Antonio Muñoz Molina']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Antonio_Muñoz_Molina property:spouse ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q450335
P136
Q1792379
USER
What can be considered as category for Antonio Muñoz Molina ?
(Q450335,P136,c(Q1792379))
action filter_type
action find
entity Q450335
relation P136
type Q1792379
['Q450335', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q450335 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
Antonio Muñoz Molina
action filter_type
action find
entity Antonio Muñoz Molina
relation genre
type art genre
['Antonio Muñoz Molina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Muñoz_Molina property:genre ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
(Q450335,P136,c(Q1792379))
action filter_type
action find
entity Q450335
relation P136
type Q1792379
General [ANSWER] can be considered as category for Antonio Muñoz Molina
['Q450335', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q450335 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
novel
General novel can be considered as category for Antonio Muñoz Molina
novel
action filter_type
action find
entity Antonio Muñoz Molina
relation genre
type art genre
['Antonio Muñoz Molina', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Muñoz_Molina property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8261
P170
Q12737077
USER
Which occupation is the creater of that art genre ?
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q8261 property:P170 ?x }
novel
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:novel property:creator ?x }
[]
occupation
Q6625963
SYSTEM
novelist
Q6625963
(Q8261,P170,c(Q12737077))
action filter_type
action find
entity Q8261
relation P170
type Q12737077
The [ANSWER] is the creater of that art genre
['Q8261', 'P170', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q12737077 . resource:Q8261 property:P170 ?x }
novelist
The novelist is the creater of that art genre
novelist
action filter_type
action find
entity novel
relation creator
type occupation
['novel', 'creator', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:occupation . resource:novel property:creator ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6625963 Q8261
P425
Q1792379
USER
Is novel associated with the field of occupation that one ?
(Q6625963,P425,Q8261)
action is_in
entity Q8261
action find
entity Q6625963
relation P425
['Q6625963', 'P425', 'Q8261']
ASK WHERE { resource:Q6625963 property:P425 resource:Q8261 }
novelist novel
action is_in
entity novel
action find
entity novelist
relation field of this occupation
['novelist', 'field of this occupation', 'novel']
ASK WHERE { resource:novelist property:field_of_this_occupation resource:novel }
[]
art genre
SYSTEM
YES
(Q6625963,P425,Q8261)
action is_in
entity Q8261
action find
entity Q6625963
relation P425
[ANSWER]
['Q6625963', 'P425', 'Q8261']
ASK WHERE { resource:Q6625963 property:P425 resource:Q8261 }
Yes
action is_in
entity novel
action find
entity novelist
relation field of this occupation
['novelist', 'field of this occupation', 'novel']
ASK WHERE { resource:novelist property:field_of_this_occupation resource:novel }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6625963 Q3356245
P425
Q874405
USER
How many social groups have novelist or Civilekonom as the associated field of occupation ?
(Q6625963,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q6625963
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q6625963', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?a ) { ( resource:Q6625963 ) ( resource:Q3356245 ) } . ?a property:P425 ?s }
novelist Civilekonom
action count
action union
action filter_type
action find
entity novelist
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['novelist', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?a ) { ( resource:novelist ) ( resource:Civilekonom ) } . ?a property:field_of_this_occupation ?s }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q6625963,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q6625963
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q6625963', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?a ) { ( resource:Q6625963 ) ( resource:Q3356245 ) } . ?a property:P425 ?s }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity novelist
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['novelist', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?m ) WHERE { VALUES ( ?a ) { ( resource:novelist ) ( resource:Civilekonom ) } . ?a property:field_of_this_occupation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6625963
P101
Q502895
USER
Which people have field of work as that occupation ?
action filter_type
action find_reverse
entity Q6625963
relation P101
type Q502895
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P101 resource:Q6625963 }
novelist
action filter_type
action find_reverse
entity novelist
relation field of work
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:field_of_work resource:novelist }
[]
common name
Q134942 Q16211564 Q24763197
SYSTEM
William Somerset Maugham, Marlon James, Annette Lyon
Q134942 Q16211564 Q24763197 Q24763778
action filter_type
action find_reverse
entity Q6625963
relation P101
type Q502895
[ANSWERS] have field of work as that occupation
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P101 resource:Q6625963 }
William Somerset Maugham Marlon James Annette Lyon Lisa McInerney
William Somerset Maugham, Marlon James and Annette Lyon have field of work as that occupation
William Somerset Maugham Marlon James Annette Lyon
action filter_type
action find_reverse
entity novelist
relation field of work
type common name
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:field_of_work resource:novelist }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q134942 Q16211564 Q24763197
P106
Q12737077
USER
What do those people do for a living ?
(Q134942,P106,c(Q12737077)) (Q16211564,P106,c(Q12737077)) (Q24763197,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q134942', 'P106', {'concept': 'Q12737077'}] ['Q16211564', 'P106', {'concept': 'Q12737077'}] ['Q24763197', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Q134942 ) ( resource:Q16211564 ) ( resource:Q24763197 ) } . ?j property:P106 ?b . ?b rdf:type ontology:Q12737077 }
William Somerset Maugham Marlon James Annette Lyon
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['William Somerset Maugham', 'occupation', {'concept': 'occupation'}] ['Marlon James', 'occupation', {'concept': 'occupation'}] ['Annette Lyon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:William_Somerset_Maugham ) ( resource:Marlon_James ) ( resource:Annette_Lyon ) } . ?j property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q36180 Q6625963 Q36180
SYSTEM
writer for 1st, 3rd, novelist for 2nd
Q36180 Q6625963 Q36180 Q6625963 Q36180
(Q134942,P106,c(Q12737077)) (Q16211564,P106,c(Q12737077)) (Q24763197,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q134942', 'P106', {'concept': 'Q12737077'}] ['Q16211564', 'P106', {'concept': 'Q12737077'}] ['Q24763197', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:Q134942 ) ( resource:Q16211564 ) ( resource:Q24763197 ) } . ?j property:P106 ?b . ?b rdf:type ontology:Q12737077 }
writer novelist writer novelist writer
Writer, novelist and writer those people do for a living
writer novelist writer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['William Somerset Maugham', 'occupation', {'concept': 'occupation'}] ['Marlon James', 'occupation', {'concept': 'occupation'}] ['Annette Lyon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?j ) { ( resource:William_Somerset_Maugham ) ( resource:Marlon_James ) ( resource:Annette_Lyon ) } . ?j property:occupation ?b . ?b rdf:type ontology:occupation }
[]