Simple Question (Direct)
Simple Question
Q6055867
P40
Q502895
USER
Who is a child of Prem Nath ?
(Q6055867,P40,c(Q502895))
action filter_type
action find
entity Q6055867
relation P40
type Q502895
['Q6055867', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q6055867 property:P40 ?x }
Prem Nath
action filter_type
action find
entity Prem Nath
relation child
type common name
['Prem Nath', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Prem_Nath property:child ?x }
[]
common name
Q7240138
SYSTEM
Prem Krishen
Q7240138
(Q6055867,P40,c(Q502895))
action filter_type
action find
entity Q6055867
relation P40
type Q502895
A child of Prem Nath is called [ANSWER]
['Q6055867', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q6055867 property:P40 ?x }
Prem Krishen
A child of Prem Nath is called Prem Krishen
Prem Krishen
action filter_type
action find
entity Prem Nath
relation child
type common name
['Prem Nath', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Prem_Nath property:child ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6055867
P26
Q502895
USER
Who is the spouse of Prem Nath ?
(c(Q502895),P26,Q6055867)
action filter_type
action find
entity Q6055867
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q6055867']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q6055867 property:P26 ?z }
Prem Nath
action filter_type
action find
entity Prem Nath
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Prem Nath']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Prem_Nath property:spouse ?z }
[]
common name
Q523103
SYSTEM
Bina Rai
Q523103
(c(Q502895),P26,Q6055867)
action filter_type
action find
entity Q6055867
relation P26
type Q502895
The spouse of Prem Nath is called [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q6055867']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q6055867 property:P26 ?z }
Bina Rai
The spouse of Prem Nath is called Bina Rai
Bina Rai
action filter_type
action find
entity Prem Nath
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Prem Nath']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Prem_Nath property:spouse ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6055867
P20
Q56061
USER
Where did the expiration of Prem Nath occur ?
(Q6055867,P20,c(Q56061))
action filter_type
action find
entity Q6055867
relation P20
type Q56061
['Q6055867', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q6055867 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Prem Nath
action filter_type
action find
entity Prem Nath
relation place of death
type administrative territorial entity
['Prem Nath', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Prem_Nath property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1156
SYSTEM
Mumbai
Q1156
(Q6055867,P20,c(Q56061))
action filter_type
action find
entity Q6055867
relation P20
type Q56061
The expiration of Prem Nath occurred in [ANSWER]
['Q6055867', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q6055867 property:P20 ?i . ?i rdf:type ontology:Q56061 }
Mumbai
The expiration of Prem Nath occurred in Mumbai
Mumbai
action filter_type
action find
entity Prem Nath
relation place of death
type administrative territorial entity
['Prem Nath', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Prem_Nath property:place_of_death ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q488277
P3091
Q502895 Q3745054 Q502895
USER
How many people use approximately the same number of people and horse breeds as steed as Jan Tops ?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q488277
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?d WHERE { { ?d property:P3091 ?m . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q502895 } UNION { ?d property:P3091 ?m . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q3745054 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { { ?e rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q3745054 } } . resource:Q488277 property:P3091 ?e } } . FILTER ( ?u = ?f ) }
Jan Tops
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Jan Tops
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?d WHERE { { ?d property:mount ?m . ?d rdf:type ontology:common_name . ?m rdf:type ontology:common_name } UNION { ?d property:mount ?m . ?d rdf:type ontology:common_name . ?m rdf:type ontology:horse_breed } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { { ?e rdf:type ontology:common_name } UNION { ?e rdf:type ontology:horse_breed } } . resource:Jan_Tops property:mount ?e } } . FILTER ( ?u = ?f ) }
[]
common name horse breed common name
SYSTEM
53
Q71451 Q64650 Q186164 Q7934379 Q262338 Q2965770 Q1038847 Q20240956 Q364502 Q3081121 Q25906162 Q355148 Q3035045 Q3351282 Q678324 Q151754 Q997380 Q84536 Q3056396 Q207535 Q2941011 Q3565906 Q942215 Q3385955 Q249233 Q364920 Q2162566 Q3573625 Q450267 Q2577320 Q4351964 Q317846 Q3501998 Q840001 Q3167944 Q6409976 Q3299860 Q19630255 Q444585 Q34479 Q312391 Q1061259 Q2041036 Q2966249 Q1739026 Q1081174 Q16104944 Q5908769 Q967780 Q488277 Q1332346 Q3147326 Q454614
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q488277
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?d WHERE { { ?d property:P3091 ?m . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q502895 } UNION { ?d property:P3091 ?m . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q3745054 } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { { ?e rdf:type ontology:Q502895 } UNION { ?e rdf:type ontology:Q3745054 } } . resource:Q488277 property:P3091 ?e } } . FILTER ( ?u = ?f ) }
Franke Sloothaak Ingrid Klimke Pippa Funnell Virginia Leng Nicole Uphoff Criquette Head-Maarek Carl Hester Arnaud Serre David O'Connor Kieren Fallon Thibaut Vallette Adelinde Cornelissen Dominique Boeuf Olivier Peslier Jorma Kontio Anne, Princess Royal Yutaka Take Hugo Simon Eric Saint-Martin Roland Cash Asmussen Walter Swinburn Jean-Claude Van Geenberghe Pierre Levesque Kristina Sprehe Bruce Davidson Ryan Moore Yves Dreux Nadine Capellmann Wilhelm Melliger Björn Goop Lü Bu Stéphane Pasquier Christophe Soumillon Jean-Michel Bazire Kimberly Severson Matthieu Abrivard Léopold Verroken Ulla Salzgeber Hirohito Philippe Leclerc de Hauteclocque Johnny Murtagh Christophe Lemaire Christophe Gallier Kent Farrington Gérald Mossé Michael Page Örjan Kihlström Franck Nivard Jan Tops Mark Todd Ian Stark Fritz Ligges
53
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Jan Tops
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?d WHERE { { ?d property:mount ?m . ?d rdf:type ontology:common_name . ?m rdf:type ontology:common_name } UNION { ?d property:mount ?m . ?d rdf:type ontology:common_name . ?m rdf:type ontology:horse_breed } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { { ?e rdf:type ontology:common_name } UNION { ?e rdf:type ontology:horse_breed } } . resource:Jan_Tops property:mount ?e } } . FILTER ( ?u = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q449891
P3091
Q502895 Q3745054 Q502895
USER
And also tell me about Beezie Madden?
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q449891
relation P3091
type Q502895
type Q3745054
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?h rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q449891 property:P3091 ?q . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?a = ?y ) }
Beezie Madden
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Beezie Madden
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?h rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Beezie_Madden property:mount ?q . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?a = ?y ) }
[]
common name horse breed common name
SYSTEM
88
Q2831786 Q2964761 Q2643622 Q1682742 Q451395 Q1311486 Q682476 Q1088130 Q527657 Q364671 Q3089727 Q919677 Q16208274 Q3400624 Q15782408 Q947032 Q3428317 Q131691 Q17350580 Q438197 Q2396962 Q19630218 Q3106094 Q958372 Q319522 Q78028 Q7647583 Q823503 Q147663 Q513487 Q494315 Q377345 Q5247967 Q8409 Q2831635 Q1710812 Q467676 Q1545318 Q34836 Q238769 Q745510 Q318626 Q608440 Q19839389 Q3134506 Q926771 Q3309932 Q517 Q1351428 Q62177 Q458399 Q2903241 Q529497 Q3380679 Q1337633 Q953867 Q364659 Q19880092 Q1119157 Q1581746 Q72502 Q25906137 Q6765126 Q15972334 Q6148833 Q1391424 Q2094373 Q5079900 Q1342822 Q76246 Q1691413 Q270476 Q272533 Q3074167 Q449891 Q1292304 Q1343527 Q690536 Q43958 Q3428878 Q886901 Q1261810 Q77560 Q3524341 Q3591324 Q9682 Q1633084 Q2420937
(c(Q502895),P3091,c(Q502895)|c(Q3745054))
action count
action approx
action union
action find_tuple_counts
relation P3091
type Q502895
type Q502895
action find_tuple_counts
relation P3091
type Q502895
type Q3745054
action count
action filter_multi_types
action find
entity Q449891
relation P3091
type Q502895
type Q3745054
[ANSWER]
[{'concept': 'Q502895'}, 'P3091', [{'concept': 'Q502895'}, {'concept': 'Q3745054'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:Q3745054 ) ( ontology:Q502895 ) } . ?h rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q449891 property:P3091 ?q . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:Q502895 ) ( ontology:Q3745054 ) } } } } . FILTER ( ?a = ?y ) }
Alberto Larraguibel Chris Kappler Alexandra Ledermann Janika Sprunger Fritz Thiedemann Mario Deslauriers Paul Estermann Maxime Guyon Margit Otto-Crépin Jean Teulère Frédéric Cottier Nicolas Touzaint Barbara Minneci Sir Harry Llewellyn, 3rd Baronet Ali Al Rumaihi Pierre Jonquères d'Oriola Torrance Fleischmann Arthur Wellesley, 1st Duke of Wellington Fernand Leredde Helen Langehanenberg Ron Turcotte Michel-Marcel Gougeon Gilles Bertrán de Balanda Piet Raijmakers Ulrich Kirchhoff Marco Kutscher Susan Blinks Uwe Sauer Zara Phillips Linda Algotsson Gerco Schröder Lester Piggott Debbie McDonald Alexander the Great Albert Voorn Richard Spooner Reiner Klimke Greg Best Ulysses S. Grant Isabell Werth Ludo Philippaerts Lars Nieberg John Whitaker Abdelkebir Ouaddar Hervé Godignon Earl Foster Thomson Michel Hécart Napoleon Eric Lamaze Hans Günter Winkler Laura Bechtolsheimer Bill Hartack Edwina Tops-Alexander Philippe Rozier Scott Brash Conrad Homfeld Cédric Lyard Lendon Gray Frankie Dettori Hans Peter Minderhoud Otto Becker Astier Nicolas Marion Coakes Natasha Baker Jan Ebeling Jos Lansink Rolf-Göran Bengtsson Charles Kurtsinger William Fox-Pitt Marcus Ehning Joseph Fargis Sara Algotsson Ostholt Charlotte Dujardin Florian Angot Beezie Madden Edward Gal Karin Rehbein Pius Schwizer El Cid Reynald Angot Blyth Tait Eddie Macken Michael Jung Thierry Jarnet Éric Raffin Elizabeth II Hubert Bourdy Thierry Pomel
88
action count
action approx
action union
action find_tuple_counts
relation mount
type common name
type common name
action find_tuple_counts
relation mount
type common name
type horse breed
action count
action filter_multi_types
action find
entity Beezie Madden
relation mount
type common name
type horse breed
[{'concept': 'common name'}, 'mount', [{'concept': 'common name'}, {'concept': 'horse breed'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) ?v WHERE { VALUES ( ?c ) { ( ontology:horse_breed ) ( ontology:common_name ) } . ?h rdf:type ?c } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Beezie_Madden property:mount ?q . { ?q rdf:type ?m . VALUES ( ?m ) { ( ontology:common_name ) ( ontology:horse_breed ) } } } } . FILTER ( ?a = ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3147453 Q449891
P27
Q15617994
USER
Which administrative territories do Beezie Madden or Mohammed ibn Rushayd belong to ?
OR((Q449891,P27,c(Q15617994)), (Q3147453,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q449891
relation P27
action find
entity Q3147453
relation P27
type Q15617994
{'OR': [['Q449891', 'P27', {'concept': 'Q15617994'}], ['Q3147453', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?d property:P27 ?i . VALUES ( ?d ) { ( resource:Q3147453 ) ( resource:Q449891 ) } } . ?i rdf:type ontology:Q15617994 }
Mohammed ibn Rushayd Beezie Madden
action filter_type
action union
action find
entity Beezie Madden
relation country of citizenship
action find
entity Mohammed ibn Rushayd
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Beezie Madden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mohammed ibn Rushayd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?d property:country_of_citizenship ?i . VALUES ( ?d ) { ( resource:Mohammed_ibn_Rushayd ) ( resource:Beezie_Madden ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1028
SYSTEM
United States of America, Morocco
Q30 Q1028
OR((Q449891,P27,c(Q15617994)), (Q3147453,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q449891
relation P27
action find
entity Q3147453
relation P27
type Q15617994
Beezie Madden or Mohammed ibn Rushayd belong to the [ANSWERS]
{'OR': [['Q449891', 'P27', {'concept': 'Q15617994'}], ['Q3147453', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?d property:P27 ?i . VALUES ( ?d ) { ( resource:Q3147453 ) ( resource:Q449891 ) } } . ?i rdf:type ontology:Q15617994 }
United States of America Morocco
Beezie Madden or Mohammed ibn Rushayd belong to the United States of America and Morocco
United States of America Morocco
action filter_type
action union
action find
entity Beezie Madden
relation country of citizenship
action find
entity Mohammed ibn Rushayd
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Beezie Madden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mohammed ibn Rushayd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?d property:country_of_citizenship ?i . VALUES ( ?d ) { ( resource:Mohammed_ibn_Rushayd ) ( resource:Beezie_Madden ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with atmost 59 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 59
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?l ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?l <= 59 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?l ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?l <= 59 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
159
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 59
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?l ) WHERE { ?g property:P530 ?x . ?g rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?l <= 59 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
159
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 59
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?l ) WHERE { ?g property:diplomatic_relation ?x . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?l <= 59 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q363843
P22
Q502895
USER
Who have Alain IX de Rohan as a father ?
(c(Q502895),P22,Q363843)
action filter_type
action find_reverse
entity Q363843
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q363843']
SELECT DISTINCT ?c WHERE { ?c property:P22 resource:Q363843 . ?c rdf:type ontology:Q502895 }
Alain IX de Rohan
action filter_type
action find_reverse
entity Alain IX de Rohan
relation father
type common name
[{'concept': 'common name'}, 'father', 'Alain IX de Rohan']
SELECT DISTINCT ?c WHERE { ?c property:father resource:Alain_IX_de_Rohan . ?c rdf:type ontology:common_name }
[]
common name
Q3387671 Q9245790 Q3172657
SYSTEM
Pierre de Quintin, Catherine de Rohan, Jean II de Rohan
Q3387671 Q9245790 Q3172657
(c(Q502895),P22,Q363843)
action filter_type
action find_reverse
entity Q363843
relation P22
type Q502895
[ANSWERS] have Alain IX de Rohan as a father
[{'concept': 'Q502895'}, 'P22', 'Q363843']
SELECT DISTINCT ?c WHERE { ?c property:P22 resource:Q363843 . ?c rdf:type ontology:Q502895 }
Pierre de Quintin Catherine de Rohan Jean II de Rohan
Pierre de Quintin, Catherine de Rohan and Jean II de Rohan have Alain IX de Rohan as a father
Pierre de Quintin Catherine de Rohan Jean II de Rohan
action filter_type
action find_reverse
entity Alain IX de Rohan
relation father
type common name
[{'concept': 'common name'}, 'father', 'Alain IX de Rohan']
SELECT DISTINCT ?c WHERE { ?c property:father resource:Alain_IX_de_Rohan . ?c rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3172657
P21
Q290
USER
Which sex does that person have ?
(Q3172657,P21,c(Q290))
action filter_type
action find
entity Q3172657
relation P21
type Q290
['Q3172657', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3172657 property:P21 ?t . ?t rdf:type ontology:Q290 }
Jean II de Rohan
action filter_type
action find
entity Jean II de Rohan
relation gender
type sex
['Jean II de Rohan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Jean_II_de_Rohan property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q9245790
SYSTEM
Did you mean Catherine de Rohan ?
Q3387671 Q9245790 Q3172657
(Q3387671,P21,c(Q290)) (Q9245790,P21,c(Q290)) (Q3172657,P21,c(Q290))
[ANSWER]
['Q3387671', 'P21', {'concept': 'Q290'}] ['Q9245790', 'P21', {'concept': 'Q290'}] ['Q3172657', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3172657 property:P21 ?t . ?t rdf:type ontology:Q290 }
Pierre de Quintin Catherine de Rohan Jean II de Rohan
Did you mean Catherine de Rohan ?
Catherine de Rohan
['Pierre de Quintin', 'gender', {'concept': 'sex'}] ['Catherine de Rohan', 'gender', {'concept': 'sex'}] ['Jean II de Rohan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Jean_II_de_Rohan property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Jean II de Rohan. Could you tell me the answer for that?
(Q3172657,P21,c(Q290))
Q3172657
['Q3172657', 'P21', {'concept': 'Q290'}]
['Jean II de Rohan', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q3172657,P21,c(Q290))
action filter_type
action find
entity Q3172657
relation P21
type Q290
That person has a [ANSWER]
['Q3172657', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3172657 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jean II de Rohan
relation gender
type sex
['Jean II de Rohan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Jean_II_de_Rohan property:gender ?t . ?t rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q340169 Q11060274
USER
How many administrative territories are expressed in approximately 1 medias or prints ?
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 1
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?c WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?w rdf:type ?r } GROUP BY ?c } . FILTER ( ?x = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 1
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?c WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:print ) } . ?w rdf:type ?r } GROUP BY ?c } . FILTER ( ?x = 1 ) }
[]
designation for an administrative territorial entity media print
SYSTEM
8
Q674904 Q145 Q47505 Q131596 Q17 Q13320 Q376896 Q34876
(c(Q340169)|c(Q11060274),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
value 1
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?c WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q11060274 ) } . ?w rdf:type ?r } GROUP BY ?c } . FILTER ( ?x = 1 ) }
Krumau am Kamp United Kingdom Dolo farm Japan Savona Grenelle province
8
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
value 1
[[{'concept': 'media'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?x ) ?c WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:print ) } . ?w rdf:type ?r } GROUP BY ?c } . FILTER ( ?x = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1028
P463
Q2221906 Q874405
USER
How many geographic locations or social groups were Morocco a member of ?
(Q1028,P463,c(Q2221906)) (Q1028,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q1028
relation P463
type Q2221906
action filter_type
action find
entity Q1028
relation P463
type Q874405
['Q1028', 'P463', {'concept': 'Q2221906'}] ['Q1028', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Q1028 property:P463 ?m . ?m rdf:type ontology:Q874405 } UNION { resource:Q1028 property:P463 ?m . ?m rdf:type ontology:Q2221906 } }
Morocco
action count
action union
action filter_type
action find
entity Morocco
relation member of
type geographic location
action filter_type
action find
entity Morocco
relation member of
type social group
['Morocco', 'member of', {'concept': 'geographic location'}] ['Morocco', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Morocco property:member_of ?m . ?m rdf:type ontology:social_group } UNION { resource:Morocco property:member_of ?m . ?m rdf:type ontology:geographic_location } }
[]
geographic location social group
SYSTEM
2
Q28227 Q47543
(Q1028,P463,c(Q2221906)) (Q1028,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q1028
relation P463
type Q2221906
action filter_type
action find
entity Q1028
relation P463
type Q874405
[ANSWER]
['Q1028', 'P463', {'concept': 'Q2221906'}] ['Q1028', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Q1028 property:P463 ?m . ?m rdf:type ontology:Q874405 } UNION { resource:Q1028 property:P463 ?m . ?m rdf:type ontology:Q2221906 } }
Maghreb Organisation of Islamic Cooperation
2
action count
action union
action filter_type
action find
entity Morocco
relation member of
type geographic location
action filter_type
action find
entity Morocco
relation member of
type social group
['Morocco', 'member of', {'concept': 'geographic location'}] ['Morocco', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Morocco property:member_of ?m . ?m rdf:type ontology:social_group } UNION { resource:Morocco property:member_of ?m . ?m rdf:type ontology:geographic_location } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17351490 Q3147453
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Mohammed ibn Rushayd or Piet Slager ?
OR((Q3147453,P27,c(Q15617994)), (Q17351490,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3147453
relation P27
action find
entity Q17351490
relation P27
type Q15617994
{'OR': [['Q3147453', 'P27', {'concept': 'Q15617994'}], ['Q17351490', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q3147453 property:P27 ?w } UNION { resource:Q17351490 property:P27 ?w } } }
Piet Slager Mohammed ibn Rushayd
action filter_type
action union
action find
entity Mohammed ibn Rushayd
relation country of citizenship
action find
entity Piet Slager
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mohammed ibn Rushayd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Piet Slager', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mohammed_ibn_Rushayd property:country_of_citizenship ?w } UNION { resource:Piet_Slager property:country_of_citizenship ?w } } }
[]
designation for an administrative territorial entity
Q29999 Q1028
SYSTEM
Kingdom of the Netherlands, Morocco
Q29999 Q1028
OR((Q3147453,P27,c(Q15617994)), (Q17351490,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3147453
relation P27
action find
entity Q17351490
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Mohammed ibn Rushayd or Piet Slager
{'OR': [['Q3147453', 'P27', {'concept': 'Q15617994'}], ['Q17351490', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q3147453 property:P27 ?w } UNION { resource:Q17351490 property:P27 ?w } } }
Kingdom of the Netherlands Morocco
Kingdom of the Netherlands and Morocco are the countries of citizenship of Mohammed ibn Rushayd or Piet Slager
Kingdom of the Netherlands Morocco
action filter_type
action union
action find
entity Mohammed ibn Rushayd
relation country of citizenship
action find
entity Piet Slager
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mohammed ibn Rushayd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Piet Slager', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Mohammed_ibn_Rushayd property:country_of_citizenship ?w } UNION { resource:Piet_Slager property:country_of_citizenship ?w } } }
[]