Simple Question (Direct)
Simple Question
Q71522
P102
Q7210356
USER
Which party is Helmut Poppendick affiliated with ?
(Q71522,P102,c(Q7210356))
action filter_type
action find
entity Q71522
relation P102
type Q7210356
['Q71522', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q71522 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Helmut Poppendick
action filter_type
action find
entity Helmut Poppendick
relation member of political party
type political organization
['Helmut Poppendick', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Helmut_Poppendick property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Q7320
SYSTEM
Nazi Party
Q7320
(Q71522,P102,c(Q7210356))
action filter_type
action find
entity Q71522
relation P102
type Q7210356
Helmut Poppendick is affiliated with [ANSWER]
['Q71522', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q71522 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Nazi Party
Helmut Poppendick is affiliated with Nazi Party
Nazi Party
action filter_type
action find
entity Helmut Poppendick
relation member of political party
type political organization
['Helmut Poppendick', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Helmut_Poppendick property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71522
P512
Q849697
USER
Which doctoral degree does Helmut Poppendick hold ?
(Q71522,P512,c(Q849697))
action filter_type
action find
entity Q71522
relation P512
type Q849697
['Q71522', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?l WHERE { resource:Q71522 property:P512 ?l . ?l rdf:type ontology:Q849697 }
Helmut Poppendick
action filter_type
action find
entity Helmut Poppendick
relation academic degree
type doctoral degree
['Helmut Poppendick', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?l WHERE { resource:Helmut_Poppendick property:academic_degree ?l . ?l rdf:type ontology:doctoral_degree }
[]
doctoral degree
Q913404
SYSTEM
Doctor of Medicine
Q913404
(Q71522,P512,c(Q849697))
action filter_type
action find
entity Q71522
relation P512
type Q849697
Helmut Poppendick holds a [ANSWER]
['Q71522', 'P512', {'concept': 'Q849697'}]
SELECT DISTINCT ?l WHERE { resource:Q71522 property:P512 ?l . ?l rdf:type ontology:Q849697 }
Doctor of Medicine
Helmut Poppendick holds a Doctor of Medicine
Doctor of Medicine
action filter_type
action find
entity Helmut Poppendick
relation academic degree
type doctoral degree
['Helmut Poppendick', 'academic degree', {'concept': 'doctoral degree'}]
SELECT DISTINCT ?l WHERE { resource:Helmut_Poppendick property:academic_degree ?l . ?l rdf:type ontology:doctoral_degree }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q913404 Q20727823
P69
Q502895
USER
Did Alessandro Verona study at that doctoral degree ?
(Q20727823,P69,Q913404)
action is_in
entity Q20727823
action find
entity Q913404
relation P69
['Q20727823', 'P69', 'Q913404']
ASK WHERE { resource:Q913404 property:P69 resource:Q20727823 }
Doctor of Medicine Alessandro Verona
action is_in
entity Alessandro Verona
action find
entity Doctor of Medicine
relation educated at
['Alessandro Verona', 'educated at', 'Doctor of Medicine']
ASK WHERE { resource:Doctor_of_Medicine property:educated_at resource:Alessandro_Verona }
[]
common name
SYSTEM
NO
(Q20727823,P69,Q913404)
action is_in
entity Q20727823
action find
entity Q913404
relation P69
[ANSWER]
['Q20727823', 'P69', 'Q913404']
ASK WHERE { resource:Q913404 property:P69 resource:Q20727823 }
No
action is_in
entity Alessandro Verona
action find
entity Doctor of Medicine
relation educated at
['Alessandro Verona', 'educated at', 'Doctor of Medicine']
ASK WHERE { resource:Doctor_of_Medicine property:educated_at resource:Alessandro_Verona }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q71522 Q2936
P20
Q515
USER
Did Helmut Poppendick expire Oldenburg ?
(Q71522,P20,Q2936)
action is_in
entity Q2936
action find
entity Q71522
relation P20
['Q71522', 'P20', 'Q2936']
ASK WHERE { resource:Q71522 property:P20 resource:Q2936 }
Helmut Poppendick Oldenburg
action is_in
entity Oldenburg
action find
entity Helmut Poppendick
relation place of death
['Helmut Poppendick', 'place of death', 'Oldenburg']
ASK WHERE { resource:Helmut_Poppendick property:place_of_death resource:Oldenburg }
[]
city
SYSTEM
YES
(Q71522,P20,Q2936)
action is_in
entity Q2936
action find
entity Q71522
relation P20
[ANSWER]
['Q71522', 'P20', 'Q2936']
ASK WHERE { resource:Q71522 property:P20 resource:Q2936 }
Yes
action is_in
entity Oldenburg
action find
entity Helmut Poppendick
relation place of death
['Helmut Poppendick', 'place of death', 'Oldenburg']
ASK WHERE { resource:Helmut_Poppendick property:place_of_death resource:Oldenburg }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q71522
P27
Q1048835
USER
How many political territories do Helmut Poppendick belong to ?
(Q71522,P27,c(Q1048835))
action count
action filter_type
action find
entity Q71522
relation P27
type Q1048835
['Q71522', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q71522 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Helmut Poppendick
action count
action filter_type
action find
entity Helmut Poppendick
relation country of citizenship
type political territorial entity
['Helmut Poppendick', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Helmut_Poppendick property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q71522,P27,c(Q1048835))
action count
action filter_type
action find
entity Q71522
relation P27
type Q1048835
[ANSWER]
['Q71522', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Q71522 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Helmut Poppendick
relation country of citizenship
type political territorial entity
['Helmut Poppendick', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { resource:Helmut_Poppendick property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q84436
P27
Q1048835
USER
And also tell me about Maximilian von Frey?
(Q84436,P27,c(Q1048835))
action count
action filter_type
action find
entity Q84436
relation P27
type Q1048835
['Q84436', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:Q1048835 . resource:Q84436 property:P27 ?x }
Maximilian von Frey
action count
action filter_type
action find
entity Maximilian von Frey
relation country of citizenship
type political territorial entity
['Maximilian von Frey', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Maximilian_von_Frey property:country_of_citizenship ?x }
[]
political territorial entity
SYSTEM
1
Q40
(Q84436,P27,c(Q1048835))
action count
action filter_type
action find
entity Q84436
relation P27
type Q1048835
[ANSWER]
['Q84436', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:Q1048835 . resource:Q84436 property:P27 ?x }
Austria
1
action count
action filter_type
action find
entity Maximilian von Frey
relation country of citizenship
type political territorial entity
['Maximilian von Frey', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?o ) WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Maximilian_von_Frey property:country_of_citizenship ?x }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2444889
Q1048835
USER
And how about Torsten Koplin?
(Q2444889,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2444889
relation P27
type Q1048835
['Q2444889', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q2444889 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Torsten Koplin
action count
action filter_type
action find
entity Torsten Koplin
relation country of citizenship
type political territorial entity
['Torsten Koplin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Torsten_Koplin property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
(Q2444889,P27,c(Q1048835))
action count
action filter_type
action find
entity Q2444889
relation P27
type Q1048835
[ANSWER]
['Q2444889', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Q2444889 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
1
action count
action filter_type
action find
entity Torsten Koplin
relation country of citizenship
type political territorial entity
['Torsten Koplin', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { resource:Torsten_Koplin property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7320
P272
Q838948
USER
Which work of art had Nazi Party as its motion picture studio ?
(c(Q838948),P272,Q7320)
action filter_type
action find_reverse
entity Q7320
relation P272
type Q838948
[{'concept': 'Q838948'}, 'P272', 'Q7320']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P272 resource:Q7320 }
Nazi Party
action filter_type
action find_reverse
entity Nazi Party
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Nazi Party']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:production_company resource:Nazi_Party }
[]
work of art
Q3731163
SYSTEM
Erbkrank
Q3731163
(c(Q838948),P272,Q7320)
action filter_type
action find_reverse
entity Q7320
relation P272
type Q838948
[ANSWER] had Nazi Party as its motion picture studio
[{'concept': 'Q838948'}, 'P272', 'Q7320']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P272 resource:Q7320 }
Erbkrank
Erbkrank had Nazi Party as its motion picture studio
Erbkrank
action filter_type
action find_reverse
entity Nazi Party
relation production company
type work of art
[{'concept': 'work of art'}, 'production company', 'Nazi Party']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:production_company resource:Nazi_Party }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7320
P127
Q732577
USER
Which publication is under posessision of that political organization ?
(c(Q732577),P127,Q3731163)
action filter_type
action find_reverse
entity Q7320
relation P127
type Q732577
[{'concept': 'Q732577'}, 'P127', 'Q3731163']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q7320 . ?l rdf:type ontology:Q732577 }
Nazi Party
action filter_type
action find_reverse
entity Nazi Party
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Erbkrank']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Nazi_Party . ?l rdf:type ontology:publication }
[]
publication
Q702228
SYSTEM
Der Angriff
Q702228
(c(Q732577),P127,Q3731163)
action filter_type
action find_reverse
entity Q7320
relation P127
type Q732577
[ANSWER] is under posessision of that political organization
[{'concept': 'Q732577'}, 'P127', 'Q3731163']
SELECT DISTINCT ?l WHERE { ?l property:P127 resource:Q7320 . ?l rdf:type ontology:Q732577 }
Der Angriff
Der Angriff is under posessision of that political organization
Der Angriff
action filter_type
action find_reverse
entity Nazi Party
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Erbkrank']
SELECT DISTINCT ?l WHERE { ?l property:owned_by resource:Nazi_Party . ?l rdf:type ontology:publication }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1410782 Q3731163
P47 P495
Q1048835
USER
Which political territories are the countries of origin of Erbkrank or have a shared border with Iznalloz ?
OR((Q3731163,P495,c(Q1048835)), (Q1410782,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q3731163
relation P495
action find
entity Q1410782
relation P47
type Q1048835
{'OR': [['Q3731163', 'P495', {'concept': 'Q1048835'}], ['Q1410782', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3731163 property:P495 ?b } UNION { resource:Q1410782 property:P47 ?b } } . ?b rdf:type ontology:Q1048835 }
Iznalloz Erbkrank
action filter_type
action union
action find
entity Erbkrank
relation country of origin
action find
entity Iznalloz
relation shares border with
type political territorial entity
{'OR': [['Erbkrank', 'country of origin', {'concept': 'political territorial entity'}], ['Iznalloz', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Erbkrank property:country_of_origin ?b } UNION { resource:Iznalloz property:shares_border_with ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q575658 Q557958 Q183 Q559665 Q576248 Q611308 Q565415 Q593505 Q554814 Q1642224
SYSTEM
Some of them are Guadahortuna, Cogollos Vega, Germany, Darro, Huétor Santillán, Píñar, Albolote, Montejícar, Benalúa de las Villas, Noalejo
Q1642224 Q253744 Q559275 Q557958 Q575658 Q183 Q611308 Q557966 Q983622 Q554814 Q565415 Q593505 Q593679 Q576248 Q559665
OR((Q3731163,P495,c(Q1048835)), (Q1410782,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q3731163
relation P495
action find
entity Q1410782
relation P47
type Q1048835
[ANSWERS] are the countries of origin of Erbkrank or have a shared border with Iznalloz
{'OR': [['Q3731163', 'P495', {'concept': 'Q1048835'}], ['Q1410782', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3731163 property:P495 ?b } UNION { resource:Q1410782 property:P47 ?b } } . ?b rdf:type ontology:Q1048835 }
Noalejo Campotéjar Deifontes Cogollos Vega Guadahortuna Germany Píñar Colomera Diezma Benalúa de las Villas Albolote Montejícar Montillana Huétor Santillán Darro
Guadahortuna, Cogollos Vega, Germany, Darro, Huétor Santillán, Píñar, Albolote, Montejícar, Benalúa de las Villas and Noalejo are the countries of origin of Erbkrank or have a shared border with Iznalloz
Guadahortuna Cogollos Vega Germany Darro Huétor Santillán Píñar Albolote Montejícar Benalúa de las Villas Noalejo
action filter_type
action union
action find
entity Erbkrank
relation country of origin
action find
entity Iznalloz
relation shares border with
type political territorial entity
{'OR': [['Erbkrank', 'country of origin', {'concept': 'political territorial entity'}], ['Iznalloz', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Erbkrank property:country_of_origin ?b } UNION { resource:Iznalloz property:shares_border_with ?b } } . ?b rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1445334 Q565415
P47
Q1048835
USER
Which political territories are bordered by Albolote or Casariche ?
OR((c(Q1048835),P47,Q565415), (c(Q1048835),P47,Q1445334))
action filter_type
action union
action find_reverse
entity Q565415
relation P47
action find_reverse
entity Q1445334
relation P47
type Q1048835
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q565415'], [{'concept': 'Q1048835'}, 'P47', 'Q1445334']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { ?w property:P47 ?e . VALUES ( ?e ) { ( resource:Q565415 ) ( resource:Q1445334 ) } } }
Casariche Albolote
action filter_type
action union
action find_reverse
entity Albolote
relation shares border with
action find_reverse
entity Casariche
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Albolote'], [{'concept': 'political territorial entity'}, 'shares border with', 'Casariche']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { ?w property:shares_border_with ?e . VALUES ( ?e ) { ( resource:Albolote ) ( resource:Casariche ) } } }
[]
political territorial entity
Q557966 Q1450719 Q550974 Q966470 Q583032 Q538809 Q1611830 Q557958 Q559275 Q554225
SYSTEM
Some of them are Colomera, Badolatosa, Atarfe, Estepa, Maracena, Peligros, Alameda, Cogollos Vega, Deifontes, Calicasas
Q557966 Q557958 Q1410782 Q550974 Q559275 Q966470 Q554225 Q1611830 Q583032 Q1450719 Q538809
OR((c(Q1048835),P47,Q565415), (c(Q1048835),P47,Q1445334))
action filter_type
action union
action find_reverse
entity Q565415
relation P47
action find_reverse
entity Q1445334
relation P47
type Q1048835
[ANSWERS] are bordered by Albolote or Casariche
{'OR': [[{'concept': 'Q1048835'}, 'P47', 'Q565415'], [{'concept': 'Q1048835'}, 'P47', 'Q1445334']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1048835 . { ?w property:P47 ?e . VALUES ( ?e ) { ( resource:Q565415 ) ( resource:Q1445334 ) } } }
Colomera Cogollos Vega Iznalloz Atarfe Deifontes Estepa Calicasas Alameda Maracena Badolatosa Peligros
Colomera, Badolatosa, Atarfe, Estepa, Maracena, Peligros, Alameda, Cogollos Vega, Deifontes and Calicasas are bordered by Albolote or Casariche
Colomera Badolatosa Atarfe Estepa Maracena Peligros Alameda Cogollos Vega Deifontes Calicasas
action filter_type
action union
action find_reverse
entity Albolote
relation shares border with
action find_reverse
entity Casariche
relation shares border with
type political territorial entity
{'OR': [[{'concept': 'political territorial entity'}, 'shares border with', 'Albolote'], [{'concept': 'political territorial entity'}, 'shares border with', 'Casariche']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:political_territorial_entity . { ?w property:shares_border_with ?e . VALUES ( ?e ) { ( resource:Albolote ) ( resource:Casariche ) } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q664
P530
Q15617994 Q1048835 Q1048835
USER
Which political territories have ambassadorial relations with greater number of administrative territories or political territories than New Zealand ?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q664
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?q rdf:type ?d } . resource:Q664 property:P530 ?q } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?o WHERE { { ?o property:P530 ?j . ?o rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } UNION { ?o property:P530 ?j . ?o rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?o } }
New Zealand
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?q rdf:type ?d } . resource:New_Zealand property:diplomatic_relation ?q } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?o WHERE { { ?o property:diplomatic_relation ?j . ?o rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:diplomatic_relation ?j . ?o rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?o } }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q664
relation P530
type Q15617994
type Q1048835
[ANSWERS] have ambassadorial relations with greater number of administrative territories or political territories than New Zealand
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { VALUES ( ?d ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?q rdf:type ?d } . resource:Q664 property:P530 ?q } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?o WHERE { { ?o property:P530 ?j . ?o rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 } UNION { ?o property:P530 ?j . ?o rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1048835 } } GROUP BY ?o } }
Austria Germany Australia Denmark Canada
Germany, Australia and Denmark have ambassadorial relations with greater number of administrative territories or political territories than New Zealand
Germany Australia Denmark
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { VALUES ( ?d ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?q rdf:type ?d } . resource:New_Zealand property:diplomatic_relation ?q } } . FILTER ( ?v > ?e ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?o WHERE { { ?o property:diplomatic_relation ?j . ?o rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:diplomatic_relation ?j . ?o rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:political_territorial_entity } } GROUP BY ?o } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q781
P530
Q15617994 Q1048835 Q1048835
USER
And also tell me about Antigua and Barbuda?
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q781
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?p WHERE { { ?p property:P530 ?m . ?p rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 . ?p property:P530 ?m } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:Q1048835 } UNION { ?z rdf:type ontology:Q15617994 } } . resource:Q781 property:P530 ?z } } . FILTER ( ?u > ?x ) }
Antigua and Barbuda
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?p WHERE { { ?p property:diplomatic_relation ?m . ?p rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity . ?p property:diplomatic_relation ?m } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:political_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . resource:Antigua_and_Barbuda property:diplomatic_relation ?z } } . FILTER ( ?u > ?x ) }
[]
designation for an administrative territorial entity political territorial entity political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994)|c(Q1048835))
action greater
action union
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_multi_types
action find
entity Q781
relation P530
type Q15617994
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?p WHERE { { ?p property:P530 ?m . ?p rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q1048835 . ?p property:P530 ?m } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:Q1048835 } UNION { ?z rdf:type ontology:Q15617994 } } . resource:Q781 property:P530 ?z } } . FILTER ( ?u > ?x ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action union
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?p WHERE { { ?p property:diplomatic_relation ?m . ?p rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:political_territorial_entity . ?p property:diplomatic_relation ?m } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z rdf:type ontology:political_territorial_entity } UNION { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . resource:Antigua_and_Barbuda property:diplomatic_relation ?z } } . FILTER ( ?u > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q965
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with greater number of political territories than Burkina Faso ?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q965
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?g property:P530 ?i } GROUP BY ?g } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q965 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Burkina Faso
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Burkina Faso
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?i } GROUP BY ?g } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Burkina_Faso property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q965
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of political territories than Burkina Faso
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 . ?g property:P530 ?i } GROUP BY ?g } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Q965 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
Italy, Brazil and United States of America have diplomatic relationships with greater number of political territories than Burkina Faso
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Burkina Faso
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?i ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?i } GROUP BY ?g } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { resource:Burkina_Faso property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q34020
P530
Q15617994 Q1048835
USER
And also tell me about Niue?
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:P530 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q34020 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?v ) }
Niue
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:diplomatic_relation ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Niue property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?v ) }
[]
designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q711 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q811 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q1041 Q27 Q843 Q1029 Q1028 Q736 Q786 Q225 Q224 Q96 Q229 Q347 Q17 Q902 Q1036 Q1033 Q1030 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q774 Q810 Q29 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q34020
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:P530 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q1048835 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q34020 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?x > ?v ) }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Mongolia Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Nicaragua Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Senegal Ireland Pakistan Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Nigeria Namibia Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Guatemala Jordan Spain Thailand Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Niue
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?x ) WHERE { ?i property:diplomatic_relation ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Niue property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x > ?v ) }
[]