Simple Question (Direct)
Simple Question
Q3700838
P86
Q502895
USER
Who composed Dagli Appennini alle Ande ?
(Q3700838,P86,c(Q502895))
action filter_type
action find
entity Q3700838
relation P86
type Q502895
['Q3700838', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q3700838 property:P86 ?q }
Dagli Appennini alle Ande
action filter_type
action find
entity Dagli Appennini alle Ande
relation composer
type common name
['Dagli Appennini alle Ande', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Dagli_Appennini_alle_Ande property:composer ?q }
[]
common name
Q3082360
SYSTEM
Franco Casavola
Q3082360
(Q3700838,P86,c(Q502895))
action filter_type
action find
entity Q3700838
relation P86
type Q502895
[ANSWER] composed Dagli Appennini alle Ande
['Q3700838', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . resource:Q3700838 property:P86 ?q }
Franco Casavola
Franco Casavola composed Dagli Appennini alle Ande
Franco Casavola
action filter_type
action find
entity Dagli Appennini alle Ande
relation composer
type common name
['Dagli Appennini alle Ande', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . resource:Dagli_Appennini_alle_Ande property:composer ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3082360
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q3082360,P20,c(Q56061))
action filter_type
action find
entity Q3082360
relation P20
type Q56061
['Q3082360', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q3082360 property:P20 ?t }
Franco Casavola
action filter_type
action find
entity Franco Casavola
relation place of death
type administrative territorial entity
['Franco Casavola', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Franco_Casavola property:place_of_death ?t }
[]
administrative territorial entity
Q3519
SYSTEM
Bari
Q3519
(Q3082360,P20,c(Q56061))
action filter_type
action find
entity Q3082360
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q3082360', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q3082360 property:P20 ?t }
Bari
Bari is the place of death of that person
Bari
action filter_type
action find
entity Franco Casavola
relation place of death
type administrative territorial entity
['Franco Casavola', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Franco_Casavola property:place_of_death ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3519
P1376
Q15617994
USER
Which administrative territory has that administrative territory as its county seat ?
(Q3519,P1376,c(Q15617994))
action filter_type
action find
entity Q3519
relation P1376
type Q15617994
['Q3519', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3519 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
Bari
action filter_type
action find
entity Bari
relation capital of
type designation for an administrative territorial entity
['Bari', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Bari property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1447
SYSTEM
Apulia
Q1447
(Q3519,P1376,c(Q15617994))
action filter_type
action find
entity Q3519
relation P1376
type Q15617994
[ANSWER] has that administrative territory as its county seat
['Q3519', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3519 property:P1376 ?i . ?i rdf:type ontology:Q15617994 }
Apulia
Apulia has that administrative territory as its county seat
Apulia
action filter_type
action find
entity Bari
relation capital of
type designation for an administrative territorial entity
['Bari', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Bari property:capital_of ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1447 Q1708882
P36
Q56061
USER
Is Patparganj called the capital of that administrative territory ?
(Q1447,P36,Q1708882)
action is_in
entity Q1708882
action find
entity Q1447
relation P36
['Q1447', 'P36', 'Q1708882']
ASK WHERE { resource:Q1447 property:P36 resource:Q1708882 }
Apulia Patparganj
action is_in
entity Patparganj
action find
entity Apulia
relation capital
['Apulia', 'capital', 'Patparganj']
ASK WHERE { resource:Apulia property:capital resource:Patparganj }
[]
administrative territorial entity
SYSTEM
NO
(Q1447,P36,Q1708882)
action is_in
entity Q1708882
action find
entity Q1447
relation P36
[ANSWER]
['Q1447', 'P36', 'Q1708882']
ASK WHERE { resource:Q1447 property:P36 resource:Q1708882 }
No
action is_in
entity Patparganj
action find
entity Apulia
relation capital
['Apulia', 'capital', 'Patparganj']
ASK WHERE { resource:Apulia property:capital resource:Patparganj }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1447
P21 P20
Q502895
USER
Which people have Apulia as the location of death and have the gender as male ?
AND((c(Q502895),P20,Q1447), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1447
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q1447'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P21 resource:Q6581097 . ?b property:P20 resource:Q1447 }
male Apulia
action filter_type
action intersection
action find_reverse
entity Apulia
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Apulia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:gender resource:male . ?b property:place_of_death resource:Apulia }
[]
common name
Q794469 Q3547827 Q333836 Q629482 Q193754 Q559539 Q583465
SYSTEM
Azzo VII d'Este, Ugone da Alatri, Crixus, William of Champlitte, Father Pio, William Iron Arm, Louis, Duke of Durazzo
Q794469 Q3547827 Q333836 Q629482 Q193754 Q559539 Q583465
AND((c(Q502895),P20,Q1447), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1447
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q1447'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P21 resource:Q6581097 . ?b property:P20 resource:Q1447 }
Azzo VII d'Este Ugone da Alatri Crixus William of Champlitte Father Pio William Iron Arm Louis, Duke of Durazzo
Azzo VII d'Este, Ugone da Alatri, Crixus, William of Champlitte, Father Pio, William Iron Arm and Louis, Duke of Durazzo have Apulia as the location of death and have the gender as male
Azzo VII d'Este Ugone da Alatri Crixus William of Champlitte Father Pio William Iron Arm Louis, Duke of Durazzo
action filter_type
action intersection
action find_reverse
entity Apulia
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Apulia'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:gender resource:male . ?b property:place_of_death resource:Apulia }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q1752346 Q11204 Q15617994
USER
Which administrative territories have atmost 2 assemblies or legislatures as their representative body ?
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action atmost
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 2
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?r WHERE { ?q rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?r } . FILTER ( ?c <= 2 ) }
action atmost
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?r WHERE { ?q rdf:type ?n . VALUES ( ?n ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?r } . FILTER ( ?c <= 2 ) }
[]
assembly legislature designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q2806757 Q414 Q142 Q55 Q1948 Q145 Q148 Q189 Q786 Q710 Q717 Q252320 Q187035 Q1460 Q3361 Q657 Q258 Q1979 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q153529 Q1965 Q12761 Q242 Q244 Q1974 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q2009 Q2007 Q184 Q2003 Q1458 Q1904 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q1989 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q212 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q694594 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1011 Q1243 Q1013 Q12620 Q12626 Q672 Q176 Q1951 Q1952 Q2023 Q869 Q1237
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action atmost
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 2
[ANSWERS] have atmost 2 assemblies or legislatures as their representative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?r WHERE { ?q rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?r } . FILTER ( ?c <= 2 ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India 105 Mile Post Indian Reserve No. 2 Argentina France Netherlands Manitoba United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Pleinfeld Principality of Albania Sicily Doubs Chad South Africa Prince Edward Island Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret Duchy of Milan New Brunswick Seine-Saint-Denis Belize Barbados British Columbia Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Yukon Northwest Territories Belarus Newfoundland and Labrador Calabria Ontario Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Saskatchewan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Cape Verde Veneto Lesotho Mayenne Meurthe-et-Moselle Tuvalu Quebec Alberta Nova Scotia Nunavut Thailand Trentino-South Tyrol
Italy, Brazil and United States of America have atmost 2 assemblies or legislatures as their representative body
Italy Brazil United States of America
action atmost
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) ?r WHERE { ?q rdf:type ?n . VALUES ( ?n ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?r } . FILTER ( ?c <= 2 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1667632
P17
Q484652
USER
Are Mechanism for International Criminal Tribunals located in those administrative territories ?
(Q1667632,P17,Q38) (Q1667632,P17,Q155) (Q1667632,P17,Q30)
action is_in
entity prev_answer
action find
entity Q1667632
relation P17
['Q1667632', 'P17', 'Q38'] ['Q1667632', 'P17', 'Q155'] ['Q1667632', 'P17', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q1667632 property:P17 ?g }
Mechanism for International Criminal Tribunals
action is_in
entity prev_answer
action find
entity Mechanism for International Criminal Tribunals
relation country
['Mechanism for International Criminal Tribunals', 'country', 'Italy'] ['Mechanism for International Criminal Tribunals', 'country', 'Brazil'] ['Mechanism for International Criminal Tribunals', 'country', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Mechanism_for_International_Criminal_Tribunals property:country ?g }
[]
international organization
SYSTEM
NO
(Q1667632,P17,Q38) (Q1667632,P17,Q155) (Q1667632,P17,Q30)
action is_in
entity prev_answer
action find
entity Q1667632
relation P17
[ANSWER]
['Q1667632', 'P17', 'Q38'] ['Q1667632', 'P17', 'Q155'] ['Q1667632', 'P17', 'Q30']
ASK WHERE { VALUES ( ?g ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q1667632 property:P17 ?g }
No
action is_in
entity prev_answer
action find
entity Mechanism for International Criminal Tribunals
relation country
['Mechanism for International Criminal Tribunals', 'country', 'Italy'] ['Mechanism for International Criminal Tribunals', 'country', 'Brazil'] ['Mechanism for International Criminal Tribunals', 'country', 'United States of America']
ASK WHERE { VALUES ( ?g ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Mechanism_for_International_Criminal_Tribunals property:country ?g }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3439815 Q38
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy and are Šipek present in ?
AND((Q38,P530,c(Q15617994)), (Q3439815,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3439815
relation P17
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3439815', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q38 property:P530 ?c . resource:Q3439815 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Šipek Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Šipek
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Šipek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Italy property:diplomatic_relation ?c . resource:Šipek property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q215
SYSTEM
Slovenia
Q215
AND((Q38,P530,c(Q15617994)), (Q3439815,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3439815
relation P17
type Q15617994
[ANSWER] holds diplomatic relationship with Italy and are Šipek present in
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3439815', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q38 property:P530 ?c . resource:Q3439815 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Slovenia
Slovenia holds diplomatic relationship with Italy and are Šipek present in
Slovenia
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Šipek
relation country
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Šipek', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:Italy property:diplomatic_relation ?c . resource:Šipek property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4818424 Q193754
P19
Q15617994
USER
Which administrative territories were Father Pio or Attila Pintér born at ?
OR((Q193754,P19,c(Q15617994)), (Q4818424,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q193754
relation P19
action find
entity Q4818424
relation P19
type Q15617994
{'OR': [['Q193754', 'P19', {'concept': 'Q15617994'}], ['Q4818424', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { ?j property:P19 ?t . VALUES ( ?j ) { ( resource:Q4818424 ) ( resource:Q193754 ) } } }
Attila Pintér Father Pio
action filter_type
action union
action find
entity Father Pio
relation place of birth
action find
entity Attila Pintér
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Father Pio', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Attila Pintér', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?j property:place_of_birth ?t . VALUES ( ?j ) { ( resource:Attila_Pintér ) ( resource:Father_Pio ) } } }
[]
designation for an administrative territorial entity
Q28 Q13437
SYSTEM
Hungary, Benevento
Q28 Q13437
OR((Q193754,P19,c(Q15617994)), (Q4818424,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q193754
relation P19
action find
entity Q4818424
relation P19
type Q15617994
Father Pio or Attila Pintér were born in [ANSWERS]
{'OR': [['Q193754', 'P19', {'concept': 'Q15617994'}], ['Q4818424', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { ?j property:P19 ?t . VALUES ( ?j ) { ( resource:Q4818424 ) ( resource:Q193754 ) } } }
Hungary Benevento
Father Pio or Attila Pintér were born in Hungary and Benevento
Hungary Benevento
action filter_type
action union
action find
entity Father Pio
relation place of birth
action find
entity Attila Pintér
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Father Pio', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Attila Pintér', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?j property:place_of_birth ?t . VALUES ( ?j ) { ( resource:Attila_Pintér ) ( resource:Father_Pio ) } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q28 Q13437
P159
Q43229
USER
Which organizations have the principal seat at Hungary and Benevento ?
(c(Q43229),P159,Q28) (c(Q43229),P159,Q13437)
action union
action filter_type
action find_reverse
entity Q28
relation P159
type Q43229
action filter_type
action find_reverse
entity Q13437
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q28'] [{'concept': 'Q43229'}, 'P159', 'Q13437']
SELECT DISTINCT ?c WHERE { { ?c property:P159 resource:Q28 . ?c rdf:type ontology:Q43229 } UNION { ?c property:P159 resource:Q13437 . ?c rdf:type ontology:Q43229 } }
Hungary Benevento
action union
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type organization
action filter_type
action find_reverse
entity Benevento
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Hungary'] [{'concept': 'organization'}, 'headquarters location', 'Benevento']
SELECT DISTINCT ?c WHERE { { ?c property:headquarters_location resource:Hungary . ?c rdf:type ontology:organization } UNION { ?c property:headquarters_location resource:Benevento . ?c rdf:type ontology:organization } }
[]
organization
Q3856975 Q988464 Q3601034
SYSTEM
Microgame, Eidos Hungary, M Cure
Q5173481 Q988464 Q1241536 Q3856975 Q3601034
(c(Q43229),P159,Q28) (c(Q43229),P159,Q13437)
action union
action filter_type
action find_reverse
entity Q28
relation P159
type Q43229
action filter_type
action find_reverse
entity Q13437
relation P159
type Q43229
[ANSWERS] have the principal seat at Hungary and Benevento
[{'concept': 'Q43229'}, 'P159', 'Q28'] [{'concept': 'Q43229'}, 'P159', 'Q13437']
SELECT DISTINCT ?c WHERE { { ?c property:P159 resource:Q28 . ?c rdf:type ontology:Q43229 } UNION { ?c property:P159 resource:Q13437 . ?c rdf:type ontology:Q43229 } }
Corvus Hungary LLC Eidos Hungary Puli Space Technologies Microgame M Cure
Microgame, Eidos Hungary and M Cure have the principal seat at Hungary and Benevento
Microgame Eidos Hungary M Cure
action union
action filter_type
action find_reverse
entity Hungary
relation headquarters location
type organization
action filter_type
action find_reverse
entity Benevento
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Hungary'] [{'concept': 'organization'}, 'headquarters location', 'Benevento']
SELECT DISTINCT ?c WHERE { { ?c property:headquarters_location resource:Hungary . ?c rdf:type ontology:organization } UNION { ?c property:headquarters_location resource:Benevento . ?c rdf:type ontology:organization } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3856975
P740
Q15617994
USER
Where did that organization orginate ?
(Q3856975,P740,c(Q15617994))
action filter_type
action find
entity Q3856975
relation P740
type Q15617994
['Q3856975', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3856975 property:P740 ?u . ?u rdf:type ontology:Q15617994 }
Microgame
action filter_type
action find
entity Microgame
relation location of formation
type designation for an administrative territorial entity
['Microgame', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Microgame property:location_of_formation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3856975
SYSTEM
Did you mean Microgame ?
Q3856975 Q988464 Q3601034
(Q3856975,P740,c(Q15617994)) (Q988464,P740,c(Q15617994)) (Q3601034,P740,c(Q15617994))
[ANSWER]
['Q3856975', 'P740', {'concept': 'Q15617994'}] ['Q988464', 'P740', {'concept': 'Q15617994'}] ['Q3601034', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3856975 property:P740 ?u . ?u rdf:type ontology:Q15617994 }
Microgame Eidos Hungary M Cure
Did you mean Microgame ?
Microgame
['Microgame', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Eidos Hungary', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['M Cure', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Microgame property:location_of_formation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3856975,P740,c(Q15617994))
['Q3856975', 'P740', {'concept': 'Q15617994'}]
['Microgame', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
[]
Q13437
SYSTEM
Benevento
Q13437
(Q3856975,P740,c(Q15617994))
action filter_type
action find
entity Q3856975
relation P740
type Q15617994
That organization orginated in [ANSWER]
['Q3856975', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3856975 property:P740 ?u . ?u rdf:type ontology:Q15617994 }
Benevento
That organization orginated in Benevento
Benevento
action filter_type
action find
entity Microgame
relation location of formation
type designation for an administrative territorial entity
['Microgame', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Microgame property:location_of_formation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q13437 Q220
P190
Q56061
USER
Is Rome twin city of Benevento ?
(Q13437,P190,Q220)
action is_in
entity Q220
action find
entity Q13437
relation P190
['Q13437', 'P190', 'Q220']
ASK WHERE { resource:Q13437 property:P190 resource:Q220 }
Benevento Rome
action is_in
entity Rome
action find
entity Benevento
relation sister city
['Benevento', 'sister city', 'Rome']
ASK WHERE { resource:Benevento property:sister_city resource:Rome }
[]
administrative territorial entity
SYSTEM
YES
(Q13437,P190,Q220)
action is_in
entity Q220
action find
entity Q13437
relation P190
[ANSWER]
['Q13437', 'P190', 'Q220']
ASK WHERE { resource:Q13437 property:P190 resource:Q220 }
Yes
action is_in
entity Rome
action find
entity Benevento
relation sister city
['Benevento', 'sister city', 'Rome']
ASK WHERE { resource:Benevento property:sister_city resource:Rome }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3712893 Q193754
P19
Q15617994
USER
Which administrative territories were Father Pio or Domenico Baccarini born at ?
OR((Q193754,P19,c(Q15617994)), (Q3712893,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q193754
relation P19
action find
entity Q3712893
relation P19
type Q15617994
{'OR': [['Q193754', 'P19', {'concept': 'Q15617994'}], ['Q3712893', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?h property:P19 ?y . VALUES ( ?h ) { ( resource:Q193754 ) ( resource:Q3712893 ) } } . ?y rdf:type ontology:Q15617994 }
Domenico Baccarini Father Pio
action filter_type
action union
action find
entity Father Pio
relation place of birth
action find
entity Domenico Baccarini
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Father Pio', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Domenico Baccarini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?h property:place_of_birth ?y . VALUES ( ?h ) { ( resource:Father_Pio ) ( resource:Domenico_Baccarini ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q52981 Q13437
SYSTEM
Faenza, Benevento
Q52981 Q13437
OR((Q193754,P19,c(Q15617994)), (Q3712893,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q193754
relation P19
action find
entity Q3712893
relation P19
type Q15617994
Father Pio or Domenico Baccarini were born in [ANSWERS]
{'OR': [['Q193754', 'P19', {'concept': 'Q15617994'}], ['Q3712893', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?h property:P19 ?y . VALUES ( ?h ) { ( resource:Q193754 ) ( resource:Q3712893 ) } } . ?y rdf:type ontology:Q15617994 }
Faenza Benevento
Father Pio or Domenico Baccarini were born in Faenza and Benevento
Faenza Benevento
action filter_type
action union
action find
entity Father Pio
relation place of birth
action find
entity Domenico Baccarini
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Father Pio', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Domenico Baccarini', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?h property:place_of_birth ?y . VALUES ( ?h ) { ( resource:Father_Pio ) ( resource:Domenico_Baccarini ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]