Simple Question (Direct)
Simple Question
Q3857467
P734
Q82799
USER
Who has the surname Mike West ?
(Q3857467,P734,c(Q82799))
action filter_type
action find
entity Q3857467
relation P734
type Q82799
['Q3857467', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q3857467 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Mike West
action filter_type
action find
entity Mike West
relation family name
type name
['Mike West', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Mike_West property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Q2564123
SYSTEM
West
Q2564123
(Q3857467,P734,c(Q82799))
action filter_type
action find
entity Q3857467
relation P734
type Q82799
[ANSWER] has the surname Mike [ANSWER]
['Q3857467', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q3857467 property:P734 ?z . ?z rdf:type ontology:Q82799 }
West
West has the surname Mike West
West
action filter_type
action find
entity Mike West
relation family name
type name
['Mike West', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Mike_West property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2564123
P407
Q34770
USER
Which language is that name in ?
(Q2564123,P407,c(Q34770))
action filter_type
action find
entity Q2564123
relation P407
type Q34770
['Q2564123', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q2564123 property:P407 ?w . ?w rdf:type ontology:Q34770 }
West
action filter_type
action find
entity West
relation language of work or name
type language
['West', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:West property:language_of_work_or_name ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2564123,P407,c(Q34770))
action filter_type
action find
entity Q2564123
relation P407
type Q34770
That is name in [ANSWER]
['Q2564123', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q2564123 property:P407 ?w . ?w rdf:type ontology:Q34770 }
English
That is name in English
English
action filter_type
action find
entity West
relation language of work or name
type language
['West', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:West property:language_of_work_or_name ?w . ?w rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q17032657 Q2564123
P1412 P407
Q34770
USER
Which languages are West composed in or are spoken by Fidel Lora Lillo ?
OR((Q2564123,P407,c(Q34770)), (Q17032657,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q2564123
relation P407
action find
entity Q17032657
relation P1412
type Q34770
{'OR': [['Q2564123', 'P407', {'concept': 'Q34770'}], ['Q17032657', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2564123 property:P407 ?d } UNION { resource:Q17032657 property:P1412 ?d } } . ?d rdf:type ontology:Q34770 }
Fidel Lora Lillo West
action filter_type
action union
action find
entity West
relation language of work or name
action find
entity Fidel Lora Lillo
relation languages spoken, written or signed
type language
{'OR': [['West', 'language of work or name', {'concept': 'language'}], ['Fidel Lora Lillo', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?d WHERE { { { resource:West property:language_of_work_or_name ?d } UNION { resource:Fidel_Lora_Lillo property:languages_spoken,_written_or_signed ?d } } . ?d rdf:type ontology:language }
[]
language
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
OR((Q2564123,P407,c(Q34770)), (Q17032657,P1412,c(Q34770)))
action filter_type
action union
action find
entity Q2564123
relation P407
action find
entity Q17032657
relation P1412
type Q34770
West are composed spoken by [ANSWERS]
{'OR': [['Q2564123', 'P407', {'concept': 'Q34770'}], ['Q17032657', 'P1412', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q2564123 property:P407 ?d } UNION { resource:Q17032657 property:P1412 ?d } } . ?d rdf:type ontology:Q34770 }
English Spanish
West are composed spoken by English and Spanish
English Spanish
action filter_type
action union
action find
entity West
relation language of work or name
action find
entity Fidel Lora Lillo
relation languages spoken, written or signed
type language
{'OR': [['West', 'language of work or name', {'concept': 'language'}], ['Fidel Lora Lillo', 'languages spoken, written or signed', {'concept': 'language'}]]}
SELECT DISTINCT ?d WHERE { { { resource:West property:language_of_work_or_name ?d } UNION { resource:Fidel_Lora_Lillo property:languages_spoken,_written_or_signed ?d } } . ?d rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17032657
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q1860,P102,c(Q7210356)) (Q1321,P102,c(Q7210356))
action filter_type
action find
entity Q17032657
relation P102
type Q7210356
['Q1860', 'P102', {'concept': 'Q7210356'}] ['Q1321', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q17032657 property:P102 ?o }
Fidel Lora Lillo
action filter_type
action find
entity Fidel Lora Lillo
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}] ['Spanish', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Fidel_Lora_Lillo property:member_of_political_party ?o }
[]
political organization
Q149877
SYSTEM
Initiative for Catalonia Greens
Q149877
(Q1860,P102,c(Q7210356)) (Q1321,P102,c(Q7210356))
action filter_type
action find
entity Q17032657
relation P102
type Q7210356
That person is affiliated to [ANSWER]
['Q1860', 'P102', {'concept': 'Q7210356'}] ['Q1321', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q7210356 . resource:Q17032657 property:P102 ?o }
Initiative for Catalonia Greens
That person is affiliated to Initiative for Catalonia Greens
Initiative for Catalonia Greens
action filter_type
action find
entity Fidel Lora Lillo
relation member of political party
type political organization
['English', 'member of political party', {'concept': 'political organization'}] ['Spanish', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_organization . resource:Fidel_Lora_Lillo property:member_of_political_party ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17032657
P27
Q15617994
USER
Which administrative territory is Fidel Lora Lillo an inhabitant of ?
(Q17032657,P27,c(Q15617994))
action filter_type
action find
entity Q17032657
relation P27
type Q15617994
['Q17032657', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q17032657 property:P27 ?c }
Fidel Lora Lillo
action filter_type
action find
entity Fidel Lora Lillo
relation country of citizenship
type designation for an administrative territorial entity
['Fidel Lora Lillo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fidel_Lora_Lillo property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q17032657,P27,c(Q15617994))
action filter_type
action find
entity Q17032657
relation P27
type Q15617994
[ANSWER] is Fidel Lora Lillo an inhabitant of
['Q17032657', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q17032657 property:P27 ?c }
Spain
Spain is Fidel Lora Lillo an inhabitant of
Spain
action filter_type
action find
entity Fidel Lora Lillo
relation country of citizenship
type designation for an administrative territorial entity
['Fidel Lora Lillo', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fidel_Lora_Lillo property:country_of_citizenship ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17032657
P39
Q12737077
USER
Which occupation was a position occupied by that person ?
(Q29,P39,c(Q12737077))
action filter_type
action find
entity Q17032657
relation P39
type Q12737077
['Q29', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q17032657 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Fidel Lora Lillo
action filter_type
action find
entity Fidel Lora Lillo
relation position held
type occupation
['Spain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Fidel_Lora_Lillo property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q18714088
SYSTEM
Member of the Catalan Parliament
Q18714088
(Q29,P39,c(Q12737077))
action filter_type
action find
entity Q17032657
relation P39
type Q12737077
[ANSWER] was a position occupied by that person
['Q29', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q17032657 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Member of the Catalan Parliament
Member of the Catalan Parliament was a position occupied by that person
Member of the Catalan Parliament
action filter_type
action find
entity Fidel Lora Lillo
relation position held
type occupation
['Spain', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Fidel_Lora_Lillo property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q8436 Q151885 Q82799
USER
Which names are a component of approximately 1 families or concepts ?
(c(Q82799),P361,c(Q8436)|c(Q151885))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { VALUES ( ?c ) { ( ontology:Q151885 ) ( ontology:Q8436 ) } . ?w rdf:type ?c } GROUP BY ?x } . FILTER ( ?t = 1 ) }
action approx
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { VALUES ( ?c ) { ( ontology:concept ) ( ontology:family ) } . ?w rdf:type ?c } GROUP BY ?x } . FILTER ( ?t = 1 ) }
[]
family concept name
Q1058384 Q746990 Q876933
SYSTEM
hakham, Brahman, magi
Q1058384 Q235598 Q742083 Q746990 Q876933
(c(Q82799),P361,c(Q8436)|c(Q151885))
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q8436
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[ANSWERS] are a component of approximately 1 families or concepts
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q8436'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { VALUES ( ?c ) { ( ontology:Q151885 ) ( ontology:Q8436 ) } . ?w rdf:type ?c } GROUP BY ?x } . FILTER ( ?t = 1 ) }
hakham Piso Princes of Paliano Brahman magi
Hakham, Brahman and magi are a component of approximately 1 families or concepts
hakham Brahman magi
action approx
action union
action find_tuple_counts
relation part of
type name
type family
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'family'}, {'concept': 'concept'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) ?x WHERE { VALUES ( ?c ) { ( ontology:concept ) ( ontology:family ) } . ?w rdf:type ?c } GROUP BY ?x } . FILTER ( ?t = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for approximately 122 names ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 122
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P407 ?k . ?k rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 } GROUP BY ?k } . FILTER ( ?a = 122 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 122
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:language_of_work_or_name ?k . ?k rdf:type ontology:language . ?r rdf:type ontology:name } GROUP BY ?k } . FILTER ( ?a = 122 ) }
[]
language name
Q1321 Q652
SYSTEM
Spanish, Italian
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 122
[ANSWERS] the languages of work for approximately 122 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:P407 ?k . ?k rdf:type ontology:Q34770 . ?r rdf:type ontology:Q82799 } GROUP BY ?k } . FILTER ( ?a = 122 ) }
Spanish Italian
Spanish and Italian the languages of work for approximately 122 names
Spanish Italian
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 122
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?r ) AS ?a ) WHERE { ?r property:language_of_work_or_name ?k . ?k rdf:type ontology:language . ?r rdf:type ontology:name } GROUP BY ?k } . FILTER ( ?a = 122 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3489397
P407
Q2031291
USER
Are Solid Pleasure in those languages ?
(Q3489397,P407,Q1321) (Q3489397,P407,Q652)
action is_in
entity prev_answer
action find
entity Q3489397
relation P407
['Q3489397', 'P407', 'Q1321'] ['Q3489397', 'P407', 'Q652']
ASK WHERE { resource:Q3489397 property:P407 ?r . VALUES ( ?r ) { ( resource:Q1321 ) ( resource:Q652 ) } }
Solid Pleasure
action is_in
entity prev_answer
action find
entity Solid Pleasure
relation language of work or name
['Solid Pleasure', 'language of work or name', 'Spanish'] ['Solid Pleasure', 'language of work or name', 'Italian']
ASK WHERE { resource:Solid_Pleasure property:language_of_work_or_name ?r . VALUES ( ?r ) { ( resource:Spanish ) ( resource:Italian ) } }
[]
release
SYSTEM
NO
(Q3489397,P407,Q1321) (Q3489397,P407,Q652)
action is_in
entity prev_answer
action find
entity Q3489397
relation P407
[ANSWER]
['Q3489397', 'P407', 'Q1321'] ['Q3489397', 'P407', 'Q652']
ASK WHERE { resource:Q3489397 property:P407 ?r . VALUES ( ?r ) { ( resource:Q1321 ) ( resource:Q652 ) } }
No
action is_in
entity prev_answer
action find
entity Solid Pleasure
relation language of work or name
['Solid Pleasure', 'language of work or name', 'Spanish'] ['Solid Pleasure', 'language of work or name', 'Italian']
ASK WHERE { resource:Solid_Pleasure property:language_of_work_or_name ?r . VALUES ( ?r ) { ( resource:Spanish ) ( resource:Italian ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3857467 Q1756373
P27
Q1048835
USER
Is Inimutaba the country of citizenship of Mike West ?
(Q3857467,P27,Q1756373)
action is_in
entity Q1756373
action find
entity Q3857467
relation P27
['Q3857467', 'P27', 'Q1756373']
ASK WHERE { resource:Q3857467 property:P27 resource:Q1756373 }
Mike West Inimutaba
action is_in
entity Inimutaba
action find
entity Mike West
relation country of citizenship
['Mike West', 'country of citizenship', 'Inimutaba']
ASK WHERE { resource:Mike_West property:country_of_citizenship resource:Inimutaba }
[]
political territorial entity
SYSTEM
NO
(Q3857467,P27,Q1756373)
action is_in
entity Q1756373
action find
entity Q3857467
relation P27
[ANSWER]
['Q3857467', 'P27', 'Q1756373']
ASK WHERE { resource:Q3857467 property:P27 resource:Q1756373 }
No
action is_in
entity Inimutaba
action find
entity Mike West
relation country of citizenship
['Mike West', 'country of citizenship', 'Inimutaba']
ASK WHERE { resource:Mike_West property:country_of_citizenship resource:Inimutaba }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q876933 Q4353426 Q3303297
P361
Q151885
USER
Is magi a portion of money mule and ironmaster ?
(Q876933,P361,Q4353426) (Q876933,P361,Q3303297)
action is_in
entity Q876933
action intersection
action find_reverse
entity Q4353426
relation P361
action find_reverse
entity Q3303297
relation P361
['Q876933', 'P361', 'Q4353426'] ['Q876933', 'P361', 'Q3303297']
ASK WHERE { resource:Q876933 property:P361 resource:Q3303297 . resource:Q876933 property:P361 resource:Q4353426 }
magi money mule ironmaster
action is_in
entity magi
action intersection
action find_reverse
entity money mule
relation part of
action find_reverse
entity ironmaster
relation part of
['magi', 'part of', 'money mule'] ['magi', 'part of', 'ironmaster']
ASK WHERE { resource:magi property:part_of resource:ironmaster . resource:magi property:part_of resource:money_mule }
[]
concept
SYSTEM
NO
(Q876933,P361,Q4353426) (Q876933,P361,Q3303297)
action is_in
entity Q876933
action intersection
action find_reverse
entity Q4353426
relation P361
action find_reverse
entity Q3303297
relation P361
[ANSWER]
['Q876933', 'P361', 'Q4353426'] ['Q876933', 'P361', 'Q3303297']
ASK WHERE { resource:Q876933 property:P361 resource:Q3303297 . resource:Q876933 property:P361 resource:Q4353426 }
No
action is_in
entity magi
action intersection
action find_reverse
entity money mule
relation part of
action find_reverse
entity ironmaster
relation part of
['magi', 'part of', 'money mule'] ['magi', 'part of', 'ironmaster']
ASK WHERE { resource:magi property:part_of resource:ironmaster . resource:magi property:part_of resource:money_mule }
[]