Simple Question (Direct)
Simple Question
Q18402377
P641
Q349
USER
Which sport was Michel Lefèbvre a part of ?
(Q18402377,P641,c(Q349))
action filter_type
action find
entity Q18402377
relation P641
type Q349
['Q18402377', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q18402377 property:P641 ?n . ?n rdf:type ontology:Q349 }
Michel Lefèbvre
action filter_type
action find
entity Michel Lefèbvre
relation sport
type sport
['Michel Lefèbvre', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Michel_Lefèbvre property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18402377,P641,c(Q349))
action filter_type
action find
entity Q18402377
relation P641
type Q349
Which sport was Michel Lefèbvre a part of
['Q18402377', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q18402377 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Which sport was Michel Lefèbvre a part of
association football
action filter_type
action find
entity Michel Lefèbvre
relation sport
type sport
['Michel Lefèbvre', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Michel_Lefèbvre property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18402377
P19
Q20667921
USER
Where was that person born ?
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q18402377
relation P19
type Q20667921
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q20667921 . resource:Q18402377 property:P19 ?z }
Michel Lefèbvre
action filter_type
action find
entity Michel Lefèbvre
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_french_administrative_division . resource:Michel_Lefèbvre property:place_of_birth ?z }
[]
type of french administrative division
Q30974
SYSTEM
Rouen
Q30974
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q18402377
relation P19
type Q20667921
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q20667921 . resource:Q18402377 property:P19 ?z }
Rouen
That person was born in Rouen
Rouen
action filter_type
action find
entity Michel Lefèbvre
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:type_of_french_administrative_division . resource:Michel_Lefèbvre property:place_of_birth ?z }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1605801 Q18402377
P27
Q15617994
USER
Which administrative territories are Michel Lefèbvre and Henri Curiel an inhabitant of ?
AND((Q18402377,P27,c(Q15617994)), (Q1605801,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18402377
relation P27
action find
entity Q1605801
relation P27
type Q15617994
{'AND': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q1605801', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q18402377 property:P27 ?n . resource:Q1605801 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Henri Curiel Michel Lefèbvre
action filter_type
action intersection
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Henri Curiel
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Henri Curiel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Michel_Lefèbvre property:country_of_citizenship ?n . resource:Henri_Curiel property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q18402377,P27,c(Q15617994)), (Q1605801,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18402377
relation P27
action find
entity Q1605801
relation P27
type Q15617994
[ANSWER] is Michel Lefèbvre and Henri Curiel an inhabitant of
{'AND': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q1605801', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q18402377 property:P27 ?n . resource:Q1605801 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
France
France is Michel Lefèbvre and Henri Curiel an inhabitant of
France
action filter_type
action intersection
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Henri Curiel
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Henri Curiel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Michel_Lefèbvre property:country_of_citizenship ?n . resource:Henri_Curiel property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q7725634
USER
Which administrative territories are the countries of origin of approximately the same number of releases or literary works as that administrative territory ?
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2031291
type Q7725634
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?r WHERE { { ?p rdf:type ontology:Q7725634 . ?r rdf:type ontology:Q15617994 . ?p property:P495 ?r } UNION { ?p property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2031291 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P495 resource:Q142 . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?e = ?b ) }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type release
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?r WHERE { { ?p rdf:type ontology:literary_work . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:country_of_origin ?r } UNION { ?p property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:release } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:country_of_origin resource:France . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:release ) ( ontology:literary_work ) } } } } . FILTER ( ?e = ?b ) }
[]
designation for an administrative territorial entity release literary work
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291)|c(Q7725634),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2031291
type Q7725634
[ANSWERS] are the countries of origin of approximately the same number of releases or literary works as that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?r WHERE { { ?p rdf:type ontology:Q7725634 . ?r rdf:type ontology:Q15617994 . ?p property:P495 ?r } UNION { ?p property:P495 ?r . ?r rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2031291 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:P495 resource:Q142 . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } } } } . FILTER ( ?e = ?b ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the countries of origin of approximately the same number of releases or literary works as that administrative territory
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type release
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) ?r WHERE { { ?p rdf:type ontology:literary_work . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:country_of_origin ?r } UNION { ?p property:country_of_origin ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:release } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { ?f property:country_of_origin resource:France . { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:release ) ( ontology:literary_work ) } } } } . FILTER ( ?e = ?b ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6541942
P530
Q15617994
USER
Do Liberty School District have diplomatic relations with those ones ?
(Q6541942,P530,Q38) (Q6541942,P530,Q155) (Q6541942,P530,Q230)
action is_in
entity prev_answer
action find
entity Q6541942
relation P530
['Q6541942', 'P530', 'Q38'] ['Q6541942', 'P530', 'Q155'] ['Q6541942', 'P530', 'Q230']
ASK WHERE { VALUES ( ?c ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q6541942 property:P530 ?c }
Liberty School District
action is_in
entity prev_answer
action find
entity Liberty School District
relation diplomatic relation
['Liberty School District', 'diplomatic relation', 'Italy'] ['Liberty School District', 'diplomatic relation', 'Brazil'] ['Liberty School District', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?c ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Liberty_School_District property:diplomatic_relation ?c }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6541942,P530,Q38) (Q6541942,P530,Q155) (Q6541942,P530,Q230)
action is_in
entity prev_answer
action find
entity Q6541942
relation P530
[ANSWER]
['Q6541942', 'P530', 'Q38'] ['Q6541942', 'P530', 'Q155'] ['Q6541942', 'P530', 'Q230']
ASK WHERE { VALUES ( ?c ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q6541942 property:P530 ?c }
No
action is_in
entity prev_answer
action find
entity Liberty School District
relation diplomatic relation
['Liberty School District', 'diplomatic relation', 'Italy'] ['Liberty School District', 'diplomatic relation', 'Brazil'] ['Liberty School District', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?c ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Liberty_School_District property:diplomatic_relation ?c }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16298522 Q18402377
P27
Q15617994
USER
Which administrative territories are the native countriesof Michel Lefèbvre or Chiche Corte ?
OR((Q18402377,P27,c(Q15617994)), (Q16298522,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18402377
relation P27
action find
entity Q16298522
relation P27
type Q15617994
{'OR': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q16298522', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q18402377 property:P27 ?z } UNION { resource:Q16298522 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Chiche Corte Michel Lefèbvre
action filter_type
action union
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Chiche Corte
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chiche Corte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Michel_Lefèbvre property:country_of_citizenship ?z } UNION { resource:Chiche_Corte property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q733
SYSTEM
France, Paraguay
Q142 Q733
OR((Q18402377,P27,c(Q15617994)), (Q16298522,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q18402377
relation P27
action find
entity Q16298522
relation P27
type Q15617994
[ANSWERS] are the native countriesof Michel Lefèbvre or Chiche Corte
{'OR': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q16298522', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q18402377 property:P27 ?z } UNION { resource:Q16298522 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
France Paraguay
France and Paraguay are the native countriesof Michel Lefèbvre or Chiche Corte
France Paraguay
action filter_type
action union
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Chiche Corte
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Chiche Corte', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Michel_Lefèbvre property:country_of_citizenship ?z } UNION { resource:Chiche_Corte property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10351 Q18402377
P47 P27
Q15617994
USER
Which administrative territories are Michel Lefèbvre a civilian of or have a shared border with Villafranca Piemonte ?
OR((Q18402377,P27,c(Q15617994)), (Q10351,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q18402377
relation P27
action find
entity Q10351
relation P47
type Q15617994
{'OR': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q10351', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q10351 property:P47 ?n } UNION { resource:Q18402377 property:P27 ?n } } }
Villafranca Piemonte Michel Lefèbvre
action filter_type
action union
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Villafranca Piemonte
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Villafranca Piemonte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Villafranca_Piemonte property:shares_border_with ?n } UNION { resource:Michel_Lefèbvre property:country_of_citizenship ?n } } }
[]
designation for an administrative territorial entity
Q142 Q19213 Q20232 Q10350 Q9534 Q18354 Q9239 Q20040
SYSTEM
France, Cardè, Moretta, Vigone, Pancalieri, Barge, Cavour, Faule
Q142 Q19213 Q20232 Q10350 Q9534 Q18354 Q9239 Q20040
OR((Q18402377,P27,c(Q15617994)), (Q10351,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q18402377
relation P27
action find
entity Q10351
relation P47
type Q15617994
[ANSWERS] are Michel Lefèbvre a civilian of or have a shared border with Villafranca Piemonte
{'OR': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q10351', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q10351 property:P47 ?n } UNION { resource:Q18402377 property:P27 ?n } } }
France Cardè Moretta Vigone Pancalieri Barge Cavour Faule
France, Cardè, Moretta, Vigone, Pancalieri, Barge, Cavour and Faule are Michel Lefèbvre a civilian of or have a shared border with Villafranca Piemonte
France Cardè Moretta Vigone Pancalieri Barge Cavour Faule
action filter_type
action union
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Villafranca Piemonte
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Villafranca Piemonte', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Villafranca_Piemonte property:shares_border_with ?n } UNION { resource:Michel_Lefèbvre property:country_of_citizenship ?n } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22570031
P106
Q12737077
USER
Which occupation has Jean-Claude Ferrarin as his/her 's career ?
(Q22570031,P106,c(Q12737077))
action filter_type
action find
entity Q22570031
relation P106
type Q12737077
['Q22570031', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q22570031 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Jean-Claude Ferrarin
action filter_type
action find
entity Jean-Claude Ferrarin
relation occupation
type occupation
['Jean-Claude Ferrarin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jean-Claude_Ferrarin property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q15958185
SYSTEM
racecar driver
Q15958185
(Q22570031,P106,c(Q12737077))
action filter_type
action find
entity Q22570031
relation P106
type Q12737077
The [ANSWER] has Jean-Claude Ferrarin as his/her 's career
['Q22570031', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q22570031 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
racecar driver
The racecar driver has Jean-Claude Ferrarin as his/her 's career
racecar driver
action filter_type
action find
entity Jean-Claude Ferrarin
relation occupation
type occupation
['Jean-Claude Ferrarin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jean-Claude_Ferrarin property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15958185
P921
Q1209283
USER
Which electronic media was primarily based on that occupation ?
(c(Q1209283),P921,Q15958185)
action filter_type
action find_reverse
entity Q15958185
relation P921
type Q1209283
[{'concept': 'Q1209283'}, 'P921', 'Q15958185']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1209283 . ?r property:P921 resource:Q15958185 }
racecar driver
action filter_type
action find_reverse
entity racecar driver
relation main subject
type electronic media
[{'concept': 'electronic media'}, 'main subject', 'racecar driver']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:electronic_media . ?r property:main_subject resource:racecar_driver }
[]
electronic media
Q19587362
SYSTEM
Driver Database
Q19587362
(c(Q1209283),P921,Q15958185)
action filter_type
action find_reverse
entity Q15958185
relation P921
type Q1209283
[ANSWER] was primarily based on that occupation
[{'concept': 'Q1209283'}, 'P921', 'Q15958185']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1209283 . ?r property:P921 resource:Q15958185 }
Driver Database
Driver Database was primarily based on that occupation
Driver Database
action filter_type
action find_reverse
entity racecar driver
relation main subject
type electronic media
[{'concept': 'electronic media'}, 'main subject', 'racecar driver']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:electronic_media . ?r property:main_subject resource:racecar_driver }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P921
Q12737077
USER
How many occupations were the main subjects of that electronic media 's work ?
(Q19587362,P921,c(Q12737077))
action count
action filter_type
action find
entity Q19587362
relation P921
type Q12737077
['Q19587362', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q19587362 property:P921 ?o . ?o rdf:type ontology:Q12737077 }
action count
action filter_type
action find
entity Driver Database
relation main subject
type occupation
['Driver Database', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Driver_Database property:main_subject ?o . ?o rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q15958185
(Q19587362,P921,c(Q12737077))
action count
action filter_type
action find
entity Q19587362
relation P921
type Q12737077
[ANSWER]
['Q19587362', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Q19587362 property:P921 ?o . ?o rdf:type ontology:Q12737077 }
racecar driver
1
action count
action filter_type
action find
entity Driver Database
relation main subject
type occupation
['Driver Database', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { resource:Driver_Database property:main_subject ?o . ?o rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q722733 Q18402377
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Michel Lefèbvre and Richard Bohringer ?
AND((Q18402377,P27,c(Q15617994)), (Q722733,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18402377
relation P27
action find
entity Q722733
relation P27
type Q15617994
{'AND': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q722733', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q722733 property:P27 ?u . resource:Q18402377 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Richard Bohringer Michel Lefèbvre
action filter_type
action intersection
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Richard Bohringer
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Richard Bohringer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Richard_Bohringer property:country_of_citizenship ?u . resource:Michel_Lefèbvre property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q18402377,P27,c(Q15617994)), (Q722733,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18402377
relation P27
action find
entity Q722733
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of Michel Lefèbvre and Richard Bohringer
{'AND': [['Q18402377', 'P27', {'concept': 'Q15617994'}], ['Q722733', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q722733 property:P27 ?u . resource:Q18402377 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
France
France is the countries of citizenship of Michel Lefèbvre and Richard Bohringer
France
action filter_type
action intersection
action find
entity Michel Lefèbvre
relation country of citizenship
action find
entity Richard Bohringer
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Michel Lefèbvre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Richard Bohringer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Richard_Bohringer property:country_of_citizenship ?u . resource:Michel_Lefèbvre property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q640245 Q17
P530
Q15617994
USER
Is that administrative territory known to have diplomatic connections with Geichlingen and Japan ?
(Q142,P530,Q640245) (Q142,P530,Q17)
action is_in
entity Q142
action intersection
action find_reverse
entity Q640245
relation P530
action find_reverse
entity Q17
relation P530
['Q142', 'P530', 'Q640245'] ['Q142', 'P530', 'Q17']
ASK WHERE { resource:Q142 property:P530 resource:Q640245 . resource:Q142 property:P530 resource:Q17 }
France Geichlingen Japan
action is_in
entity France
action intersection
action find_reverse
entity Geichlingen
relation diplomatic relation
action find_reverse
entity Japan
relation diplomatic relation
['France', 'diplomatic relation', 'Geichlingen'] ['France', 'diplomatic relation', 'Japan']
ASK WHERE { resource:France property:diplomatic_relation resource:Geichlingen . resource:France property:diplomatic_relation resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q142,P530,Q640245) (Q142,P530,Q17)
action is_in
entity Q142
action intersection
action find_reverse
entity Q640245
relation P530
action find_reverse
entity Q17
relation P530
[ANSWER]
['Q142', 'P530', 'Q640245'] ['Q142', 'P530', 'Q17']
ASK WHERE { resource:Q142 property:P530 resource:Q640245 . resource:Q142 property:P530 resource:Q17 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Geichlingen
relation diplomatic relation
action find_reverse
entity Japan
relation diplomatic relation
['France', 'diplomatic relation', 'Geichlingen'] ['France', 'diplomatic relation', 'Japan']
ASK WHERE { resource:France property:diplomatic_relation resource:Geichlingen . resource:France property:diplomatic_relation resource:Japan }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3563915 Q38
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy and are the countries of citizenship of Vytautas Kasiulis ?
AND((Q38,P530,c(Q15617994)), (Q3563915,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3563915
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3563915', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q38 property:P530 ?j . resource:Q3563915 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Vytautas Kasiulis Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Vytautas Kasiulis
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vytautas Kasiulis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Italy property:diplomatic_relation ?j . resource:Vytautas_Kasiulis property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q37
SYSTEM
Lithuania
Q37
AND((Q38,P530,c(Q15617994)), (Q3563915,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q3563915
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Italy and are the countries of citizenship of Vytautas Kasiulis
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q3563915', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q38 property:P530 ?j . resource:Q3563915 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Lithuania
Lithuania have diplomatic relationships with Italy and are the countries of citizenship of Vytautas Kasiulis
Lithuania
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Vytautas Kasiulis
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vytautas Kasiulis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Italy property:diplomatic_relation ?j . resource:Vytautas_Kasiulis property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]