Simple Question (Direct)
Simple Question
Q16003845
P1412
Q34770
USER
Which language is spoken by Newland H. Holmes ?
(Q16003845,P1412,c(Q34770))
action filter_type
action find
entity Q16003845
relation P1412
type Q34770
['Q16003845', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q16003845 property:P1412 ?y }
Newland H. Holmes
action filter_type
action find
entity Newland H. Holmes
relation languages spoken, written or signed
type language
['Newland H. Holmes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Newland_H._Holmes property:languages_spoken,_written_or_signed ?y }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16003845,P1412,c(Q34770))
action filter_type
action find
entity Q16003845
relation P1412
type Q34770
Is [ANSWER] is spoken by Newland H. Holmes
['Q16003845', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q16003845 property:P1412 ?y }
English
Is English is spoken by Newland H. Holmes
English
action filter_type
action find
entity Newland H. Holmes
relation languages spoken, written or signed
type language
['Newland H. Holmes', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Newland_H._Holmes property:languages_spoken,_written_or_signed ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16003845
P102
Q7210356
USER
Which party is Newland H. Holmes affiliated with ?
(Q16003845,P102,c(Q7210356))
action filter_type
action find
entity Q16003845
relation P102
type Q7210356
['Q16003845', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q16003845 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Newland H. Holmes
action filter_type
action find
entity Newland H. Holmes
relation member of political party
type political organization
['Newland H. Holmes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Newland_H._Holmes property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q16003845,P102,c(Q7210356))
action filter_type
action find
entity Q16003845
relation P102
type Q7210356
Newland H. Holmes is affiliated with [ANSWER]
['Q16003845', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?p WHERE { resource:Q16003845 property:P102 ?p . ?p rdf:type ontology:Q7210356 }
Republican Party
Newland H. Holmes is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Newland H. Holmes
relation member of political party
type political organization
['Newland H. Holmes', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?p WHERE { resource:Newland_H._Holmes property:member_of_political_party ?p . ?p rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2904656
Q7210356
USER
And how about Yehuda Ben-Meir?
(Q2904656,P102,c(Q7210356))
action filter_type
action find
entity Q2904656
relation P102
type Q7210356
['Q2904656', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q2904656 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
Yehuda Ben-Meir
action filter_type
action find
entity Yehuda Ben-Meir
relation member of political party
type political organization
['Yehuda Ben-Meir', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Yehuda_Ben-Meir property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
political organization
Q1501088
SYSTEM
National Religious Party
Q1501088
(Q2904656,P102,c(Q7210356))
action filter_type
action find
entity Q2904656
relation P102
type Q7210356
[ANSWER]
['Q2904656', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?x WHERE { resource:Q2904656 property:P102 ?x . ?x rdf:type ontology:Q7210356 }
National Religious Party
National Religious Party
action filter_type
action find
entity Yehuda Ben-Meir
relation member of political party
type political organization
['Yehuda Ben-Meir', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?x WHERE { resource:Yehuda_Ben-Meir property:member_of_political_party ?x . ?x rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P102
Q502895
USER
How many people belong to the political party that political organization ?
(c(Q502895),P102,Q1501088)
action count
action filter_type
action find_reverse
entity Q1501088
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q1501088']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P102 resource:Q1501088 . ?s rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity National Religious Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'National Religious Party']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:member_of_political_party resource:National_Religious_Party . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
48
Q2902389 Q1365144 Q2909985 Q2916597 Q8055899 Q2900551 Q2904325 Q2046022 Q2909821 Q2900373 Q2902437 Q263543 Q1711779 Q2910400 Q2890045 Q2581598 Q2915616 Q2900920 Q2904041 Q2904656 Q2079775 Q7183505 Q2910680 Q2909950 Q2901540 Q2910106 Q175792 Q2908959 Q2909390 Q2907245 Q216021 Q2891122 Q2902026 Q2902043 Q2902077 Q47991 Q2901639 Q2900557 Q2777542 Q2900571 Q2901552 Q2900565 Q2907559 Q2900595 Q2906644 Q2902140 Q2901999 Q2910391
(c(Q502895),P102,Q1501088)
action count
action filter_type
action find_reverse
entity Q1501088
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q1501088']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P102 resource:Q1501088 . ?s rdf:type ontology:Q502895 }
Sara Stern-Katan Mordechai Nurock Moshe Unna Shaul Yahalom Yosef Shapira Shabtai Daniel Yitzhak Rafael Michael Hasani Avner Shaki Simcha Friedman David Glass Hanan Porat Yuli-Yoel Edelstein Zevulun Hammer Zerach Warhaftig Zevulun Orlev Haim Drukman Avraham-Yehuda Goldrat Nahum Langental Yehuda Ben-Meir Haim-Moshe Shapira Avraham Yitzchak Stern Aharon Abuhatzira Nissan Slomiansky Ben-Zion Rubin Yitzhak Levy Effi Eitam Daniel-Yitzhak Levy Gila Finkelstein Eliyahu Gabai Yosef Burg Zvi Hendel Binyamin Shahor Tova Sanhadray Aharon-Ya'akov Greenberg Eliezer Avtabi Pinhas Scheinman Shmaryahu Ben-Tzur Avraham Melamed Gershon Shafat Yosef Goldschmidt Shalom-Avraham Shaki Yigal Bibi Moshe Kelmer Shlomo-Yisrael Ben-Meir Frija Zoaretz David Danino Moshe-Zvi Neria
48
action count
action filter_type
action find_reverse
entity National Religious Party
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'National Religious Party']
SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:member_of_political_party resource:National_Religious_Party . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1501088
P159
Q56061
USER
Which administrative territory is the head office of National Religious Party ?
(Q1501088,P159,c(Q56061))
action filter_type
action find
entity Q1501088
relation P159
type Q56061
['Q1501088', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1501088 property:P159 ?h . ?h rdf:type ontology:Q56061 }
National Religious Party
action filter_type
action find
entity National Religious Party
relation headquarters location
type administrative territorial entity
['National Religious Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:National_Religious_Party property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
(Q1501088,P159,c(Q56061))
action filter_type
action find
entity Q1501088
relation P159
type Q56061
[ANSWER] is the head office of National Religious Party
['Q1501088', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1501088 property:P159 ?h . ?h rdf:type ontology:Q56061 }
Jerusalem
Jerusalem is the head office of National Religious Party
Jerusalem
action filter_type
action find
entity National Religious Party
relation headquarters location
type administrative territorial entity
['National Religious Party', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:National_Religious_Party property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q88913 Q1501088
P20 P159
Q56061
USER
Which administrative territories are the headquarters of National Religious Party located and did the demise of Chaim Menachem Rabin occur ?
AND((Q1501088,P159,c(Q56061)), (Q88913,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q1501088
relation P159
action find
entity Q88913
relation P20
type Q56061
{'AND': [['Q1501088', 'P159', {'concept': 'Q56061'}], ['Q88913', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { resource:Q1501088 property:P159 ?l . resource:Q88913 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Chaim Menachem Rabin National Religious Party
action filter_type
action intersection
action find
entity National Religious Party
relation headquarters location
action find
entity Chaim Menachem Rabin
relation place of death
type administrative territorial entity
{'AND': [['National Religious Party', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Chaim Menachem Rabin', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:National_Religious_Party property:headquarters_location ?l . resource:Chaim_Menachem_Rabin property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1218
SYSTEM
Jerusalem
Q1218
AND((Q1501088,P159,c(Q56061)), (Q88913,P20,c(Q56061)))
action filter_type
action intersection
action find
entity Q1501088
relation P159
action find
entity Q88913
relation P20
type Q56061
[ANSWER] is the headquarters of National Religious Party located and did the demise of Chaim Menachem Rabin occur
{'AND': [['Q1501088', 'P159', {'concept': 'Q56061'}], ['Q88913', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { resource:Q1501088 property:P159 ?l . resource:Q88913 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Jerusalem
Jerusalem is the headquarters of National Religious Party located and did the demise of Chaim Menachem Rabin occur
Jerusalem
action filter_type
action intersection
action find
entity National Religious Party
relation headquarters location
action find
entity Chaim Menachem Rabin
relation place of death
type administrative territorial entity
{'AND': [['National Religious Party', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Chaim Menachem Rabin', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { resource:National_Religious_Party property:headquarters_location ?l . resource:Chaim_Menachem_Rabin property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7189473 Q16003845
P27
Q15617994
USER
Which administrative territories do Newland H. Holmes or Phyo Ko Ko Thein belong to ?
OR((Q16003845,P27,c(Q15617994)), (Q7189473,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16003845
relation P27
action find
entity Q7189473
relation P27
type Q15617994
{'OR': [['Q16003845', 'P27', {'concept': 'Q15617994'}], ['Q7189473', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:P27 ?b . VALUES ( ?v ) { ( resource:Q16003845 ) ( resource:Q7189473 ) } } . ?b rdf:type ontology:Q15617994 }
Phyo Ko Ko Thein Newland H. Holmes
action filter_type
action union
action find
entity Newland H. Holmes
relation country of citizenship
action find
entity Phyo Ko Ko Thein
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Newland H. Holmes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Phyo Ko Ko Thein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:country_of_citizenship ?b . VALUES ( ?v ) { ( resource:Newland_H._Holmes ) ( resource:Phyo_Ko_Ko_Thein ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q836
SYSTEM
United States of America, Myanmar
Q30 Q836
OR((Q16003845,P27,c(Q15617994)), (Q7189473,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16003845
relation P27
action find
entity Q7189473
relation P27
type Q15617994
Thein belong to the [ANSWERS]
{'OR': [['Q16003845', 'P27', {'concept': 'Q15617994'}], ['Q7189473', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:P27 ?b . VALUES ( ?v ) { ( resource:Q16003845 ) ( resource:Q7189473 ) } } . ?b rdf:type ontology:Q15617994 }
United States of America Myanmar
Thein belong to the United States of America and Myanmar
United States of America Myanmar
action filter_type
action union
action find
entity Newland H. Holmes
relation country of citizenship
action find
entity Phyo Ko Ko Thein
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Newland H. Holmes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Phyo Ko Ko Thein', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?v property:country_of_citizenship ?b . VALUES ( ?v ) { ( resource:Newland_H._Holmes ) ( resource:Phyo_Ko_Ko_Thein ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1218
P159
Q43229 Q22687
USER
How many organizations and banks have the principal seat at Jerusalem ?
(c(Q43229),P159,Q1218) (c(Q22687),P159,Q1218)
action count
action union
action filter_type
action find_reverse
entity Q1218
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1218
relation P159
type Q22687
[{'concept': 'Q43229'}, 'P159', 'Q1218'] [{'concept': 'Q22687'}, 'P159', 'Q1218']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q22687 ) } }
Jerusalem
action count
action union
action filter_type
action find_reverse
entity Jerusalem
relation headquarters location
type organization
action filter_type
action find_reverse
entity Jerusalem
relation headquarters location
type bank
[{'concept': 'organization'}, 'headquarters location', 'Jerusalem'] [{'concept': 'bank'}, 'headquarters location', 'Jerusalem']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:organization ) ( ontology:bank ) } }
[]
organization bank
SYSTEM
19 organizations and 1 banks
Q6533540 Q6087158 Q7097980 Q6185208 Q580720 Q972095 Q2186466 Q244411 Q18601166 Q4892558 Q6035779 Q286673 Q2907213 Q7703148 Q6554007 Q842834 Q4914627 Q671700 Q2900227 Q2913953
(c(Q43229),P159,Q1218) (c(Q22687),P159,Q1218)
action count
action union
action filter_type
action find_reverse
entity Q1218
relation P159
type Q43229
action filter_type
action find_reverse
entity Q1218
relation P159
type Q22687
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q1218'] [{'concept': 'Q22687'}, 'P159', 'Q1218']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q22687 ) } }
Letter To God Israel Project Ophir Optronics Jerusalem Venture Partners Israel Broadcasting Authority Musalaha Sabeel Ecumenical Liberation Theology Center Bank of Israel Kedem Auction House Berman's Bakery Rami Levy Hashikma Marketing Nefesh B'Nefesh Temple Mount and Eretz Yisrael Faithful Movement Terra Venture Partners Linguistic Agents Ltd. Minicom Advanced Systems BioLineRx Israel Postal Company Bank of Jerusalem Brainsway
19 organizations and 1 banks
action count
action union
action filter_type
action find_reverse
entity Jerusalem
relation headquarters location
type organization
action filter_type
action find_reverse
entity Jerusalem
relation headquarters location
type bank
[{'concept': 'organization'}, 'headquarters location', 'Jerusalem'] [{'concept': 'bank'}, 'headquarters location', 'Jerusalem']
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?k . VALUES ( ?k ) { ( ontology:organization ) ( ontology:bank ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q836
P163
Q14660
USER
What is associated with Myanmar ?
(Q836,P163,c(Q14660))
action filter_type
action find
entity Q836
relation P163
type Q14660
['Q836', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?m WHERE { resource:Q836 property:P163 ?m . ?m rdf:type ontology:Q14660 }
Myanmar
action filter_type
action find
entity Myanmar
relation flag
type flag
['Myanmar', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?m WHERE { resource:Myanmar property:flag ?m . ?m rdf:type ontology:flag }
[]
flag
Q163753
SYSTEM
Flag of Burma
Q163753
(Q836,P163,c(Q14660))
action filter_type
action find
entity Q836
relation P163
type Q14660
Burma [ANSWER] is associated with Myanmar
['Q836', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?m WHERE { resource:Q836 property:P163 ?m . ?m rdf:type ontology:Q14660 }
Flag of Burma
Burma Flag of Burma is associated with Myanmar
Flag of Burma
action filter_type
action find
entity Myanmar
relation flag
type flag
['Myanmar', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?m WHERE { resource:Myanmar property:flag ?m . ?m rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163753
P462
Q1075
USER
What are the colors that that flag are associated with ?
(Q163753,P462,c(Q1075))
action filter_type
action find
entity Q163753
relation P462
type Q1075
['Q163753', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?w WHERE { resource:Q163753 property:P462 ?w . ?w rdf:type ontology:Q1075 }
Flag of Burma
action filter_type
action find
entity Flag of Burma
relation color
type color
['Flag of Burma', 'color', {'concept': 'color'}]
SELECT DISTINCT ?w WHERE { resource:Flag_of_Burma property:color ?w . ?w rdf:type ontology:color }
[]
color
Q943 Q3142 Q3133
SYSTEM
yellow, red, green
Q943 Q3142 Q3133
(Q163753,P462,c(Q1075))
action filter_type
action find
entity Q163753
relation P462
type Q1075
The colors that flag are associated with are [ANSWERS]
['Q163753', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?w WHERE { resource:Q163753 property:P462 ?w . ?w rdf:type ontology:Q1075 }
yellow red green
The colors that flag are associated with are yellow, red and green
yellow red green
action filter_type
action find
entity Flag of Burma
relation color
type color
['Flag of Burma', 'color', {'concept': 'color'}]
SELECT DISTINCT ?w WHERE { resource:Flag_of_Burma property:color ?w . ?w rdf:type ontology:color }
[]