Simple Question (Direct)
Simple Question
Q3320952
P21
Q290
USER
Which sex does Monique Thomassettie possess ?
(Q3320952,P21,c(Q290))
action filter_type
action find
entity Q3320952
relation P21
type Q290
['Q3320952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q3320952 property:P21 ?q }
Monique Thomassettie
action filter_type
action find
entity Monique Thomassettie
relation gender
type sex
['Monique Thomassettie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Monique_Thomassettie property:gender ?q }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3320952,P21,c(Q290))
action filter_type
action find
entity Q3320952
relation P21
type Q290
Monique Thomassettie possesses a [ANSWER]
['Q3320952', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q290 . resource:Q3320952 property:P21 ?q }
female
Monique Thomassettie possesses a female
female
action filter_type
action find
entity Monique Thomassettie
relation gender
type sex
['Monique Thomassettie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:sex . resource:Monique_Thomassettie property:gender ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3320952
P19
Q515
USER
Which city was that person born in ?
(Q6581072,P19,c(Q515))
action filter_type
action find
entity Q3320952
relation P19
type Q515
['Q6581072', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q3320952 property:P19 ?u }
Monique Thomassettie
action filter_type
action find
entity Monique Thomassettie
relation place of birth
type city
['female', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Monique_Thomassettie property:place_of_birth ?u }
[]
city
Q9005
SYSTEM
Brussels
Q9005
(Q6581072,P19,c(Q515))
action filter_type
action find
entity Q3320952
relation P19
type Q515
That person was born in [ANSWER]
['Q6581072', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q515 . resource:Q3320952 property:P19 ?u }
Brussels
That person was born in Brussels
Brussels
action filter_type
action find
entity Monique Thomassettie
relation place of birth
type city
['female', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:city . resource:Monique_Thomassettie property:place_of_birth ?u }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2962134 Q3320952
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Monique Thomassettie and Cheikhou Thioune ?
AND((Q3320952,P27,c(Q15617994)), (Q2962134,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3320952
relation P27
action find
entity Q2962134
relation P27
type Q15617994
{'AND': [['Q3320952', 'P27', {'concept': 'Q15617994'}], ['Q2962134', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3320952 property:P27 ?q . resource:Q2962134 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Cheikhou Thioune Monique Thomassettie
action filter_type
action intersection
action find
entity Monique Thomassettie
relation country of citizenship
action find
entity Cheikhou Thioune
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Monique Thomassettie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cheikhou Thioune', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Monique_Thomassettie property:country_of_citizenship ?q . resource:Cheikhou_Thioune property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q3320952,P27,c(Q15617994)), (Q2962134,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3320952
relation P27
action find
entity Q2962134
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Monique Thomassettie and Cheikhou Thioune
{'AND': [['Q3320952', 'P27', {'concept': 'Q15617994'}], ['Q2962134', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3320952 property:P27 ?q . resource:Q2962134 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
France
France is the countries of citizenship of Monique Thomassettie and Cheikhou Thioune
France
action filter_type
action intersection
action find
entity Monique Thomassettie
relation country of citizenship
action find
entity Cheikhou Thioune
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Monique Thomassettie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Cheikhou Thioune', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:Monique_Thomassettie property:country_of_citizenship ?q . resource:Cheikhou_Thioune property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1712202 Q9005
P190 P937
Q56061
USER
Which administrative territories are partner towns of Brussels and are the work locations of Max Hildebert Boehm ?
AND((Q9005,P190,c(Q56061)), (Q1712202,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q9005
relation P190
action find
entity Q1712202
relation P937
type Q56061
{'AND': [['Q9005', 'P190', {'concept': 'Q56061'}], ['Q1712202', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { resource:Q9005 property:P190 ?j . resource:Q1712202 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Max Hildebert Boehm Brussels
action filter_type
action intersection
action find
entity Brussels
relation sister city
action find
entity Max Hildebert Boehm
relation work location
type administrative territorial entity
{'AND': [['Brussels', 'sister city', {'concept': 'administrative territorial entity'}], ['Max Hildebert Boehm', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Brussels property:sister_city ?j . resource:Max_Hildebert_Boehm property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
AND((Q9005,P190,c(Q56061)), (Q1712202,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q9005
relation P190
action find
entity Q1712202
relation P937
type Q56061
[ANSWER] is partner towns of Brussels and is the work locations of Max Hildebert Boehm
{'AND': [['Q9005', 'P190', {'concept': 'Q56061'}], ['Q1712202', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { resource:Q9005 property:P190 ?j . resource:Q1712202 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Berlin
Berlin is partner towns of Brussels and is the work locations of Max Hildebert Boehm
Berlin
action filter_type
action intersection
action find
entity Brussels
relation sister city
action find
entity Max Hildebert Boehm
relation work location
type administrative territorial entity
{'AND': [['Brussels', 'sister city', {'concept': 'administrative territorial entity'}], ['Max Hildebert Boehm', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Brussels property:sister_city ?j . resource:Max_Hildebert_Boehm property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1712202
P20
Q5119
USER
Where did the expiration of that person occur ?
(Q64,P20,c(Q5119))
action filter_type
action find
entity Q1712202
relation P20
type Q5119
['Q64', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?b WHERE { resource:Q1712202 property:P20 ?b . ?b rdf:type ontology:Q5119 }
Max Hildebert Boehm
action filter_type
action find
entity Max Hildebert Boehm
relation place of death
type capital
['Berlin', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?b WHERE { resource:Max_Hildebert_Boehm property:place_of_death ?b . ?b rdf:type ontology:capital }
[]
capital
Q3920
SYSTEM
Lüneburg
Q3920
(Q64,P20,c(Q5119))
action filter_type
action find
entity Q1712202
relation P20
type Q5119
The expiration of that person occurred in [ANSWER]
['Q64', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?b WHERE { resource:Q1712202 property:P20 ?b . ?b rdf:type ontology:Q5119 }
Lüneburg
The expiration of that person occurred in Lüneburg
Lüneburg
action filter_type
action find
entity Max Hildebert Boehm
relation place of death
type capital
['Berlin', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?b WHERE { resource:Max_Hildebert_Boehm property:place_of_death ?b . ?b rdf:type ontology:capital }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have max number of administrative territories as their base harbour ?
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?f property:P532 ?e . ?f rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?f } } . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { ?m rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 . ?m property:P532 ?s } GROUP BY ?m } . FILTER ( ?h = ?z ) }
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?f property:port_of_registry ?e . ?f rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } } . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { ?m rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity . ?m property:port_of_registry ?s } GROUP BY ?m } . FILTER ( ?h = ?z ) }
[]
administrative territorial entity ship type
Q11707059
SYSTEM
MS Arrow
Q11707059
(c(Q2235308),P532,c(Q56061))
action argmax
action find_tuple_counts
relation P532
type Q2235308
type Q56061
[ANSWER] have max number of administrative territories as their base harbour
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?f property:P532 ?e . ?f rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?f } } . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { ?m rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 . ?m property:P532 ?s } GROUP BY ?m } . FILTER ( ?h = ?z ) }
MS Arrow
MS Arrow have max number of administrative territories as their base harbour
MS Arrow
action argmax
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?z ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?u ) WHERE { ?f property:port_of_registry ?e . ?f rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } } . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?h ) WHERE { ?m rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity . ?m property:port_of_registry ?s } GROUP BY ?m } . FILTER ( ?h = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P463
Q43229
USER
What were France a member of ?
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q142 property:P463 ?f }
France
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:France property:member_of ?f }
[]
organization
Q42944 Q151991 Q7825
SYSTEM
European Organization for Nuclear Research, European Southern Observatory, World Trade Organization
Q340195 Q42944 Q191384 Q899770 Q1331152 Q41550 Q656801 Q151991 Q7825 Q161549 Q827525
(Q142,P463,c(Q43229))
action filter_type
action find
entity Q142
relation P463
type Q43229
France of the [ANSWERS]
['Q142', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q43229 . resource:Q142 property:P463 ?f }
African Development Bank European Organization for Nuclear Research International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Open Government Partnership Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization European Coal and Steel Community International Development Association
France of the European Organization for Nuclear Research, European Southern Observatory and World Trade Organization
European Organization for Nuclear Research European Southern Observatory World Trade Organization
action filter_type
action find
entity France
relation member of
type organization
['France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:organization . resource:France property:member_of ?f }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q142
Q56061
USER
And which administrative territory?
(Q142,P463,c(Q56061))
action filter_type
action find
entity Q142
relation P463
type Q56061
['Q142', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P463 ?q . ?q rdf:type ontology:Q56061 }
France
action filter_type
action find
entity France
relation member of
type administrative territorial entity
['France', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:France property:member_of ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q142,P463,c(Q56061))
action filter_type
action find
entity Q142
relation P463
type Q56061
[ANSWER]
['Q142', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P463 ?q . ?q rdf:type ontology:Q56061 }
European Union
European Union
action filter_type
action find
entity France
relation member of
type administrative territorial entity
['France', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:France property:member_of ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3579 Q64
P190
Q56061
USER
Which administrative territories are partner towns of Berlin or Tripoli ?
OR((Q64,P190,c(Q56061)), (Q3579,P190,c(Q56061)))
action filter_type
action union
action find
entity Q64
relation P190
action find
entity Q3579
relation P190
type Q56061
{'OR': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q3579', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q64 property:P190 ?g } UNION { resource:Q3579 property:P190 ?g } } . ?g rdf:type ontology:Q56061 }
Tripoli Berlin
action filter_type
action union
action find
entity Berlin
relation sister city
action find
entity Tripoli
relation sister city
type administrative territorial entity
{'OR': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Tripoli', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Berlin property:sister_city ?g } UNION { resource:Tripoli property:sister_city ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270 Q3561 Q3820 Q84 Q269 Q239 Q42800 Q1085 Q956 Q1781
SYSTEM
Some of them are Warsaw, Algiers, Beirut, London, Tashkent, Brussels, Belo Horizonte, Prague, Beijing, Budapest
Q269 Q956 Q84 Q3630 Q270 Q649 Q239 Q90 Q2807 Q42800 Q1781 Q1489 Q1490 Q65 Q3561 Q3820 Q406 Q1085
OR((Q64,P190,c(Q56061)), (Q3579,P190,c(Q56061)))
action filter_type
action union
action find
entity Q64
relation P190
action find
entity Q3579
relation P190
type Q56061
[ANSWERS] are partner towns of Berlin or Tripoli
{'OR': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q3579', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q64 property:P190 ?g } UNION { resource:Q3579 property:P190 ?g } } . ?g rdf:type ontology:Q56061 }
Tashkent Beijing London Jakarta Warsaw Moscow Brussels Paris Madrid Belo Horizonte Budapest Mexico City Tokyo Los Angeles Algiers Beirut Istanbul Prague
Warsaw, Algiers, Beirut, London, Tashkent, Brussels, Belo Horizonte, Prague, Beijing and Budapest are partner towns of Berlin or Tripoli
Warsaw Algiers Beirut London Tashkent Brussels Belo Horizonte Prague Beijing Budapest
action filter_type
action union
action find
entity Berlin
relation sister city
action find
entity Tripoli
relation sister city
type administrative territorial entity
{'OR': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Tripoli', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Berlin property:sister_city ?g } UNION { resource:Tripoli property:sister_city ?g } } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1199284 Q7825
P488 P161
Q502895
USER
Which people chaired World Trade Organization or are in The Little Soldier ?
OR((Q7825,P488,c(Q502895)), (Q1199284,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7825
relation P488
action find
entity Q1199284
relation P161
type Q502895
{'OR': [['Q7825', 'P488', {'concept': 'Q502895'}], ['Q1199284', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q7825 property:P488 ?e } UNION { resource:Q1199284 property:P161 ?e } } . ?e rdf:type ontology:Q502895 }
The Little Soldier World Trade Organization
action filter_type
action union
action find
entity World Trade Organization
relation chairperson
action find
entity The Little Soldier
relation cast member
type common name
{'OR': [['World Trade Organization', 'chairperson', {'concept': 'common name'}], ['The Little Soldier', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:World_Trade_Organization property:chairperson ?e } UNION { resource:The_Little_Soldier property:cast_member ?e } } . ?e rdf:type ontology:common_name }
[]
common name
Q3130398 Q924396 Q12955910 Q232113 Q53001 Q456761 Q3105698 Q375191 Q561288 Q168693
SYSTEM
Henri-Jacques Huet, Georges de Beauregard, Roberto Azevêdo, Anna Karina, Jean-Luc Godard, László Szabó, Gilbert Edard, László Szabó, Michel Subor, Jean-Pierre Melville
Q3130398 Q924396 Q12955910 Q232113 Q53001 Q456761 Q3105698 Q375191 Q561288 Q168693
OR((Q7825,P488,c(Q502895)), (Q1199284,P161,c(Q502895)))
action filter_type
action union
action find
entity Q7825
relation P488
action find
entity Q1199284
relation P161
type Q502895
[ANSWERS] chaired World Trade Organization or are in The Little Soldier
{'OR': [['Q7825', 'P488', {'concept': 'Q502895'}], ['Q1199284', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q7825 property:P488 ?e } UNION { resource:Q1199284 property:P161 ?e } } . ?e rdf:type ontology:Q502895 }
Henri-Jacques Huet Georges de Beauregard Roberto Azevêdo Anna Karina Jean-Luc Godard László Szabó Gilbert Edard László Szabó Michel Subor Jean-Pierre Melville
Henri-Jacques Huet, Georges de Beauregard, Roberto Azevêdo, Anna Karina, Jean-Luc Godard, László Szabó, Gilbert Edard, László Szabó, Michel Subor and Jean-Pierre Melville chaired World Trade Organization or are in The Little Soldier
Henri-Jacques Huet Georges de Beauregard Roberto Azevêdo Anna Karina Jean-Luc Godard László Szabó Gilbert Edard László Szabó Michel Subor Jean-Pierre Melville
action filter_type
action union
action find
entity World Trade Organization
relation chairperson
action find
entity The Little Soldier
relation cast member
type common name
{'OR': [['World Trade Organization', 'chairperson', {'concept': 'common name'}], ['The Little Soldier', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:World_Trade_Organization property:chairperson ?e } UNION { resource:The_Little_Soldier property:cast_member ?e } } . ?e rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4293279 Q142
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with France or do Tomas Mikuš belong to ?
OR((Q142,P530,c(Q15617994)), (Q4293279,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q4293279
relation P27
type Q15617994
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q4293279', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q4293279 property:P27 ?f } UNION { resource:Q142 property:P530 ?f } } }
Tomas Mikuš France
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Tomas Mikuš
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Tomas Mikuš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Tomas_Mikuš property:country_of_citizenship ?f } UNION { resource:France property:diplomatic_relation ?f } } }
[]
designation for an administrative territorial entity
Q1011 Q30 Q38 Q403 Q32 Q27 Q222 Q711 Q155 Q145
SYSTEM
Some of them are Cape Verde, United States of America, Italy, Serbia, Luxembourg, Ireland, Albania, Mongolia, Brazil, United Kingdom
Q711 Q159 Q222 Q801 Q145 Q155 Q1011 Q228 Q32 Q17 Q30 Q214 Q399 Q27 Q403 Q38
OR((Q142,P530,c(Q15617994)), (Q4293279,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P530
action find
entity Q4293279
relation P27
type Q15617994
[ANSWERS] hold diplomatic relationship with France or do Tomas Mikuš belong to
{'OR': [['Q142', 'P530', {'concept': 'Q15617994'}], ['Q4293279', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q4293279 property:P27 ?f } UNION { resource:Q142 property:P530 ?f } } }
Mongolia Russia Albania Israel United Kingdom Brazil Cape Verde Andorra Luxembourg Japan United States of America Slovakia Armenia Ireland Serbia Italy
Cape Verde, United States of America, Italy, Serbia, Luxembourg, Ireland, Albania, Mongolia, Brazil and United Kingdom hold diplomatic relationship with France or do Tomas Mikuš belong to
Cape Verde United States of America Italy Serbia Luxembourg Ireland Albania Mongolia Brazil United Kingdom
action filter_type
action union
action find
entity France
relation diplomatic relation
action find
entity Tomas Mikuš
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['France', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Tomas Mikuš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Tomas_Mikuš property:country_of_citizenship ?f } UNION { resource:France property:diplomatic_relation ?f } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P137
Q3084961
USER
Which product linings can be described as service operator of Brazil ?
(c(Q3084961),P137,Q155)
action filter_type
action find_reverse
entity Q155
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q155']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q155 . ?i rdf:type ontology:Q3084961 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Brazil']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:Brazil . ?i rdf:type ontology:product_lining }
[]
product lining
Q308940 Q933767 Q182027
SYSTEM
F-5, Hawk 75, C-130 Hercules
Q949427 Q381153 Q17504960 Q200038 Q1867545 Q18193433 Q308940 Q933767 Q17504959 Q295466 Q182027 Q18011068
(c(Q3084961),P137,Q155)
action filter_type
action find_reverse
entity Q155
relation P137
type Q3084961
[ANSWERS] can be described as service operator of Brazil
[{'concept': 'Q3084961'}, 'P137', 'Q155']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q155 . ?i rdf:type ontology:Q3084961 }
EMB 314 Super Tucano MB-326 F-5 Tiger II Mirage 2000 KC-130 Hercules P-36 Hawk F-5 Hawk 75 F-5 Freedom Fighter AMX C-130 Hercules MB-326K Veltro
F-5, Hawk 75 and C-130 Hercules can be described as service operator of Brazil
F-5 Hawk 75 C-130 Hercules
action filter_type
action find_reverse
entity Brazil
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Brazil']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:Brazil . ?i rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P36
Q56061
USER
What is the capital of Brazil ?
(Q155,P36,c(Q56061))
action filter_type
action find
entity Q155
relation P36
type Q56061
['Q155', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q155 property:P36 ?o }
Brazil
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
['Brazil', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Brazil property:capital ?o }
[]
administrative territorial entity
Q8678
SYSTEM
Rio de Janeiro
Q8678
(Q155,P36,c(Q56061))
action filter_type
action find
entity Q155
relation P36
type Q56061
The capital of Brazil is the [ANSWER]
['Q155', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . resource:Q155 property:P36 ?o }
Rio de Janeiro
The capital of Brazil is the Rio de Janeiro
Rio de Janeiro
action filter_type
action find
entity Brazil
relation capital
type administrative territorial entity
['Brazil', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . resource:Brazil property:capital ?o }
[]