Simple Question (Direct)
Simple Question
Q66631
P135
Q2198855
USER
Which cultural movement did Konrad of Megenberg belong to
(Q66631,P135,c(Q2198855))
action filter_type
action find
entity Q66631
relation P135
type Q2198855
['Q66631', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2198855 . resource:Q66631 property:P135 ?m }
Konrad of Megenberg
action filter_type
action find
entity Konrad of Megenberg
relation movement
type cultural movement
['Konrad of Megenberg', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:cultural_movement . resource:Konrad_of_Megenberg property:movement ?m }
[]
cultural movement
Q2455000
SYSTEM
German Renaissance
Q2455000
(Q66631,P135,c(Q2198855))
action filter_type
action find
entity Q66631
relation P135
type Q2198855
Konrad of Megenberg belonged to [ANSWER]
['Q66631', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q2198855 . resource:Q66631 property:P135 ?m }
German Renaissance
Konrad of Megenberg belonged to German Renaissance
German Renaissance
action filter_type
action find
entity Konrad of Megenberg
relation movement
type cultural movement
['Konrad of Megenberg', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:cultural_movement . resource:Konrad_of_Megenberg property:movement ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q66631
P1412
Q34770
USER
Which language does that person speak in ?
(Q2455000,P1412,c(Q34770))
action filter_type
action find
entity Q66631
relation P1412
type Q34770
['Q2455000', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q66631 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Konrad of Megenberg
action filter_type
action find
entity Konrad of Megenberg
relation languages spoken, written or signed
type language
['German Renaissance', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Konrad_of_Megenberg property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q2455000,P1412,c(Q34770))
action filter_type
action find
entity Q66631
relation P1412
type Q34770
That person speaks a [ANSWER]
['Q2455000', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q66631 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Latin
That person speaks a Latin
Latin
action filter_type
action find
entity Konrad of Megenberg
relation languages spoken, written or signed
type language
['German Renaissance', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Konrad_of_Megenberg property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q66631
P106
Q12737077
USER
What are the professions of that person ?
(Q397,P106,c(Q12737077))
action filter_type
action find
entity Q66631
relation P106
type Q12737077
['Q397', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q66631 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Konrad of Megenberg
action filter_type
action find
entity Konrad of Megenberg
relation occupation
type occupation
['Latin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Konrad_of_Megenberg property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q3055126 Q36180
SYSTEM
entomologist, writer
Q3055126 Q36180
(Q397,P106,c(Q12737077))
action filter_type
action find
entity Q66631
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q397', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q66631 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
entomologist writer
The professions of that person are entomologist and writer
entomologist writer
action filter_type
action find
entity Konrad of Megenberg
relation occupation
type occupation
['Latin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Konrad_of_Megenberg property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4687888 Q2455000
P17
Q1048835
USER
Which political territories are German Renaissance or Aeolus Valley situated in ?
OR((Q2455000,P17,c(Q1048835)), (Q4687888,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q2455000
relation P17
action find
entity Q4687888
relation P17
type Q1048835
{'OR': [['Q2455000', 'P17', {'concept': 'Q1048835'}], ['Q4687888', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2455000 property:P17 ?u } UNION { resource:Q4687888 property:P17 ?u } } . ?u rdf:type ontology:Q1048835 }
Aeolus Valley German Renaissance
action filter_type
action union
action find
entity German Renaissance
relation country
action find
entity Aeolus Valley
relation country
type political territorial entity
{'OR': [['German Renaissance', 'country', {'concept': 'political territorial entity'}], ['Aeolus Valley', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:German_Renaissance property:country ?u } UNION { resource:Aeolus_Valley property:country ?u } } . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q766 Q183
SYSTEM
Jamaica, Germany
Q766 Q183
OR((Q2455000,P17,c(Q1048835)), (Q4687888,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q2455000
relation P17
action find
entity Q4687888
relation P17
type Q1048835
German Renaissance or Aeolus Valley are situated in [ANSWERS]
{'OR': [['Q2455000', 'P17', {'concept': 'Q1048835'}], ['Q4687888', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2455000 property:P17 ?u } UNION { resource:Q4687888 property:P17 ?u } } . ?u rdf:type ontology:Q1048835 }
Jamaica Germany
German Renaissance or Aeolus Valley are situated in Jamaica and Germany
Jamaica Germany
action filter_type
action union
action find
entity German Renaissance
relation country
action find
entity Aeolus Valley
relation country
type political territorial entity
{'OR': [['German Renaissance', 'country', {'concept': 'political territorial entity'}], ['Aeolus Valley', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:German_Renaissance property:country ?u } UNION { resource:Aeolus_Valley property:country ?u } } . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q766 Q183
P35
Q502895
USER
Which people are the heads of state of those political territories ?
(Q766,P35,c(Q502895)) (Q183,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
['Q766', 'P35', {'concept': 'Q502895'}] ['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?d property:P35 ?u . VALUES ( ?d ) { ( resource:Q766 ) ( resource:Q183 ) } }
Jamaica Germany
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Jamaica', 'head of state', {'concept': 'common name'}] ['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?d property:head_of_state ?u . VALUES ( ?d ) { ( resource:Jamaica ) ( resource:Germany ) } }
[]
common name
Q2567 Q9682 Q2571
SYSTEM
Richard von Weizsäcker, Elizabeth II, Walter Scheel
Q9682 Q2569 Q2594 Q2538 Q2573 Q2563 Q2571 Q2567 Q2551 Q2542 Q2540 Q2582
(Q766,P35,c(Q502895)) (Q183,P35,c(Q502895))
action filter_type
action find
entity prev_answer
relation P35
type Q502895
[ANSWERS] are the heads of state of those political territories
['Q766', 'P35', {'concept': 'Q502895'}] ['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?d property:P35 ?u . VALUES ( ?d ) { ( resource:Q766 ) ( resource:Q183 ) } }
Elizabeth II Karl Carstens Theodor Heuss Joachim Gauck Gustav Heinemann Roman Herzog Walter Scheel Richard von Weizsäcker Johannes Rau Horst Köhler Christian Wulff Heinrich Lübke
Richard von Weizsäcker, Elizabeth II and Walter Scheel are the heads of state of those political territories
Richard von Weizsäcker Elizabeth II Walter Scheel
action filter_type
action find
entity prev_answer
relation head of state
type common name
['Jamaica', 'head of state', {'concept': 'common name'}] ['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?d property:head_of_state ?u . VALUES ( ?d ) { ( resource:Jamaica ) ( resource:Germany ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2567
P26
Q502895
USER
Which person is married to Richard von Weizsäcker ?
(Q2567,P26,c(Q502895))
action filter_type
action find
entity Q2567
relation P26
type Q502895
['Q2567', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q2567 property:P26 ?s }
Richard von Weizsäcker
action filter_type
action find
entity Richard von Weizsäcker
relation spouse
type common name
['Richard von Weizsäcker', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Richard_von_Weizsäcker property:spouse ?s }
[]
common name
Q77960
SYSTEM
Marianne von Weizsäcker
Q77960
(Q2567,P26,c(Q502895))
action filter_type
action find
entity Q2567
relation P26
type Q502895
In [ANSWER] is married to Richard von Weizsäcker
['Q2567', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q2567 property:P26 ?s }
Marianne von Weizsäcker
In Marianne von Weizsäcker is married to Richard von Weizsäcker
Marianne von Weizsäcker
action filter_type
action find
entity Richard von Weizsäcker
relation spouse
type common name
['Richard von Weizsäcker', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Richard_von_Weizsäcker property:spouse ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q77960 Q45885 Q2703243
P27
Q1048835
USER
Is that person a citizen of Seixo Amarelo and San Miguel de Chaccrapampa District ?
(Q77960,P27,Q45885) (Q77960,P27,Q2703243)
action is_in
entity Q77960
action intersection
action find_reverse
entity Q45885
relation P27
action find_reverse
entity Q2703243
relation P27
['Q77960', 'P27', 'Q45885'] ['Q77960', 'P27', 'Q2703243']
ASK WHERE { resource:Q77960 property:P27 resource:Q45885 . resource:Q77960 property:P27 resource:Q2703243 }
Marianne von Weizsäcker Seixo Amarelo San Miguel de Chaccrapampa District
action is_in
entity Marianne von Weizsäcker
action intersection
action find_reverse
entity Seixo Amarelo
relation country of citizenship
action find_reverse
entity San Miguel de Chaccrapampa District
relation country of citizenship
['Marianne von Weizsäcker', 'country of citizenship', 'Seixo Amarelo'] ['Marianne von Weizsäcker', 'country of citizenship', 'San Miguel de Chaccrapampa District']
ASK WHERE { resource:Marianne_von_Weizsäcker property:country_of_citizenship resource:Seixo_Amarelo . resource:Marianne_von_Weizsäcker property:country_of_citizenship resource:San_Miguel_de_Chaccrapampa_District }
[]
political territorial entity
SYSTEM
NO
(Q77960,P27,Q45885) (Q77960,P27,Q2703243)
action is_in
entity Q77960
action intersection
action find_reverse
entity Q45885
relation P27
action find_reverse
entity Q2703243
relation P27
[ANSWER]
['Q77960', 'P27', 'Q45885'] ['Q77960', 'P27', 'Q2703243']
ASK WHERE { resource:Q77960 property:P27 resource:Q45885 . resource:Q77960 property:P27 resource:Q2703243 }
No
action is_in
entity Marianne von Weizsäcker
action intersection
action find_reverse
entity Seixo Amarelo
relation country of citizenship
action find_reverse
entity San Miguel de Chaccrapampa District
relation country of citizenship
['Marianne von Weizsäcker', 'country of citizenship', 'Seixo Amarelo'] ['Marianne von Weizsäcker', 'country of citizenship', 'San Miguel de Chaccrapampa District']
ASK WHERE { resource:Marianne_von_Weizsäcker property:country_of_citizenship resource:Seixo_Amarelo . resource:Marianne_von_Weizsäcker property:country_of_citizenship resource:San_Miguel_de_Chaccrapampa_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2571 Q7405733
P607
Q198
USER
Did Walter Scheel take part in Salpa Line Museum ?
(Q2571,P607,Q7405733)
action is_in
entity Q7405733
action find
entity Q2571
relation P607
['Q2571', 'P607', 'Q7405733']
ASK WHERE { resource:Q2571 property:P607 resource:Q7405733 }
Walter Scheel Salpa Line Museum
action is_in
entity Salpa Line Museum
action find
entity Walter Scheel
relation conflict
['Walter Scheel', 'conflict', 'Salpa Line Museum']
ASK WHERE { resource:Walter_Scheel property:conflict resource:Salpa_Line_Museum }
[]
war
SYSTEM
NO
(Q2571,P607,Q7405733)
action is_in
entity Q7405733
action find
entity Q2571
relation P607
[ANSWER]
['Q2571', 'P607', 'Q7405733']
ASK WHERE { resource:Q2571 property:P607 resource:Q7405733 }
No
action is_in
entity Salpa Line Museum
action find
entity Walter Scheel
relation conflict
['Walter Scheel', 'conflict', 'Salpa Line Museum']
ASK WHERE { resource:Walter_Scheel property:conflict resource:Salpa_Line_Museum }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q766
P840 P495
Q838948
USER
Which works of art have their narrative set in Jamaica and have United States of America as their place of origin ?
AND((c(Q838948),P840,Q766), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q766
relation P840
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q766'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q766 . ?o property:P495 resource:Q30 . ?o rdf:type ontology:Q838948 }
United States of America Jamaica
action filter_type
action intersection
action find_reverse
entity Jamaica
relation narrative location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Jamaica'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:Jamaica . ?o property:country_of_origin resource:United_States_of_America . ?o rdf:type ontology:work_of_art }
[]
work of art
Q24075 Q1105359 Q6748469 Q512029 Q5151279 Q12127096 Q1425815 Q46717 Q3225632 Q7770044
SYSTEM
Some of them are Godzilla, Cocktail, Manfish, Life and Debt, Come Spy with Me, Reincarnated, Captain Blood, Pirates of the Caribbean: The Curse of the Black Pearl, Swashbuckler, The Treasure of Jamaica Reef
Q478618 Q6748469 Q1425815 Q16954603 Q1105359 Q24075 Q515528 Q512029 Q15039534 Q7770034 Q46717 Q5151279 Q7216 Q282748 Q3225632 Q2090779 Q1216441 Q12127096 Q7770044 Q3762387
AND((c(Q838948),P840,Q766), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q766
relation P840
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have their narrative set in Jamaica and have United States of America as their place of origin
{'AND': [[{'concept': 'Q838948'}, 'P840', 'Q766'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?o WHERE { ?o property:P840 resource:Q766 . ?o property:P495 resource:Q30 . ?o rdf:type ontology:Q838948 }
Clara's Heart Manfish Captain Blood My Scene: Jammin' in Jamaica Cocktail Godzilla The Black Swan Life and Debt The Son of Captain Blood The Treasure Seekers Pirates of the Caribbean: The Curse of the Black Pearl Come Spy with Me Pirates II: Stagnetti's Revenge Cool Runnings Swashbuckler How Stella Got Her Groove Back City Beneath the Sea Reincarnated The Treasure of Jamaica Reef Jamaica Run
Godzilla, Cocktail, Manfish, Life and Debt, Come Spy with Me, Reincarnated, Captain Blood, Pirates of the Caribbean: The Curse of the Black Pearl, Swashbuckler and The Treasure of Jamaica Reef have their narrative set in Jamaica and have United States of America as their place of origin
Godzilla Cocktail Manfish Life and Debt Come Spy with Me Reincarnated Captain Blood Pirates of the Caribbean: The Curse of the Black Pearl Swashbuckler The Treasure of Jamaica Reef
action filter_type
action intersection
action find_reverse
entity Jamaica
relation narrative location
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'narrative location', 'Jamaica'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?o WHERE { ?o property:narrative_location resource:Jamaica . ?o property:country_of_origin resource:United_States_of_America . ?o rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q1048835 Q83620 Q4830453
USER
How many political territories are the owners of exactly 1 thoroughfares and business enterprises ?
(c(Q83620)|c(Q4830453),P127,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
value 1
[[{'concept': 'Q83620'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q83620 } UNION { ?x property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q4830453 } } GROUP BY ?q } . FILTER ( ?z = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:thoroughfare } UNION { ?x property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:business_enterprise } } GROUP BY ?q } . FILTER ( ?z = 1 ) }
[]
political territorial entity thoroughfare business enterprise
SYSTEM
5
Q192536 Q6139 Q191091 Q6142 Q193307
(c(Q83620)|c(Q4830453),P127,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q83620
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q4830453
value 1
[ANSWER]
[[{'concept': 'Q83620'}, {'concept': 'Q4830453'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q83620 } UNION { ?x property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q4830453 } } GROUP BY ?q } . FILTER ( ?z = 1 ) }
Zlín Region Havelland Karlovy Vary Region Potsdam-Mittelmark Olomouc Region
5
action count
action equal
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type thoroughfare
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type business enterprise
value 1
[[{'concept': 'thoroughfare'}, {'concept': 'business enterprise'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?z ) WHERE { { ?x property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:thoroughfare } UNION { ?x property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:business_enterprise } } GROUP BY ?q } . FILTER ( ?z = 1 ) }
[]