Simple Question (Direct)
Simple Question
Q2476349
P512
Q3412758
USER
What is the name of the degree held by Ulrich Moennig ?
(Q2476349,P512,c(Q3412758))
action filter_type
action find
entity Q2476349
relation P512
type Q3412758
['Q2476349', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3412758 . resource:Q2476349 property:P512 ?e }
Ulrich Moennig
action filter_type
action find
entity Ulrich Moennig
relation academic degree
type qualification
['Ulrich Moennig', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:qualification . resource:Ulrich_Moennig property:academic_degree ?e }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q2476349,P512,c(Q3412758))
action filter_type
action find
entity Q2476349
relation P512
type Q3412758
The name of the degree held by Ulrich Moennig is the [ANSWER]
['Q2476349', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q3412758 . resource:Q2476349 property:P512 ?e }
doctoral degree
The name of the degree held by Ulrich Moennig is the doctoral degree
doctoral degree
action filter_type
action find
entity Ulrich Moennig
relation academic degree
type qualification
['Ulrich Moennig', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:qualification . resource:Ulrich_Moennig property:academic_degree ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2476349
P19
Q15617994
USER
Which administrative territory was that person born at ?
(Q849697,P19,c(Q15617994))
action filter_type
action find
entity Q2476349
relation P19
type Q15617994
['Q849697', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2476349 property:P19 ?e }
Ulrich Moennig
action filter_type
action find
entity Ulrich Moennig
relation place of birth
type designation for an administrative territorial entity
['doctoral degree', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ulrich_Moennig property:place_of_birth ?e }
[]
designation for an administrative territorial entity
Q4011
SYSTEM
Wesel
Q4011
(Q849697,P19,c(Q15617994))
action filter_type
action find
entity Q2476349
relation P19
type Q15617994
That person was born in [ANSWER]
['Q849697', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2476349 property:P19 ?e }
Wesel
That person was born in Wesel
Wesel
action filter_type
action find
entity Ulrich Moennig
relation place of birth
type designation for an administrative territorial entity
['doctoral degree', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ulrich_Moennig property:place_of_birth ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4011
P355
Q2072431
USER
Which passenger transportation is an auxiliary of that administrative territory ?
(Q4011,P355,c(Q2072431))
action filter_type
action find
entity Q4011
relation P355
type Q2072431
['Q4011', 'P355', {'concept': 'Q2072431'}]
SELECT DISTINCT ?g WHERE { resource:Q4011 property:P355 ?g . ?g rdf:type ontology:Q2072431 }
Wesel
action filter_type
action find
entity Wesel
relation subsidiary
type passenger transportation
['Wesel', 'subsidiary', {'concept': 'passenger transportation'}]
SELECT DISTINCT ?g WHERE { resource:Wesel property:subsidiary ?g . ?g rdf:type ontology:passenger_transportation }
[]
passenger transportation
Q1651552
SYSTEM
Niederrheinische Verkehrsbetriebe
Q1651552
(Q4011,P355,c(Q2072431))
action filter_type
action find
entity Q4011
relation P355
type Q2072431
[ANSWER] is an auxiliary of that administrative territory
['Q4011', 'P355', {'concept': 'Q2072431'}]
SELECT DISTINCT ?g WHERE { resource:Q4011 property:P355 ?g . ?g rdf:type ontology:Q2072431 }
Niederrheinische Verkehrsbetriebe
Niederrheinische Verkehrsbetriebe is an auxiliary of that administrative territory
Niederrheinische Verkehrsbetriebe
action filter_type
action find
entity Wesel
relation subsidiary
type passenger transportation
['Wesel', 'subsidiary', {'concept': 'passenger transportation'}]
SELECT DISTINCT ?g WHERE { resource:Wesel property:subsidiary ?g . ?g rdf:type ontology:passenger_transportation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P355
Q15617994 Q515
USER
How many administrative territories or cities have that passenger transportation as their subsidiary ?
(c(Q15617994),P355,Q1651552) (c(Q515),P355,Q1651552) (c(Q15617994),P355,Q1651552) (c(Q515),P355,Q1651552)
action count
action union
action filter_type
action find_reverse
entity Q1651552
relation P355
type Q15617994
action filter_type
action find_reverse
entity Q1651552
relation P355
type Q515
[{'concept': 'Q15617994'}, 'P355', 'Q1651552'] [{'concept': 'Q515'}, 'P355', 'Q1651552'] [{'concept': 'Q15617994'}, 'P355', 'Q1651552'] [{'concept': 'Q515'}, 'P355', 'Q1651552']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } }
action count
action union
action filter_type
action find_reverse
entity Niederrheinische Verkehrsbetriebe
relation subsidiary
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Niederrheinische Verkehrsbetriebe
relation subsidiary
type city
[{'concept': 'designation for an administrative territorial entity'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe'] [{'concept': 'city'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe'] [{'concept': 'designation for an administrative territorial entity'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe'] [{'concept': 'city'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } }
[]
designation for an administrative territorial entity city
SYSTEM
2
Q4011 Q2100
(c(Q15617994),P355,Q1651552) (c(Q515),P355,Q1651552) (c(Q15617994),P355,Q1651552) (c(Q515),P355,Q1651552)
action count
action union
action filter_type
action find_reverse
entity Q1651552
relation P355
type Q15617994
action filter_type
action find_reverse
entity Q1651552
relation P355
type Q515
[ANSWER]
[{'concept': 'Q15617994'}, 'P355', 'Q1651552'] [{'concept': 'Q515'}, 'P355', 'Q1651552'] [{'concept': 'Q15617994'}, 'P355', 'Q1651552'] [{'concept': 'Q515'}, 'P355', 'Q1651552']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } }
Wesel Duisburg
2
action count
action union
action filter_type
action find_reverse
entity Niederrheinische Verkehrsbetriebe
relation subsidiary
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Niederrheinische Verkehrsbetriebe
relation subsidiary
type city
[{'concept': 'designation for an administrative territorial entity'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe'] [{'concept': 'city'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe'] [{'concept': 'designation for an administrative territorial entity'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe'] [{'concept': 'city'}, 'subsidiary', 'Niederrheinische Verkehrsbetriebe']
SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { ?b rdf:type ?e . VALUES ( ?e ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q842
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with greater number of administrative territories than Oman ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q842 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?x ) }
Oman
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Oman property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
102
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q236 Q230 Q233 Q27 Q28 Q1049 Q189 Q843 Q184 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q191 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q219 Q916 Q1009 Q1008 Q971 Q874 Q79 Q77 Q858 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Q842 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?x ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Montenegro Georgia Malta Ireland Hungary Sudan Iceland Pakistan Belarus Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Estonia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Angola Cameroon Côte d'Ivoire Republic of the Congo Turkmenistan Egypt Uruguay Syria United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
102
action count
action greater
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?w ) AS ?t ) WHERE { ?w property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) WHERE { resource:Oman property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q85878 Q4011
P27 P17
Q1048835
USER
Which political territories are Wesel a part of or are Andreas P. Pittler a civilian of ?
OR((Q4011,P17,c(Q1048835)), (Q85878,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4011
relation P17
action find
entity Q85878
relation P27
type Q1048835
{'OR': [['Q4011', 'P17', {'concept': 'Q1048835'}], ['Q85878', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q85878 property:P27 ?h } UNION { resource:Q4011 property:P17 ?h } } }
Andreas P. Pittler Wesel
action filter_type
action union
action find
entity Wesel
relation country
action find
entity Andreas P. Pittler
relation country of citizenship
type political territorial entity
{'OR': [['Wesel', 'country', {'concept': 'political territorial entity'}], ['Andreas P. Pittler', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Andreas_P._Pittler property:country_of_citizenship ?h } UNION { resource:Wesel property:country ?h } } }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q4011,P17,c(Q1048835)), (Q85878,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4011
relation P17
action find
entity Q85878
relation P27
type Q1048835
[ANSWERS] are Wesel a part of or are Andreas P. Pittler a civilian of
{'OR': [['Q4011', 'P17', {'concept': 'Q1048835'}], ['Q85878', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . { { resource:Q85878 property:P27 ?h } UNION { resource:Q4011 property:P17 ?h } } }
Germany Austria
Germany and Austria are Wesel a part of or are Andreas P. Pittler a civilian of
Germany Austria
action filter_type
action union
action find
entity Wesel
relation country
action find
entity Andreas P. Pittler
relation country of citizenship
type political territorial entity
{'OR': [['Wesel', 'country', {'concept': 'political territorial entity'}], ['Andreas P. Pittler', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . { { resource:Andreas_P._Pittler property:country_of_citizenship ?h } UNION { resource:Wesel property:country ?h } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P127
Q1048835 Q3947 Q41176
USER
Which political territories do max number of houses and buildings belong to ?
(c(Q3947)|c(Q41176),P127,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
[[{'concept': 'Q3947'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?r WHERE { { ?w property:P127 ?r . ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q3947 } UNION { ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q41176 . ?w property:P127 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?q WHERE { { ?y property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q3947 } UNION { ?y property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q41176 } } GROUP BY ?q } . FILTER ( ?d = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
[[{'concept': 'house'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?r WHERE { { ?w property:owned_by ?r . ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:house } UNION { ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:building . ?w property:owned_by ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?q WHERE { { ?y property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:house } UNION { ?y property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:building } } GROUP BY ?q } . FILTER ( ?d = ?l ) }
[]
political territorial entity house building
Q183
SYSTEM
Germany
Q183
(c(Q3947)|c(Q41176),P127,c(Q1048835))
action argmax
action union
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q3947
action find_reverse_tuple_counts
relation P127
type Q1048835
type Q41176
[ANSWER] max number of houses and buildings belong to
[[{'concept': 'Q3947'}, {'concept': 'Q41176'}], 'P127', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?r WHERE { { ?w property:P127 ?r . ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q3947 } UNION { ?r rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q41176 . ?w property:P127 ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?q WHERE { { ?y property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q3947 } UNION { ?y property:P127 ?q . ?q rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q41176 } } GROUP BY ?q } . FILTER ( ?d = ?l ) }
Germany
Germany max number of houses and buildings belong to
Germany
action argmax
action union
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type house
action find_reverse_tuple_counts
relation owned by
type political territorial entity
type building
[[{'concept': 'house'}, {'concept': 'building'}], 'owned by', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) ?r WHERE { { ?w property:owned_by ?r . ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:house } UNION { ?r rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:building . ?w property:owned_by ?r } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) ?q WHERE { { ?y property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:house } UNION { ?y property:owned_by ?q . ?q rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:building } } GROUP BY ?q } . FILTER ( ?d = ?l ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q403 Q155
P530
Q15617994
USER
Is that political territory known to have diplomatic connections with Serbia and Brazil ?
(Q183,P530,Q403) (Q183,P530,Q155)
action is_in
entity Q183
action intersection
action find_reverse
entity Q403
relation P530
action find_reverse
entity Q155
relation P530
['Q183', 'P530', 'Q403'] ['Q183', 'P530', 'Q155']
ASK WHERE { resource:Q183 property:P530 resource:Q403 . resource:Q183 property:P530 resource:Q155 }
Germany Serbia Brazil
action is_in
entity Germany
action intersection
action find_reverse
entity Serbia
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Germany', 'diplomatic relation', 'Serbia'] ['Germany', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Serbia . resource:Germany property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q403) (Q183,P530,Q155)
action is_in
entity Q183
action intersection
action find_reverse
entity Q403
relation P530
action find_reverse
entity Q155
relation P530
[ANSWER]
['Q183', 'P530', 'Q403'] ['Q183', 'P530', 'Q155']
ASK WHERE { resource:Q183 property:P530 resource:Q403 . resource:Q183 property:P530 resource:Q155 }
Yes
action is_in
entity Germany
action intersection
action find_reverse
entity Serbia
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['Germany', 'diplomatic relation', 'Serbia'] ['Germany', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Serbia . resource:Germany property:diplomatic_relation resource:Brazil }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1651552 Q4320680 Q4512339
P17
Q1048835
USER
Is Niederrheinische Verkehrsbetriebe located in Mykolaipillia and Chervonoivanivka ?
(Q1651552,P17,Q4320680) (Q1651552,P17,Q4512339)
action is_in
entity Q1651552
action intersection
action find_reverse
entity Q4320680
relation P17
action find_reverse
entity Q4512339
relation P17
['Q1651552', 'P17', 'Q4320680'] ['Q1651552', 'P17', 'Q4512339']
ASK WHERE { resource:Q1651552 property:P17 resource:Q4320680 . resource:Q1651552 property:P17 resource:Q4512339 }
Niederrheinische Verkehrsbetriebe Mykolaipillia Chervonoivanivka
action is_in
entity Niederrheinische Verkehrsbetriebe
action intersection
action find_reverse
entity Mykolaipillia
relation country
action find_reverse
entity Chervonoivanivka
relation country
['Niederrheinische Verkehrsbetriebe', 'country', 'Mykolaipillia'] ['Niederrheinische Verkehrsbetriebe', 'country', 'Chervonoivanivka']
ASK WHERE { resource:Niederrheinische_Verkehrsbetriebe property:country resource:Mykolaipillia . resource:Niederrheinische_Verkehrsbetriebe property:country resource:Chervonoivanivka }
[]
political territorial entity
SYSTEM
NO
(Q1651552,P17,Q4320680) (Q1651552,P17,Q4512339)
action is_in
entity Q1651552
action intersection
action find_reverse
entity Q4320680
relation P17
action find_reverse
entity Q4512339
relation P17
[ANSWER]
['Q1651552', 'P17', 'Q4320680'] ['Q1651552', 'P17', 'Q4512339']
ASK WHERE { resource:Q1651552 property:P17 resource:Q4320680 . resource:Q1651552 property:P17 resource:Q4512339 }
No
action is_in
entity Niederrheinische Verkehrsbetriebe
action intersection
action find_reverse
entity Mykolaipillia
relation country
action find_reverse
entity Chervonoivanivka
relation country
['Niederrheinische Verkehrsbetriebe', 'country', 'Mykolaipillia'] ['Niederrheinische Verkehrsbetriebe', 'country', 'Chervonoivanivka']
ASK WHERE { resource:Niederrheinische_Verkehrsbetriebe property:country resource:Mykolaipillia . resource:Niederrheinische_Verkehrsbetriebe property:country resource:Chervonoivanivka }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q183 Q164867 Q4323084
P530
Q1048835
USER
Is Germany known to have diplomatic connections with Rügen and Novooleksandrivske ?
(Q183,P530,Q164867) (Q183,P530,Q4323084)
action is_in
entity Q183
action intersection
action find_reverse
entity Q164867
relation P530
action find_reverse
entity Q4323084
relation P530
['Q183', 'P530', 'Q164867'] ['Q183', 'P530', 'Q4323084']
ASK WHERE { resource:Q183 property:P530 resource:Q4323084 . resource:Q183 property:P530 resource:Q164867 }
Germany Rügen Novooleksandrivske
action is_in
entity Germany
action intersection
action find_reverse
entity Rügen
relation diplomatic relation
action find_reverse
entity Novooleksandrivske
relation diplomatic relation
['Germany', 'diplomatic relation', 'Rügen'] ['Germany', 'diplomatic relation', 'Novooleksandrivske']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Novooleksandrivske . resource:Germany property:diplomatic_relation resource:Rügen }
[]
political territorial entity
SYSTEM
NO
(Q183,P530,Q164867) (Q183,P530,Q4323084)
action is_in
entity Q183
action intersection
action find_reverse
entity Q164867
relation P530
action find_reverse
entity Q4323084
relation P530
[ANSWER]
['Q183', 'P530', 'Q164867'] ['Q183', 'P530', 'Q4323084']
ASK WHERE { resource:Q183 property:P530 resource:Q4323084 . resource:Q183 property:P530 resource:Q164867 }
No
action is_in
entity Germany
action intersection
action find_reverse
entity Rügen
relation diplomatic relation
action find_reverse
entity Novooleksandrivske
relation diplomatic relation
['Germany', 'diplomatic relation', 'Rügen'] ['Germany', 'diplomatic relation', 'Novooleksandrivske']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Novooleksandrivske . resource:Germany property:diplomatic_relation resource:Rügen }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P30
Q2221906
USER
Where is Germany situated ?
action filter_type
action find
entity Q183
relation P30
type Q2221906
SELECT DISTINCT ?c WHERE { resource:Q183 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Germany
action filter_type
action find
entity Germany
relation continent
type geographic location
SELECT DISTINCT ?c WHERE { resource:Germany property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
action filter_type
action find
entity Q183
relation P30
type Q2221906
Germany is situated in [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q183 property:P30 ?c . ?c rdf:type ontology:Q2221906 }
Europe
Germany is situated in Europe
Europe
action filter_type
action find
entity Germany
relation continent
type geographic location
SELECT DISTINCT ?c WHERE { resource:Germany property:continent ?c . ?c rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P6
Q502895
USER
Who are the heads of the government of Germany ?
(Q183,P6,c(Q502895))
action filter_type
action find
entity Q183
relation P6
type Q502895
['Q183', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q183 property:P6 ?i }
Germany
action filter_type
action find
entity Germany
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Germany property:head_of_government ?i }
[]
common name
Q2492 Q2514 Q567
SYSTEM
Konrad Adenauer, Willy Brandt, Angela Merkel
Q2492 Q2518 Q2530 Q2496 Q2514 Q2516 Q2571 Q2512 Q567
(Q183,P6,c(Q502895))
action filter_type
action find
entity Q183
relation P6
type Q502895
The heads of the government of Germany are the [ANSWERS]
['Q183', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q183 property:P6 ?i }
Konrad Adenauer Helmut Kohl Gerhard Schröder Ludwig Erhard Willy Brandt Helmut Schmidt Walter Scheel Kurt Georg Kiesinger Angela Merkel
The heads of the government of Germany are the Konrad Adenauer, Willy Brandt and Angela Merkel
Konrad Adenauer Willy Brandt Angela Merkel
action filter_type
action find
entity Germany
relation head of government
type common name
['Germany', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Germany property:head_of_government ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q576753
Q502895
USER
And also tell me about Aduna?
(Q576753,P6,c(Q502895))
action filter_type
action find
entity Q576753
relation P6
type Q502895
['Q576753', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q576753 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Aduna
action filter_type
action find
entity Aduna
relation head of government
type common name
['Aduna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Aduna property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
common name
Q14083415
SYSTEM
Josu Amilibia Alsua
Q14083415
(Q576753,P6,c(Q502895))
action filter_type
action find
entity Q576753
relation P6
type Q502895
[ANSWER]
['Q576753', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q576753 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Josu Amilibia Alsua
Josu Amilibia Alsua
action filter_type
action find
entity Aduna
relation head of government
type common name
['Aduna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Aduna property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]