Simple Question (Direct)
Simple Question
Q761662
P463
Q19335303
USER
What was August Hedinger a member of ?
(Q761662,P463,c(Q19335303))
action filter_type
action find
entity Q761662
relation P463
type Q19335303
['Q761662', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?i WHERE { resource:Q761662 property:P463 ?i . ?i rdf:type ontology:Q19335303 }
August Hedinger
action filter_type
action find
entity August Hedinger
relation member of
type type of business entity in Germany
['August Hedinger', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?i WHERE { resource:August_Hedinger property:member_of ?i . ?i rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q761662,P463,c(Q19335303))
action filter_type
action find
entity Q761662
relation P463
type Q19335303
August Hedinger was a member of [ANSWER]
['Q761662', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?i WHERE { resource:Q761662 property:P463 ?i . ?i rdf:type ontology:Q19335303 }
German Academy of Sciences Leopoldina
August Hedinger was a member of German Academy of Sciences Leopoldina
German Academy of Sciences Leopoldina
action filter_type
action find
entity August Hedinger
relation member of
type type of business entity in Germany
['August Hedinger', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?i WHERE { resource:August_Hedinger property:member_of ?i . ?i rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q543804
P17
Q1048835
USER
Which political territory is that German business organization a part of ?
(Q543804,P17,c(Q1048835))
action filter_type
action find
entity Q543804
relation P17
type Q1048835
['Q543804', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q543804 property:P17 ?a }
German Academy of Sciences Leopoldina
action filter_type
action find
entity German Academy of Sciences Leopoldina
relation country
type political territorial entity
['German Academy of Sciences Leopoldina', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:German_Academy_of_Sciences_Leopoldina property:country ?a }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q543804,P17,c(Q1048835))
action filter_type
action find
entity Q543804
relation P17
type Q1048835
[ANSWER] is that German business organization a part of
['Q543804', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q543804 property:P17 ?a }
Germany
Germany is that German business organization a part of
Germany
action filter_type
action find
entity German Academy of Sciences Leopoldina
relation country
type political territorial entity
['German Academy of Sciences Leopoldina', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:German_Academy_of_Sciences_Leopoldina property:country ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q1267889 Q1048835
USER
How many political territories are situated in the neighbourhood of around 6 watercourses and waterways ?
(c(Q1048835),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
value 6
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?c WHERE { { ?c property:P206 ?t . ?c rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q355304 } UNION { ?c property:P206 ?t . ?c rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1267889 } } GROUP BY ?c } . FILTER ( ?q = 6 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
value 6
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?c WHERE { { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:watercourse } UNION { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:waterway } } GROUP BY ?c } . FILTER ( ?q = 6 ) }
[]
watercourse waterway political territorial entity
SYSTEM
1
Q40
(c(Q1048835),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q1048835
type Q355304
action find_tuple_counts
relation P206
type Q1048835
type Q1267889
value 6
[ANSWER]
[{'concept': 'Q1048835'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?c WHERE { { ?c property:P206 ?t . ?c rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q355304 } UNION { ?c property:P206 ?t . ?c rdf:type ontology:Q1048835 . ?t rdf:type ontology:Q1267889 } } GROUP BY ?c } . FILTER ( ?q = 6 ) }
Austria
1
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type political territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type political territorial entity
type waterway
value 6
[{'concept': 'political territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) ?c WHERE { { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:watercourse } UNION { ?c property:located_next_to_body_of_water ?t . ?c rdf:type ontology:political_territorial_entity . ?t rdf:type ontology:waterway } } GROUP BY ?c } . FILTER ( ?q = 6 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q846
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Germany or Qatar ?
(Q183,P530,c(Q15617994)) (Q846,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q183
relation P530
type Q15617994
action filter_type
action find
entity Q846
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q846', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?d } UNION { resource:Q846 property:P530 ?d . ?d rdf:type ontology:Q15617994 } }
Germany Qatar
action count
action union
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?d } UNION { resource:Qatar property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
125
Q805 Q804 Q217 Q801 Q800 Q843 Q184 Q1029 Q1028 Q419 Q265 Q668 Q96 Q228 Q414 Q142 Q225 Q224 Q55 Q222 Q145 Q115 Q262 Q148 Q783 Q786 Q347 Q17 Q1011 Q902 Q1036 Q833 Q711 Q1008 Q717 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q252 Q114 Q117 Q403 Q657 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q214 Q41 Q155 Q218 Q215 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q916 Q986 Q219 Q1007 Q1006 Q1005 Q1037 Q1009 Q974 Q948 Q971 Q241 Q242 Q1032 Q983 Q189 Q229 Q774 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q79 Q34 Q77 Q929 Q39 Q38 Q1016 Q878 Q739 Q227 Q423 Q810 Q1019 Q851 Q733 Q734 Q736 Q869 Q730 Q945 Q912 Q230 Q232 Q233 Q238 Q20 Q1045 Q917 Q1041 Q27 Q28 Q29 Q953 Q1049
(Q183,P530,c(Q15617994)) (Q846,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q183
relation P530
type Q15617994
action filter_type
action find
entity Q846
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}] ['Q846', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?d } UNION { resource:Q846 property:P530 ?d . ?d rdf:type ontology:Q15617994 } }
Yemen Panama Republic of Moldova Israel Costa Rica Pakistan Belarus Mozambique Morocco Peru Uzbekistan India Mexico Andorra Argentina France Bosnia and Herzegovina Croatia Netherlands Albania United Kingdom Ethiopia Algeria People's Republic of China Honduras Dominican Republic Liechtenstein Japan Cape Verde Bangladesh Uganda Malaysia Mongolia Côte d'Ivoire Venezuela Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Indonesia Kenya Ghana Serbia Chad South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Slovakia Greece Brazil Romania Slovenia Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Angola Eritrea Bulgaria Guinea-Bissau Guinea Gambia Rwanda Cameroon Democratic Republic of the Congo Tunisia Republic of the Congo Cuba Belize Niger Equatorial Guinea Iceland Cyprus Guatemala Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Egypt Sweden Uruguay Central African Republic Switzerland Italy Libya United Arab Emirates Colombia Azerbaijan North Korea Jordan Madagascar Saudi Arabia Paraguay Guyana Ecuador Thailand Suriname Togo Mali Georgia Kazakhstan Malta San Marino Norway Somalia Bhutan Senegal Ireland Hungary Spain Zambia Sudan
125
action count
action union
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?d } UNION { resource:Qatar property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q15629606 Q183
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany and are not Choeng Thale present in ?
AND((Q183,P530,c(Q15617994)), NOT((Q15629606,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q15629606
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q15629606', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?x WHERE { resource:Q183 property:P530 ?x . MINUS { resource:Q15629606 property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
Choeng Thale Germany
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Choeng Thale
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Choeng Thale', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?x WHERE { resource:Germany property:diplomatic_relation ?x . MINUS { resource:Choeng_Thale property:country ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q32 Q983 Q228 Q414 Q878 Q232 Q717 Q423 Q241 Q38
SYSTEM
Some of them are Luxembourg, Equatorial Guinea, Andorra, Argentina, United Arab Emirates, Kazakhstan, Venezuela, North Korea, Cuba, Italy
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q953
AND((Q183,P530,c(Q15617994)), NOT((Q15629606,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q183
relation P530
action find
entity Q15629606
relation P17
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany and are not Choeng Thale present in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q15629606', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?x WHERE { resource:Q183 property:P530 ?x . MINUS { resource:Q15629606 property:P17 ?x } . ?x rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Zambia
Luxembourg, Equatorial Guinea, Andorra, Argentina, United Arab Emirates, Kazakhstan, Venezuela, North Korea, Cuba and Italy have a diplomatic relationship with Germany and are not Choeng Thale present in
Luxembourg Equatorial Guinea Andorra Argentina United Arab Emirates Kazakhstan Venezuela North Korea Cuba Italy
action filter_type
action difference
action find
entity Germany
relation diplomatic relation
action find
entity Choeng Thale
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Choeng Thale', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?x WHERE { resource:Germany property:diplomatic_relation ?x . MINUS { resource:Choeng_Thale 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
Q183
P530
Q1048835
USER
Do Germany have ambassadorial relations with those administrative territories ?
(Q183,P530,Q32) (Q183,P530,Q983) (Q183,P530,Q228) (Q183,P530,Q414) (Q183,P530,Q878) (Q183,P530,Q232) (Q183,P530,Q717) (Q183,P530,Q423) (Q183,P530,Q241) (Q183,P530,Q38)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q983'] ['Q183', 'P530', 'Q228'] ['Q183', 'P530', 'Q414'] ['Q183', 'P530', 'Q878'] ['Q183', 'P530', 'Q232'] ['Q183', 'P530', 'Q717'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q241'] ['Q183', 'P530', 'Q38']
ASK WHERE { VALUES ( ?o ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?o }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Equatorial Guinea'] ['Germany', 'diplomatic relation', 'Andorra'] ['Germany', 'diplomatic relation', 'Argentina'] ['Germany', 'diplomatic relation', 'United Arab Emirates'] ['Germany', 'diplomatic relation', 'Kazakhstan'] ['Germany', 'diplomatic relation', 'Venezuela'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'Cuba'] ['Germany', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?o ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?o }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q32) (Q183,P530,Q983) (Q183,P530,Q228) (Q183,P530,Q414) (Q183,P530,Q878) (Q183,P530,Q232) (Q183,P530,Q717) (Q183,P530,Q423) (Q183,P530,Q241) (Q183,P530,Q38)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q32'] ['Q183', 'P530', 'Q983'] ['Q183', 'P530', 'Q228'] ['Q183', 'P530', 'Q414'] ['Q183', 'P530', 'Q878'] ['Q183', 'P530', 'Q232'] ['Q183', 'P530', 'Q717'] ['Q183', 'P530', 'Q423'] ['Q183', 'P530', 'Q241'] ['Q183', 'P530', 'Q38']
ASK WHERE { VALUES ( ?o ) { ( resource:Q804 ) ( resource:Q801 ) ( resource:Q800 ) } . resource:Q183 property:P530 ?o }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Luxembourg'] ['Germany', 'diplomatic relation', 'Equatorial Guinea'] ['Germany', 'diplomatic relation', 'Andorra'] ['Germany', 'diplomatic relation', 'Argentina'] ['Germany', 'diplomatic relation', 'United Arab Emirates'] ['Germany', 'diplomatic relation', 'Kazakhstan'] ['Germany', 'diplomatic relation', 'Venezuela'] ['Germany', 'diplomatic relation', 'North Korea'] ['Germany', 'diplomatic relation', 'Cuba'] ['Germany', 'diplomatic relation', 'Italy']
ASK WHERE { VALUES ( ?o ) { ( resource:Panama ) ( resource:Israel ) ( resource:Costa_Rica ) } . resource:Germany property:diplomatic_relation ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q635708
P47
Q15617994
USER
Does Elxleben share the border with Italy ?
(Q38,P47,Q635708)
action is_in
entity Q635708
action find
entity Q38
relation P47
['Q38', 'P47', 'Q635708']
ASK WHERE { resource:Q38 property:P47 resource:Q635708 }
Italy Elxleben
action is_in
entity Elxleben
action find
entity Italy
relation shares border with
['Italy', 'shares border with', 'Elxleben']
ASK WHERE { resource:Italy property:shares_border_with resource:Elxleben }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q38,P47,Q635708)
action is_in
entity Q635708
action find
entity Q38
relation P47
[ANSWER]
['Q38', 'P47', 'Q635708']
ASK WHERE { resource:Q38 property:P47 resource:Q635708 }
No
action is_in
entity Elxleben
action find
entity Italy
relation shares border with
['Italy', 'shares border with', 'Elxleben']
ASK WHERE { resource:Italy property:shares_border_with resource:Elxleben }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q761662 Q183
P27
Q1048835
USER
Is that person a civilian of Germany ?
(Q761662,P27,Q183)
action is_in
entity Q183
action find
entity Q761662
relation P27
['Q761662', 'P27', 'Q183']
ASK WHERE { resource:Q761662 property:P27 resource:Q183 }
August Hedinger Germany
action is_in
entity Germany
action find
entity August Hedinger
relation country of citizenship
['August Hedinger', 'country of citizenship', 'Germany']
ASK WHERE { resource:August_Hedinger property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q761662,P27,Q183)
action is_in
entity Q183
action find
entity Q761662
relation P27
[ANSWER]
['Q761662', 'P27', 'Q183']
ASK WHERE { resource:Q761662 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity August Hedinger
relation country of citizenship
['August Hedinger', 'country of citizenship', 'Germany']
ASK WHERE { resource:August_Hedinger property:country_of_citizenship resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q761662
P69
Q3918
USER
Which university is that person an alumni of ?
action filter_type
action find
entity Q761662
relation P69
type Q3918
SELECT DISTINCT ?w WHERE { resource:Q761662 property:P69 ?w . ?w rdf:type ontology:Q3918 }
August Hedinger
action filter_type
action find
entity August Hedinger
relation educated at
type university
SELECT DISTINCT ?w WHERE { resource:August_Hedinger property:educated_at ?w . ?w rdf:type ontology:university }
[]
university
Q153978
SYSTEM
University of Tübingen
Q153978
action filter_type
action find
entity Q761662
relation P69
type Q3918
[ANSWER] is that person an alumni of
SELECT DISTINCT ?w WHERE { resource:Q761662 property:P69 ?w . ?w rdf:type ontology:Q3918 }
University of Tübingen
University of Tübingen is that person an alumni of
University of Tübingen
action filter_type
action find
entity August Hedinger
relation educated at
type university
SELECT DISTINCT ?w WHERE { resource:August_Hedinger property:educated_at ?w . ?w rdf:type ontology:university }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P127
Q3918 Q4830453 Q483110
USER
Which universities are the owners of greater number of business enterprises and stadia than that university ?
(c(Q4830453)|c(Q483110),P127,c(Q3918))
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q3918
type Q4830453
action find_reverse_tuple_counts
relation P127
type Q3918
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q153978
relation P127
type Q4830453
type Q483110
[[{'concept': 'Q4830453'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?a WHERE { VALUES ( ?m ) { ( ontology:Q4830453 ) ( ontology:Q483110 ) } . ?y rdf:type ?m } GROUP BY ?a } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P127 resource:Q153978 . { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:Q4830453 ) ( ontology:Q483110 ) } } } } }
action greater
action union
action find_reverse_tuple_counts
relation owned by
type university
type business enterprise
action find_reverse_tuple_counts
relation owned by
type university
type stadium
action count
action filter_multi_types
action find_reverse
entity University of Tübingen
relation owned by
type business enterprise
type stadium
[[{'concept': 'business enterprise'}, {'concept': 'stadium'}], 'owned by', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?a WHERE { VALUES ( ?m ) { ( ontology:business_enterprise ) ( ontology:stadium ) } . ?y rdf:type ?m } GROUP BY ?a } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:owned_by resource:University_of_Tübingen . { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:business_enterprise ) ( ontology:stadium ) } } } } }
[]
university business enterprise stadium
Q1307345 Q1026846 Q2302336
SYSTEM
University of Maine, California Polytechnic State University, University of Montana
Q1307345 Q139901 Q2503794 Q766145 Q2302336 Q1026846 Q503419
(c(Q4830453)|c(Q483110),P127,c(Q3918))
action greater
action union
action find_reverse_tuple_counts
relation P127
type Q3918
type Q4830453
action find_reverse_tuple_counts
relation P127
type Q3918
type Q483110
action count
action filter_multi_types
action find_reverse
entity Q153978
relation P127
type Q4830453
type Q483110
[ANSWERS] are the owners of greater number of business enterprises and stadia than that university
[[{'concept': 'Q4830453'}, {'concept': 'Q483110'}], 'P127', {'concept': 'Q3918'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?a WHERE { VALUES ( ?m ) { ( ontology:Q4830453 ) ( ontology:Q483110 ) } . ?y rdf:type ?m } GROUP BY ?a } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:P127 resource:Q153978 . { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:Q4830453 ) ( ontology:Q483110 ) } } } } }
University of Maine Northern Arizona University Northumbria University University of Oregon University of Montana California Polytechnic State University University of Arizona
University of Maine, California Polytechnic State University and University of Montana are the owners of greater number of business enterprises and stadia than that university
University of Maine California Polytechnic State University University of Montana
action greater
action union
action find_reverse_tuple_counts
relation owned by
type university
type business enterprise
action find_reverse_tuple_counts
relation owned by
type university
type stadium
action count
action filter_multi_types
action find_reverse
entity University of Tübingen
relation owned by
type business enterprise
type stadium
[[{'concept': 'business enterprise'}, {'concept': 'stadium'}], 'owned by', {'concept': 'university'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?a WHERE { VALUES ( ?m ) { ( ontology:business_enterprise ) ( ontology:stadium ) } . ?y rdf:type ?m } GROUP BY ?a } . FILTER ( ?l > ?n ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?n ) WHERE { ?i property:owned_by resource:University_of_Tübingen . { ?i rdf:type ?q . VALUES ( ?q ) { ( ontology:business_enterprise ) ( ontology:stadium ) } } } } }
[]