Simple Question (Direct)
Simple Question
Q16018861
P735
Q82799
USER
What the name that M. Rajasekara Murthy is known by ?
(Q16018861,P735,c(Q82799))
action filter_type
action find
entity Q16018861
relation P735
type Q82799
['Q16018861', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q16018861 property:P735 ?q . ?q rdf:type ontology:Q82799 }
M. Rajasekara Murthy
action filter_type
action find
entity M. Rajasekara Murthy
relation given name
type name
['M. Rajasekara Murthy', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:M._Rajasekara_Murthy property:given_name ?q . ?q rdf:type ontology:name }
[]
name
Q19803510
SYSTEM
M.
Q19803510
(Q16018861,P735,c(Q82799))
action filter_type
action find
entity Q16018861
relation P735
type Q82799
Known [ANSWER]
['Q16018861', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q16018861 property:P735 ?q . ?q rdf:type ontology:Q82799 }
M.
Known M.
M.
action filter_type
action find
entity M. Rajasekara Murthy
relation given name
type name
['M. Rajasekara Murthy', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:M._Rajasekara_Murthy property:given_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16018861
P102
Q7210356
USER
Which parties do M. Rajasekara Murthy belong to ?
(Q16018861,P102,c(Q7210356))
action filter_type
action find
entity Q16018861
relation P102
type Q7210356
['Q16018861', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q16018861 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
M. Rajasekara Murthy
action filter_type
action find
entity M. Rajasekara Murthy
relation member of political party
type political organization
['M. Rajasekara Murthy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:M._Rajasekara_Murthy property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q10225 Q10230
SYSTEM
Indian National Congress, Bharatiya Janata Party
Q10225 Q10230
(Q16018861,P102,c(Q7210356))
action filter_type
action find
entity Q16018861
relation P102
type Q7210356
M. Rajasekara Murthy belong to [ANSWERS]
['Q16018861', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q16018861 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Indian National Congress Bharatiya Janata Party
M. Rajasekara Murthy belong to Indian National Congress and Bharatiya Janata Party
Indian National Congress Bharatiya Janata Party
action filter_type
action find
entity M. Rajasekara Murthy
relation member of political party
type political organization
['M. Rajasekara Murthy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:M._Rajasekara_Murthy property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7260821
P102
Q502895
USER
Are Puran Singh Bundela the members of those political organizations ?
(Q7260821,P102,Q10225) (Q7260821,P102,Q10230)
action is_in
entity prev_answer
action find
entity Q7260821
relation P102
['Q7260821', 'P102', 'Q10225'] ['Q7260821', 'P102', 'Q10230']
ASK WHERE { resource:Q7260821 property:P102 ?i . VALUES ( ?i ) { ( resource:Q10225 ) ( resource:Q10230 ) } }
Puran Singh Bundela
action is_in
entity prev_answer
action find
entity Puran Singh Bundela
relation member of political party
['Puran Singh Bundela', 'member of political party', 'Indian National Congress'] ['Puran Singh Bundela', 'member of political party', 'Bharatiya Janata Party']
ASK WHERE { resource:Puran_Singh_Bundela property:member_of_political_party ?i . VALUES ( ?i ) { ( resource:Indian_National_Congress ) ( resource:Bharatiya_Janata_Party ) } }
[]
common name
SYSTEM
YES
(Q7260821,P102,Q10225) (Q7260821,P102,Q10230)
action is_in
entity prev_answer
action find
entity Q7260821
relation P102
[ANSWER]
['Q7260821', 'P102', 'Q10225'] ['Q7260821', 'P102', 'Q10230']
ASK WHERE { resource:Q7260821 property:P102 ?i . VALUES ( ?i ) { ( resource:Q10225 ) ( resource:Q10230 ) } }
Yes
action is_in
entity prev_answer
action find
entity Puran Singh Bundela
relation member of political party
['Puran Singh Bundela', 'member of political party', 'Indian National Congress'] ['Puran Singh Bundela', 'member of political party', 'Bharatiya Janata Party']
ASK WHERE { resource:Puran_Singh_Bundela property:member_of_political_party ?i . VALUES ( ?i ) { ( resource:Indian_National_Congress ) ( resource:Bharatiya_Janata_Party ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q12737077 Q82799
USER
Which names have approximately 1 human settlements or occupations as their toponym ?
(c(Q82799),P138,c(Q486972)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q12737077
value 1
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?o WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q486972 ) ( ontology:Q12737077 ) } } GROUP BY ?o } }
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type occupation
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?o WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:human_settlement ) ( ontology:occupation ) } } GROUP BY ?o } }
[]
human settlement occupation name
Q1158446 Q1158882 Q11231408
SYSTEM
Smith, Fisher, Fischer
Q27022433 Q23599481 Q16869665 Q1158446 Q1158882 Q11231408 Q24699545 Q15785531 Q5352294 Q813701 Q23783070 Q23995126 Q21501910 Q24451619 Q1260304 Q21493520 Q1882407 Q16860286 Q16865812 Q1755217 Q24689291 Q16148136 Q19899706
(c(Q82799),P138,c(Q486972)|c(Q12737077))
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q486972
action find_tuple_counts
relation P138
type Q82799
type Q12737077
value 1
[ANSWERS] have approximately 1 human settlements or occupations as their toponym
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?o WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q486972 ) ( ontology:Q12737077 ) } } GROUP BY ?o } }
Danziger Bouvier Draper Smith Fisher Fischer Saunier Barber Fisichella Becker Potier Mercier Boulanger Métivier Berger Bergmann MacGowan Boucher Couture Magowan Vigneron Archer Sawyer
Smith, Fisher and Fischer have approximately 1 human settlements or occupations as their toponym
Smith Fisher Fischer
action approx
action union
action find_tuple_counts
relation named after
type name
type human settlement
action find_tuple_counts
relation named after
type name
type occupation
value 1
[{'concept': 'name'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'occupation'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?o WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:human_settlement ) ( ontology:occupation ) } } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1158446 Q1158882 Q11231408
P138
Q12737077
USER
Which occupations are Smith, Fisher and Fischer named after ?
(Q1158446,P138,c(Q12737077)) (Q1158882,P138,c(Q12737077)) (Q11231408,P138,c(Q12737077))
action union
action filter_type
action find
entity Q1158446
relation P138
type Q12737077
action filter_type
action find
entity Q1158882
relation P138
type Q12737077
action filter_type
action find
entity Q11231408
relation P138
type Q12737077
['Q1158446', 'P138', {'concept': 'Q12737077'}] ['Q1158882', 'P138', {'concept': 'Q12737077'}] ['Q11231408', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?h ) { ( resource:Q1158446 ) ( resource:Q1158882 ) } . ?h property:P138 ?b }
Smith Fisher Fischer
action union
action filter_type
action find
entity Smith
relation named after
type occupation
action filter_type
action find
entity Fisher
relation named after
type occupation
action filter_type
action find
entity Fischer
relation named after
type occupation
['Smith', 'named after', {'concept': 'occupation'}] ['Fisher', 'named after', {'concept': 'occupation'}] ['Fischer', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?h ) { ( resource:Smith ) ( resource:Fisher ) } . ?h property:named_after ?b }
[]
occupation
Q1639825 Q331432 Q331432
SYSTEM
fisherman for 2nd, 3rd, blacksmith for 1st
Q1639825 Q331432 Q331432
(Q1158446,P138,c(Q12737077)) (Q1158882,P138,c(Q12737077)) (Q11231408,P138,c(Q12737077))
action union
action filter_type
action find
entity Q1158446
relation P138
type Q12737077
action filter_type
action find
entity Q1158882
relation P138
type Q12737077
action filter_type
action find
entity Q11231408
relation P138
type Q12737077
[ANSWERS]
['Q1158446', 'P138', {'concept': 'Q12737077'}] ['Q1158882', 'P138', {'concept': 'Q12737077'}] ['Q11231408', 'P138', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?h ) { ( resource:Q1158446 ) ( resource:Q1158882 ) } . ?h property:P138 ?b }
blacksmith fisherman fisherman
Smith , Fisher and Fischer are named for blacksmith, fisherman and fisherman
blacksmith fisherman fisherman
action union
action filter_type
action find
entity Smith
relation named after
type occupation
action filter_type
action find
entity Fisher
relation named after
type occupation
action filter_type
action find
entity Fischer
relation named after
type occupation
['Smith', 'named after', {'concept': 'occupation'}] ['Fisher', 'named after', {'concept': 'occupation'}] ['Fischer', 'named after', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?h ) { ( resource:Smith ) ( resource:Fisher ) } . ?h property:named_after ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1158446
P407
Q34770
USER
Which language is Smith in ?
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q1158446 property:P407 ?w . ?w rdf:type ontology:Q34770 }
Smith
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Smith property:language_of_work_or_name ?w . ?w rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
Smith is in the [ANSWER]
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q1158446 property:P407 ?w . ?w rdf:type ontology:Q34770 }
English
Smith is in the English
English
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Smith property:language_of_work_or_name ?w . ?w rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P2439
Q1969448
USER
Which terms have an association with the language that one ?
(c(Q1969448),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1969448
[{'concept': 'Q1969448'}, 'P2439', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P2439 resource:Q1860 . ?z rdf:type ontology:Q1969448 }
English
action filter_type
action find_reverse
entity English
relation language
type term
[{'concept': 'term'}, 'language', 'English']
SELECT DISTINCT ?z WHERE { ?z property:language resource:English . ?z rdf:type ontology:term }
[]
term
Q5324750 Q6720315 Q5975490
SYSTEM
EZFW, MXlo, IVOD
Q5324750 Q6720315 Q5975490 Q6107784 Q5324036 Q4651853 Q5204450 Q4836877 Q1778314 Q5635995 Q5315751 Q5971975 Q4668674 Q5204677 Q4654708
(c(Q1969448),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1969448
[ANSWERS] have an association with the language that one
[{'concept': 'Q1969448'}, 'P2439', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P2439 resource:Q1860 . ?z rdf:type ontology:Q1969448 }
EZFW MXlo IVOD JBOB ERFx AIDR DBrn BYOA PSAM HSPF Dunt IMD3 Abox DDLC ATLO
EZFW, MXlo and IVOD have an association with the language that one
EZFW MXlo IVOD
action filter_type
action find_reverse
entity English
relation language
type term
[{'concept': 'term'}, 'language', 'English']
SELECT DISTINCT ?z WHERE { ?z property:language resource:English . ?z rdf:type ontology:term }
[]