Simple Question (Direct)
Simple Question
Q3783611
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Hassan Ibrahim ?
(Q3783611,P27,c(Q15617994))
action filter_type
action find
entity Q3783611
relation P27
type Q15617994
['Q3783611', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3783611 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Hassan Ibrahim
action filter_type
action find
entity Hassan Ibrahim
relation country of citizenship
type designation for an administrative territorial entity
['Hassan Ibrahim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hassan_Ibrahim property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q878
SYSTEM
United Arab Emirates
Q878
(Q3783611,P27,c(Q15617994))
action filter_type
action find
entity Q3783611
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Hassan Ibrahim
['Q3783611', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3783611 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United Arab Emirates
United Arab Emirates is the country of citizenship of Hassan Ibrahim
United Arab Emirates
action filter_type
action find
entity Hassan Ibrahim
relation country of citizenship
type designation for an administrative territorial entity
['Hassan Ibrahim', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Hassan_Ibrahim property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3783611
P641
Q349
USER
Which sport was Hassan Ibrahim a part of ?
(Q3783611,P641,c(Q349))
action filter_type
action find
entity Q3783611
relation P641
type Q349
['Q3783611', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3783611 property:P641 ?c . ?c rdf:type ontology:Q349 }
Hassan Ibrahim
action filter_type
action find
entity Hassan Ibrahim
relation sport
type sport
['Hassan Ibrahim', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Hassan_Ibrahim property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3783611,P641,c(Q349))
action filter_type
action find
entity Q3783611
relation P641
type Q349
Which sport was Hassan Ibrahim a part of
['Q3783611', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3783611 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Which sport was Hassan Ibrahim a part of
association football
action filter_type
action find
entity Hassan Ibrahim
relation sport
type sport
['Hassan Ibrahim', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Hassan_Ibrahim property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3783611
P21
Q290
USER
What is the sex of Hassan Ibrahim ?
(Q3783611,P21,c(Q290))
action filter_type
action find
entity Q3783611
relation P21
type Q290
['Q3783611', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3783611 property:P21 ?q . ?q rdf:type ontology:Q290 }
Hassan Ibrahim
action filter_type
action find
entity Hassan Ibrahim
relation gender
type sex
['Hassan Ibrahim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Hassan_Ibrahim property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3783611,P21,c(Q290))
action filter_type
action find
entity Q3783611
relation P21
type Q290
The sex of Hassan Ibrahim is a [ANSWER]
['Q3783611', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q3783611 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
The sex of Hassan Ibrahim is a male
male
action filter_type
action find
entity Hassan Ibrahim
relation gender
type sex
['Hassan Ibrahim', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Hassan_Ibrahim property:gender ?q . ?q rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2736
P641
Q1539532 Q34442
USER
How many sports seasons and roads are known to play association football ?
(c(Q1539532),P641,Q2736) (c(Q34442),P641,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P641
type Q1539532
action filter_type
action find_reverse
entity Q2736
relation P641
type Q34442
[{'concept': 'Q1539532'}, 'P641', 'Q2736'] [{'concept': 'Q34442'}, 'P641', 'Q2736']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:P641 resource:Q2736 . ?s rdf:type ontology:Q1539532 } UNION { ?s property:P641 resource:Q2736 . ?s rdf:type ontology:Q34442 } }
association football
action count
action union
action filter_type
action find_reverse
entity association football
relation sport
type sports season
action filter_type
action find_reverse
entity association football
relation sport
type road
[{'concept': 'sports season'}, 'sport', 'association football'] [{'concept': 'road'}, 'sport', 'association football']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:sport resource:association_football . ?s rdf:type ontology:sports_season } UNION { ?s property:sport resource:association_football . ?s rdf:type ontology:road } }
[]
sports season road
SYSTEM
44 sports seasons and 1 roads
Q13560413 Q21511993 Q21511341 Q2710179 Q2474619 Q3968014 Q2710133 Q2710132 Q19936742 Q1917095 Q2741206 Q16862607 Q2710151 Q16499707 Q2176256 Q2710192 Q3614702 Q3614703 Q3152400 Q3614705 Q3614706 Q2671717 Q21684841 Q21684840 Q20647535 Q4610123 Q2535589 Q2671734 Q19966825 Q19966824 Q24938231 Q2710140 Q2710122 Q19798298 Q2710145 Q14490948 Q2709829 Q537240 Q24050373 Q1819779 Q2710187 Q13427601 Q14756553 Q3614711 Q3614715
(c(Q1539532),P641,Q2736) (c(Q34442),P641,Q2736)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P641
type Q1539532
action filter_type
action find_reverse
entity Q2736
relation P641
type Q34442
[ANSWER]
[{'concept': 'Q1539532'}, 'P641', 'Q2736'] [{'concept': 'Q34442'}, 'P641', 'Q2736']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:P641 resource:Q2736 . ?s rdf:type ontology:Q1539532 } UNION { ?s property:P641 resource:Q2736 . ?s rdf:type ontology:Q34442 } }
2013 Coupe de la Ligue Final 2003–04 First Division 2005 First Division 2003 Armenian Premier League 2008–09 AFC Ajax season List of S.S. Lazio seasons 2000 Armenian Premier League 1997 Armenian Premier League AFC Ajax (vrouwenvoetbal) in het seizoen 2012/13 2010–11 AFC Ajax season 2007–08 AFC Ajax season 2014 FA Community Shield 2002 Armenian Premier League 2014 Coupe de la Ligue Final 2006–07 AFC Ajax season 1992 Armenian Premier League 1998–99 AFC Ajax season 2000–01 AFC Ajax season 2012–13 AFC Ajax season 2001–02 AFC Ajax season 2002–03 AFC Ajax season 2005 Armenian Premier League 2003–04 First Division 2004–05 First Division 2015–16 Juventus F.C. season 2007–08 Montenegrin Cup 2006 Armenian Premier League 2004 Armenian Premier League AFC Ajax (vrouwenvoetbal) in het seizoen 2014/15 AFC Ajax (vrouwenvoetbal) in het seizoen 2013/14 2016–17 Championnat de France Amateur 2 2001 Armenian Premier League 1995–96 Armenian Premier League 2015 Coupe de la Ligue Final 1999 Armenian Premier League 2013 Coupe de France Final 1996–97 Armenian Premier League 2004–05 AFC Ajax season 2016–17 AFC Ajax season 2011–12 AFC Ajax season 1998 Armenian Premier League 2013–14 AFC Ajax season 1971 Ibrox disaster 2005–06 AFC Ajax season 2009–10 AFC Ajax season
44 sports seasons and 1 roads
action count
action union
action filter_type
action find_reverse
entity association football
relation sport
type sports season
action filter_type
action find_reverse
entity association football
relation sport
type road
[{'concept': 'sports season'}, 'sport', 'association football'] [{'concept': 'road'}, 'sport', 'association football']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:sport resource:association_football . ?s rdf:type ontology:sports_season } UNION { ?s property:sport resource:association_football . ?s rdf:type ontology:road } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1343081 Q3783611
P19 P17
Q15617994
USER
Which administrative territories were Hassan Ibrahim born at or are Uspenska church, Zrenjanin a part of ?
OR((Q3783611,P19,c(Q15617994)), (Q1343081,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3783611
relation P19
action find
entity Q1343081
relation P17
type Q15617994
{'OR': [['Q3783611', 'P19', {'concept': 'Q15617994'}], ['Q1343081', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3783611 property:P19 ?x } UNION { resource:Q1343081 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Uspenska church, Zrenjanin Hassan Ibrahim
action filter_type
action union
action find
entity Hassan Ibrahim
relation place of birth
action find
entity Uspenska church, Zrenjanin
relation country
type designation for an administrative territorial entity
{'OR': [['Hassan Ibrahim', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Uspenska church, Zrenjanin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Hassan_Ibrahim property:place_of_birth ?x } UNION { resource:Uspenska_church,_Zrenjanin property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403 Q878
SYSTEM
Serbia, United Arab Emirates
Q403 Q878
OR((Q3783611,P19,c(Q15617994)), (Q1343081,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3783611
relation P19
action find
entity Q1343081
relation P17
type Q15617994
Hassan Ibrahim were born or are Uspenska church , Zrenjanin a part of the [ANSWERS]
{'OR': [['Q3783611', 'P19', {'concept': 'Q15617994'}], ['Q1343081', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q3783611 property:P19 ?x } UNION { resource:Q1343081 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Serbia United Arab Emirates
Hassan Ibrahim were born or are Uspenska church , Zrenjanin a part of the Serbia and United Arab Emirates
Serbia United Arab Emirates
action filter_type
action union
action find
entity Hassan Ibrahim
relation place of birth
action find
entity Uspenska church, Zrenjanin
relation country
type designation for an administrative territorial entity
{'OR': [['Hassan Ibrahim', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Uspenska church, Zrenjanin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Hassan_Ibrahim property:place_of_birth ?x } UNION { resource:Uspenska_church,_Zrenjanin property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those administrative territories ?
(Q408,P530,Q403) (Q408,P530,Q878)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q403'] ['Q408', 'P530', 'Q878']
ASK WHERE { resource:Q408 property:P530 ?b . VALUES ( ?b ) { ( resource:Q403 ) ( resource:Q878 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Serbia'] ['Australia', 'diplomatic relation', 'United Arab Emirates']
ASK WHERE { resource:Australia property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Serbia ) ( resource:United_Arab_Emirates ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q403) (Q408,P530,Q878)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q403'] ['Q408', 'P530', 'Q878']
ASK WHERE { resource:Q408 property:P530 ?b . VALUES ( ?b ) { ( resource:Q403 ) ( resource:Q878 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Serbia'] ['Australia', 'diplomatic relation', 'United Arab Emirates']
ASK WHERE { resource:Australia property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Serbia ) ( resource:United_Arab_Emirates ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q52039 Q403
P47
Q15617994
USER
Which administrative territories are adjacent to Serbia or Torricella, Apulia ?
OR((Q403,P47,c(Q15617994)), (Q52039,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q403
relation P47
action find
entity Q52039
relation P47
type Q15617994
{'OR': [['Q403', 'P47', {'concept': 'Q15617994'}], ['Q52039', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { ?e property:P47 ?s . VALUES ( ?e ) { ( resource:Q403 ) ( resource:Q52039 ) } } }
Torricella, Apulia Serbia
action filter_type
action union
action find
entity Serbia
relation shares border with
action find
entity Torricella, Apulia
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Serbia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Torricella, Apulia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?e property:shares_border_with ?s . VALUES ( ?e ) { ( resource:Serbia ) ( resource:Torricella,_Apulia ) } } }
[]
designation for an administrative territorial entity
Q28 Q52037 Q225 Q218 Q222 Q219 Q236 Q52022 Q221 Q224
SYSTEM
Some of them are Hungary, Sava, Bosnia and Herzegovina, Romania, Albania, Bulgaria, Montenegro, Maruggio, Republic of Macedonia, Croatia
Q225 Q224 Q222 Q221 Q218 Q219 Q236 Q28 Q52022 Q52037 Q52018
OR((Q403,P47,c(Q15617994)), (Q52039,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q403
relation P47
action find
entity Q52039
relation P47
type Q15617994
[ANSWERS] are adjacent to Serbia or Torricella, Apulia
{'OR': [['Q403', 'P47', {'concept': 'Q15617994'}], ['Q52039', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { ?e property:P47 ?s . VALUES ( ?e ) { ( resource:Q403 ) ( resource:Q52039 ) } } }
Bosnia and Herzegovina Croatia Albania Republic of Macedonia Romania Bulgaria Montenegro Hungary Maruggio Sava Lizzano
Hungary, Sava, Bosnia and Herzegovina, Romania, Albania, Bulgaria, Montenegro, Maruggio, Republic of Macedonia and Croatia are adjacent to Serbia or Torricella, Apulia
Hungary Sava Bosnia and Herzegovina Romania Albania Bulgaria Montenegro Maruggio Republic of Macedonia Croatia
action filter_type
action union
action find
entity Serbia
relation shares border with
action find
entity Torricella, Apulia
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Serbia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Torricella, Apulia', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?e property:shares_border_with ?s . VALUES ( ?e ) { ( resource:Serbia ) ( resource:Torricella,_Apulia ) } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1009
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with more number of administrative territories than Cameroon ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1009
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?c ) WHERE { ?s property:P530 ?h . ?s rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?c > ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q1009 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Cameroon
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cameroon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?c ) WHERE { ?s property:diplomatic_relation ?h . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?c > ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Cameroon property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1009
relation P530
type Q15617994
[ANSWERS] have tactful political relations with more number of administrative territories than Cameroon
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?c ) WHERE { ?s property:P530 ?h . ?s rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?c > ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q1009 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America have tactful political relations with more number of administrative territories than Cameroon
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Cameroon
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?c ) WHERE { ?s property:diplomatic_relation ?h . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?c > ?t ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Cameroon property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P47
Q15617994
USER
Who share the border with Italy, Brazil and United States of America ?
(Q38,P47,c(Q15617994)) (Q155,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
['Q38', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q15617994 . resource:Q155 property:P47 ?b } UNION { resource:Q38 property:P47 ?b . ?b rdf:type ontology:Q15617994 } }
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:shares_border_with ?b } UNION { resource:Italy property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q159 Q142 Q142
SYSTEM
France for 2nd, 3rd, Russia for 1st
Q142 Q215 Q238 Q39 Q739 Q142 Q717 Q730 Q733 Q734 Q419 Q77 Q414 Q750 Q702 Q804 Q159 Q683 Q96 Q786 Q241 Q17 Q710 Q717 Q678 Q790
(Q38,P47,c(Q15617994)) (Q155,P47,c(Q15617994)) (Q30,P47,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P47
type Q15617994
action filter_type
action find
entity Q155
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q15617994
[ANSWERS]
['Q38', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:Q15617994 . resource:Q155 property:P47 ?b } UNION { resource:Q38 property:P47 ?b . ?b rdf:type ontology:Q15617994 } }
France Slovenia San Marino Switzerland Colombia France Venezuela Suriname Paraguay Guyana Peru Uruguay Argentina Bolivia Federated States of Micronesia Panama Russia Samoa Mexico Dominican Republic Cuba Japan Kiribati Venezuela Tonga Haiti
Russia, France and France share the border with Italy, Brazil and United States of America
Russia France France
action union
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brazil property:shares_border_with ?b } UNION { resource:Italy property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3783611
P54
Q1194951
USER
Which national sports team is Hassan Ibrahim a member of ?
(Q3783611,P54,c(Q1194951))
action filter_type
action find
entity Q3783611
relation P54
type Q1194951
['Q3783611', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q3783611 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
Hassan Ibrahim
action filter_type
action find
entity Hassan Ibrahim
relation member of sports team
type national sports team
['Hassan Ibrahim', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Hassan_Ibrahim property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]
national sports team
Q235910
SYSTEM
United Arab Emirates national football team
Q235910
(Q3783611,P54,c(Q1194951))
action filter_type
action find
entity Q3783611
relation P54
type Q1194951
And [ANSWER] is Hassan Ibrahim a member of
['Q3783611', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?c WHERE { resource:Q3783611 property:P54 ?c . ?c rdf:type ontology:Q1194951 }
United Arab Emirates national football team
And United Arab Emirates national football team is Hassan Ibrahim a member of
United Arab Emirates national football team
action filter_type
action find
entity Hassan Ibrahim
relation member of sports team
type national sports team
['Hassan Ibrahim', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?c WHERE { resource:Hassan_Ibrahim property:member_of_sports_team ?c . ?c rdf:type ontology:national_sports_team }
[]