Simple Question (Direct)
Simple Question
Q1699787
P69
Q163740
USER
Which nonprofit organization is John DeWitt an alumni of ?
(Q1699787,P69,c(Q163740))
action filter_type
action find
entity Q1699787
relation P69
type Q163740
['Q1699787', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q1699787 property:P69 ?b . ?b rdf:type ontology:Q163740 }
John DeWitt
action filter_type
action find
entity John DeWitt
relation educated at
type nonprofit organization
['John DeWitt', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:John_DeWitt property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q21578
SYSTEM
Princeton University
Q21578
(Q1699787,P69,c(Q163740))
action filter_type
action find
entity Q1699787
relation P69
type Q163740
The [ANSWER] is John DeWitt an alumni of
['Q1699787', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q1699787 property:P69 ?b . ?b rdf:type ontology:Q163740 }
Princeton University
The Princeton University is John DeWitt an alumni of
Princeton University
action filter_type
action find
entity John DeWitt
relation educated at
type nonprofit organization
['John DeWitt', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:John_DeWitt property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1699787
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q21578,P27,c(Q15617994))
action filter_type
action find
entity Q1699787
relation P27
type Q15617994
['Q21578', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1699787 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
John DeWitt
action filter_type
action find
entity John DeWitt
relation country of citizenship
type designation for an administrative territorial entity
['Princeton University', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_DeWitt property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q21578,P27,c(Q15617994))
action filter_type
action find
entity Q1699787
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q21578', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1699787 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity John DeWitt
relation country of citizenship
type designation for an administrative territorial entity
['Princeton University', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_DeWitt property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q20667921 Q515 Q15617994
USER
Which administrative territories consists of exactly 4 french administrative divisions and cities as their capital ?
(c(Q15617994),P36,c(Q20667921)|c(Q515))
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q515
value 4
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?y = 4 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?k . VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } } GROUP BY ?m } }
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'city'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?y = 4 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } } GROUP BY ?m } }
[]
type of french administrative division city designation for an administrative territorial entity
Q12789
SYSTEM
Var
Q12789
(c(Q15617994),P36,c(Q20667921)|c(Q515))
action equal
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q515
value 4
[ANSWER] consists of exactly 4 french administrative divisions and cities as their capital
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q515'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?y = 4 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?k . VALUES ( ?k ) { ( ontology:Q20667921 ) ( ontology:Q515 ) } } GROUP BY ?m } }
Var
Var consists of exactly 4 french administrative divisions and cities as their capital
Var
action equal
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
value 4
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'city'}]]
SELECT DISTINCT ?m WHERE { FILTER ( ?y = 4 ) . { SELECT DISTINCT ?m ( COUNT ( ?c ) AS ?y ) WHERE { ?c rdf:type ?k . VALUES ( ?k ) { ( ontology:type_of_french_administrative_division ) ( ontology:city ) } } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P6
Q502895
USER
Who are the heads of the government of United States of America ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q30 property:P6 ?h }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:United_States_of_America property:head_of_government ?h }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
The heads of the government of United States of America are President [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q30 property:P6 ?h }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
The heads of the government of United States of America are President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:United_States_of_America property:head_of_government ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P734
Q82799
USER
Who is associated with Donald Trump ?
(Q22686,P734,c(Q82799))
action filter_type
action find
entity Q22686
relation P734
type Q82799
['Q22686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q22686 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Donald Trump
action filter_type
action find
entity Donald Trump
relation family name
type name
['Donald Trump', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Donald_Trump property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q16944413
SYSTEM
Trump
Q16944413
(Q22686,P734,c(Q82799))
action filter_type
action find
entity Q22686
relation P734
type Q82799
[ANSWER] is associated with Donald [ANSWER]
['Q22686', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q22686 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Trump
Trump is associated with Donald Trump
Trump
action filter_type
action find
entity Donald Trump
relation family name
type name
['Donald Trump', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Donald_Trump property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11596513
Q82799
USER
And what about Masami Inagaki?
(Q11596513,P734,c(Q82799))
action filter_type
action find
entity Q11596513
relation P734
type Q82799
['Q11596513', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . resource:Q11596513 property:P734 ?e }
Masami Inagaki
action filter_type
action find
entity Masami Inagaki
relation family name
type name
['Masami Inagaki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . resource:Masami_Inagaki property:family_name ?e }
[]
name
Q21450875
SYSTEM
Inagaki
Q21450875
(Q11596513,P734,c(Q82799))
action filter_type
action find
entity Q11596513
relation P734
type Q82799
[ANSWER]
['Q11596513', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . resource:Q11596513 property:P734 ?e }
Inagaki
Inagaki
action filter_type
action find
entity Masami Inagaki
relation family name
type name
['Masami Inagaki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . resource:Masami_Inagaki property:family_name ?e }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21450875 Q10525459
P734
Q502895
USER
Does Inagaki Motoyoshi have that one as their family name ?
(Q10525459,P734,Q21450875)
action is_in
entity Q21450875
action find
entity Q10525459
relation P734
['Q10525459', 'P734', 'Q21450875']
ASK WHERE { resource:Q10525459 property:P734 resource:Q21450875 }
Inagaki Inagaki Motoyoshi
action is_in
entity Inagaki
action find
entity Inagaki Motoyoshi
relation family name
['Inagaki Motoyoshi', 'family name', 'Inagaki']
ASK WHERE { resource:Inagaki_Motoyoshi property:family_name resource:Inagaki }
[]
common name
SYSTEM
YES
(Q10525459,P734,Q21450875)
action is_in
entity Q21450875
action find
entity Q10525459
relation P734
[ANSWER]
['Q10525459', 'P734', 'Q21450875']
ASK WHERE { resource:Q10525459 property:P734 resource:Q21450875 }
Yes
action is_in
entity Inagaki
action find
entity Inagaki Motoyoshi
relation family name
['Inagaki Motoyoshi', 'family name', 'Inagaki']
ASK WHERE { resource:Inagaki_Motoyoshi property:family_name resource:Inagaki }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for min number of names ?
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { ?i rdf:type ontology:Q34770 . ?t rdf:type ontology:Q82799 . ?t property:P407 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P407 ?b . ?b rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?b } . FILTER ( ?a = ?k ) }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { ?i rdf:type ontology:language . ?t rdf:type ontology:name . ?t property:language_of_work_or_name ?i } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?b } . FILTER ( ?a = ?k ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWERS] are the languages of work for min number of names
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { ?i rdf:type ontology:Q34770 . ?t rdf:type ontology:Q82799 . ?t property:P407 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P407 ?b . ?b rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?b } . FILTER ( ?a = ?k ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for min number of names
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?k ) { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?r ) WHERE { ?i rdf:type ontology:language . ?t rdf:type ontology:name . ?t property:language_of_work_or_name ?i } GROUP BY ?i } } . { SELECT DISTINCT ?b ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?b } . FILTER ( ?a = ?k ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q35726
P1412
Q502895
USER
Which people speaks that language ?
(c(Q502895),P1412,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P1412 resource:Q35726 }
Etruscan
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:languages_spoken,_written_or_signed resource:Etruscan }
[]
common name
Clarification for simple ques.
Q35499
SYSTEM
Did you mean Old Church Slavonic ?
Q447117 Q35499 Q35726
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P1412 resource:Q35726 }
Old Egyptian Old Church Slavonic Etruscan
Did you mean Old Church Slavonic ?
Old Church Slavonic
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:languages_spoken,_written_or_signed resource:Etruscan }
[]
Simple Question (Coreferenced)
USER
No, I meant Etruscan. Could you tell me the answer for that?
(c(Q502895),P1412,Q35726)
Q35726
[{'concept': 'Q502895'}, 'P1412', 'Q35726']
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
[]
Q2874426 Q3564047 Q21580476
SYSTEM
Avie Spurinna, Velia Spurinna, Unknown brother of Velthur Spurinna
Q3420417 Q385810 Q3564047 Q21580468 Q21580487 Q3523507 Q21584309 Q21584304 Q21584282 Q2874426 Q21580476
(c(Q502895),P1412,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[ANSWERS] speak that language
[{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?r property:P1412 resource:Q35726 }
Ravnthu Thefrinai Lars Tolumnius Velia Spurinna Larth Spurinna Arnth Velcha Thefarie Velianas Laris Partunus Velthur Partunus Lars Pulena Avie Spurinna Unknown brother of Velthur Spurinna
Avie Spurinna, Velia Spurinna and Unknown brother of Velthur Spurinna speak that language
Avie Spurinna Velia Spurinna Unknown brother of Velthur Spurinna
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?r property:languages_spoken,_written_or_signed resource:Etruscan }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2874426 Q3564047 Q21580476
P40
Q502895
USER
Whose child are Avie Spurinna, Velia Spurinna and Unknown brother of Velthur Spurinna ?
(c(Q502895),P40,Q2874426) (c(Q502895),P40,Q3564047) (c(Q502895),P40,Q21580476)
action union
action filter_type
action find_reverse
entity Q2874426
relation P40
type Q502895
action filter_type
action find_reverse
entity Q3564047
relation P40
type Q502895
action filter_type
action find_reverse
entity Q21580476
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2874426'] [{'concept': 'Q502895'}, 'P40', 'Q3564047'] [{'concept': 'Q502895'}, 'P40', 'Q21580476']
SELECT DISTINCT ?w WHERE { { ?w property:P40 resource:Q2874426 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P40 resource:Q3564047 . ?w rdf:type ontology:Q502895 } }
Avie Spurinna Velia Spurinna Unknown brother of Velthur Spurinna
action union
action filter_type
action find_reverse
entity Avie Spurinna
relation child
type common name
action filter_type
action find_reverse
entity Velia Spurinna
relation child
type common name
action filter_type
action find_reverse
entity Unknown brother of Velthur Spurinna
relation child
type common name
[{'concept': 'common name'}, 'child', 'Avie Spurinna'] [{'concept': 'common name'}, 'child', 'Velia Spurinna'] [{'concept': 'common name'}, 'child', 'Unknown brother of Velthur Spurinna']
SELECT DISTINCT ?w WHERE { { ?w property:child resource:Avie_Spurinna . ?w rdf:type ontology:common_name } UNION { ?w property:child resource:Velia_Spurinna . ?w rdf:type ontology:common_name } }
[]
common name
Q21580476 Q21580476 Q21580468
SYSTEM
Larth Spurinna for 3rd, Unknown brother of Velthur Spurinna for 1st, 2nd
Q21580476 Q21580476 Q21580468
(c(Q502895),P40,Q2874426) (c(Q502895),P40,Q3564047) (c(Q502895),P40,Q21580476)
action union
action filter_type
action find_reverse
entity Q2874426
relation P40
type Q502895
action filter_type
action find_reverse
entity Q3564047
relation P40
type Q502895
action filter_type
action find_reverse
entity Q21580476
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q2874426'] [{'concept': 'Q502895'}, 'P40', 'Q3564047'] [{'concept': 'Q502895'}, 'P40', 'Q21580476']
SELECT DISTINCT ?w WHERE { { ?w property:P40 resource:Q2874426 . ?w rdf:type ontology:Q502895 } UNION { ?w property:P40 resource:Q3564047 . ?w rdf:type ontology:Q502895 } }
Unknown brother of Velthur Spurinna Unknown brother of Velthur Spurinna Larth Spurinna
Unknown brother of Velthur Spurinna, Unknown brother of Velthur Spurinna and Larth Spurinna are Avie Spurinna, Velia Spurinna and Unknown brother of Velthur Spurinna
Unknown brother of Velthur Spurinna Unknown brother of Velthur Spurinna Larth Spurinna
action union
action filter_type
action find_reverse
entity Avie Spurinna
relation child
type common name
action filter_type
action find_reverse
entity Velia Spurinna
relation child
type common name
action filter_type
action find_reverse
entity Unknown brother of Velthur Spurinna
relation child
type common name
[{'concept': 'common name'}, 'child', 'Avie Spurinna'] [{'concept': 'common name'}, 'child', 'Velia Spurinna'] [{'concept': 'common name'}, 'child', 'Unknown brother of Velthur Spurinna']
SELECT DISTINCT ?w WHERE { { ?w property:child resource:Avie_Spurinna . ?w rdf:type ontology:common_name } UNION { ?w property:child resource:Velia_Spurinna . ?w rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21580476
P7
Q502895
USER
Who has that one as their sibling ?
(c(Q502895),P7,Q21580476)
action filter_type
action find
entity Q21580476
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q21580476']
SELECT DISTINCT ?k WHERE { resource:Q21580476 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Unknown brother of Velthur Spurinna
action filter_type
action find
entity Unknown brother of Velthur Spurinna
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Unknown brother of Velthur Spurinna']
SELECT DISTINCT ?k WHERE { resource:Unknown_brother_of_Velthur_Spurinna property:brother ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q21580468
SYSTEM
Did you mean Larth Spurinna ?
Q21580476 Q21580476 Q21580468
(c(Q502895),P7,Q21580476) (c(Q502895),P7,Q21580476) (c(Q502895),P7,Q21580468)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q21580476'] [{'concept': 'Q502895'}, 'P7', 'Q21580476'] [{'concept': 'Q502895'}, 'P7', 'Q21580468']
SELECT DISTINCT ?k WHERE { resource:Q21580476 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Unknown brother of Velthur Spurinna Unknown brother of Velthur Spurinna Larth Spurinna
Did you mean Larth Spurinna ?
Larth Spurinna
[{'concept': 'common name'}, 'brother', 'Unknown brother of Velthur Spurinna'] [{'concept': 'common name'}, 'brother', 'Unknown brother of Velthur Spurinna'] [{'concept': 'common name'}, 'brother', 'Larth Spurinna']
SELECT DISTINCT ?k WHERE { resource:Unknown_brother_of_Velthur_Spurinna property:brother ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Unknown brother of Velthur Spurinna. Could you tell me the answer for that?
(c(Q502895),P7,Q21580476)
Q21580476
[{'concept': 'Q502895'}, 'P7', 'Q21580476']
[{'concept': 'common name'}, 'brother', 'Unknown brother of Velthur Spurinna']
[]
Q3555374
SYSTEM
Velthur Spurinna
Q3555374
(c(Q502895),P7,Q21580476)
action filter_type
action find
entity Q21580476
relation P7
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q21580476']
SELECT DISTINCT ?k WHERE { resource:Q21580476 property:P7 ?k . ?k rdf:type ontology:Q502895 }
Velthur Spurinna
Velthur Spurinna has that one as their sibling
Velthur Spurinna
action filter_type
action find
entity Unknown brother of Velthur Spurinna
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Unknown brother of Velthur Spurinna']
SELECT DISTINCT ?k WHERE { resource:Unknown_brother_of_Velthur_Spurinna property:brother ?k . ?k rdf:type ontology:common_name }
[]