Simple Question (Direct)
Simple Question
Q120574
P106
Q12737077
USER
What are the professions of Heinrich von Laufenberg ?
(Q120574,P106,c(Q12737077))
action filter_type
action find
entity Q120574
relation P106
type Q12737077
['Q120574', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q120574 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Heinrich von Laufenberg
action filter_type
action find
entity Heinrich von Laufenberg
relation occupation
type occupation
['Heinrich von Laufenberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Heinrich_von_Laufenberg property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q49757 Q36180
SYSTEM
poet, writer
Q49757 Q36180
(Q120574,P106,c(Q12737077))
action filter_type
action find
entity Q120574
relation P106
type Q12737077
The professions of Heinrich von Laufenberg are the [ANSWERS]
['Q120574', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q120574 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
poet writer
The professions of Heinrich von Laufenberg are the poet and writer
poet writer
action filter_type
action find
entity Heinrich von Laufenberg
relation occupation
type occupation
['Heinrich von Laufenberg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Heinrich_von_Laufenberg property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q120574
P19
Q515
USER
Which city is the place of birth of Heinrich von Laufenberg ?
(Q120574,P19,c(Q515))
action filter_type
action find
entity Q120574
relation P19
type Q515
['Q120574', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q120574 property:P19 ?o . ?o rdf:type ontology:Q515 }
Heinrich von Laufenberg
action filter_type
action find
entity Heinrich von Laufenberg
relation place of birth
type city
['Heinrich von Laufenberg', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Heinrich_von_Laufenberg property:place_of_birth ?o . ?o rdf:type ontology:city }
[]
city
Q2833
SYSTEM
Freiburg im Breisgau
Q2833
(Q120574,P19,c(Q515))
action filter_type
action find
entity Q120574
relation P19
type Q515
[ANSWER] is the place of birth of Heinrich von Laufenberg
['Q120574', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { resource:Q120574 property:P19 ?o . ?o rdf:type ontology:Q515 }
Freiburg im Breisgau
Freiburg im Breisgau is the place of birth of Heinrich von Laufenberg
Freiburg im Breisgau
action filter_type
action find
entity Heinrich von Laufenberg
relation place of birth
type city
['Heinrich von Laufenberg', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { resource:Heinrich_von_Laufenberg property:place_of_birth ?o . ?o rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2833
P159
Q43229
USER
Which organizations have their HQ location at that city ?
(c(Q43229),P159,Q2833)
action filter_type
action find_reverse
entity Q2833
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q2833']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q2833 . ?i rdf:type ontology:Q43229 }
Freiburg im Breisgau
action filter_type
action find_reverse
entity Freiburg im Breisgau
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Freiburg im Breisgau']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Freiburg_im_Breisgau . ?i rdf:type ontology:organization }
[]
organization
Q3633200 Q1768569 Q7360708
SYSTEM
Breisgau-S-Bahn, Northrop Grumman LITEF, Rolf Disch Solar Architecture
Q18209751 Q7360708 Q294804 Q2550248 Q3633200 Q1768569 Q16909590 Q881285 Q1203101
(c(Q43229),P159,Q2833)
action filter_type
action find_reverse
entity Q2833
relation P159
type Q43229
[ANSWERS] have their HQ location at that city
[{'concept': 'Q43229'}, 'P159', 'Q2833']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q2833 . ?i rdf:type ontology:Q43229 }
Averbis Rolf Disch Solar Architecture Öko-Institut Waschbär Umweltversand Breisgau-S-Bahn Northrop Grumman LITEF HeinrichsWeikamp Freiburger Verkehrs AG Deutsche Harmonia Mundi
Breisgau-S-Bahn, Northrop Grumman LITEF and Rolf Disch Solar Architecture have their HQ location at that city
Breisgau-S-Bahn Northrop Grumman LITEF Rolf Disch Solar Architecture
action filter_type
action find_reverse
entity Freiburg im Breisgau
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Freiburg im Breisgau']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Freiburg_im_Breisgau . ?i rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3633200
P17
Q1048835
USER
Which political territory is that organization present in ?
(Q3633200,P17,c(Q1048835))
action filter_type
action find
entity Q3633200
relation P17
type Q1048835
['Q3633200', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q3633200 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Breisgau-S-Bahn
action filter_type
action find
entity Breisgau-S-Bahn
relation country
type political territorial entity
['Breisgau-S-Bahn', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Breisgau-S-Bahn property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q7360708
SYSTEM
Did you mean Rolf Disch Solar Architecture ?
Q3633200 Q1768569 Q7360708
(Q3633200,P17,c(Q1048835)) (Q1768569,P17,c(Q1048835)) (Q7360708,P17,c(Q1048835))
[ANSWER]
['Q3633200', 'P17', {'concept': 'Q1048835'}] ['Q1768569', 'P17', {'concept': 'Q1048835'}] ['Q7360708', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q3633200 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Breisgau-S-Bahn Northrop Grumman LITEF Rolf Disch Solar Architecture
Did you mean Rolf Disch Solar Architecture ?
Rolf Disch Solar Architecture
['Breisgau-S-Bahn', 'country', {'concept': 'political territorial entity'}] ['Northrop Grumman LITEF', 'country', {'concept': 'political territorial entity'}] ['Rolf Disch Solar Architecture', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Breisgau-S-Bahn property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Breisgau-S-Bahn. Could you tell me the answer for that?
(Q3633200,P17,c(Q1048835))
Q3633200
['Q3633200', 'P17', {'concept': 'Q1048835'}]
['Breisgau-S-Bahn', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q3633200,P17,c(Q1048835))
action filter_type
action find
entity Q3633200
relation P17
type Q1048835
That organization is in [ANSWER]
['Q3633200', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { resource:Q3633200 property:P17 ?g . ?g rdf:type ontology:Q1048835 }
Germany
That organization is in Germany
Germany
action filter_type
action find
entity Breisgau-S-Bahn
relation country
type political territorial entity
['Breisgau-S-Bahn', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Breisgau-S-Bahn property:country ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q656801 Q19570733
P463
Q43229
USER
Is that political territory a part of International Finance Corporation and The Abhi Pictures ?
(Q183,P463,Q656801) (Q183,P463,Q19570733)
action is_in
entity Q183
action intersection
action find_reverse
entity Q656801
relation P463
action find_reverse
entity Q19570733
relation P463
['Q183', 'P463', 'Q656801'] ['Q183', 'P463', 'Q19570733']
ASK WHERE { resource:Q183 property:P463 resource:Q656801 . resource:Q183 property:P463 resource:Q19570733 }
Germany International Finance Corporation The Abhi Pictures
action is_in
entity Germany
action intersection
action find_reverse
entity International Finance Corporation
relation member of
action find_reverse
entity The Abhi Pictures
relation member of
['Germany', 'member of', 'International Finance Corporation'] ['Germany', 'member of', 'The Abhi Pictures']
ASK WHERE { resource:Germany property:member_of resource:International_Finance_Corporation . resource:Germany property:member_of resource:The_Abhi_Pictures }
[]
organization
SYSTEM
YES and NO respectively
(Q183,P463,Q656801) (Q183,P463,Q19570733)
action is_in
entity Q183
action intersection
action find_reverse
entity Q656801
relation P463
action find_reverse
entity Q19570733
relation P463
[ANSWER]
['Q183', 'P463', 'Q656801'] ['Q183', 'P463', 'Q19570733']
ASK WHERE { resource:Q183 property:P463 resource:Q656801 . resource:Q183 property:P463 resource:Q19570733 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity International Finance Corporation
relation member of
action find_reverse
entity The Abhi Pictures
relation member of
['Germany', 'member of', 'International Finance Corporation'] ['Germany', 'member of', 'The Abhi Pictures']
ASK WHERE { resource:Germany property:member_of resource:International_Finance_Corporation . resource:Germany property:member_of resource:The_Abhi_Pictures }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2961771 Q1768569
P17
Q1048835
USER
Which political territories are Northrop Grumman LITEF or New Guinea Highlands situated in ?
OR((Q1768569,P17,c(Q1048835)), (Q2961771,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1768569
relation P17
action find
entity Q2961771
relation P17
type Q1048835
{'OR': [['Q1768569', 'P17', {'concept': 'Q1048835'}], ['Q2961771', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { ?d property:P17 ?r . VALUES ( ?d ) { ( resource:Q1768569 ) ( resource:Q2961771 ) } } }
New Guinea Highlands Northrop Grumman LITEF
action filter_type
action union
action find
entity Northrop Grumman LITEF
relation country
action find
entity New Guinea Highlands
relation country
type political territorial entity
{'OR': [['Northrop Grumman LITEF', 'country', {'concept': 'political territorial entity'}], ['New Guinea Highlands', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { ?d property:country ?r . VALUES ( ?d ) { ( resource:Northrop_Grumman_LITEF ) ( resource:New_Guinea_Highlands ) } } }
[]
political territorial entity
Q183 Q691
SYSTEM
Germany, Papua New Guinea
Q183 Q691
OR((Q1768569,P17,c(Q1048835)), (Q2961771,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q1768569
relation P17
action find
entity Q2961771
relation P17
type Q1048835
[ANSWERS] are Northrop Grumman LITEF or New Guinea Highlands situated in
{'OR': [['Q1768569', 'P17', {'concept': 'Q1048835'}], ['Q2961771', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1048835 . { ?d property:P17 ?r . VALUES ( ?d ) { ( resource:Q1768569 ) ( resource:Q2961771 ) } } }
Germany Papua New Guinea
Germany and Papua New Guinea are Northrop Grumman LITEF or New Guinea Highlands situated in
Germany Papua New Guinea
action filter_type
action union
action find
entity Northrop Grumman LITEF
relation country
action find
entity New Guinea Highlands
relation country
type political territorial entity
{'OR': [['Northrop Grumman LITEF', 'country', {'concept': 'political territorial entity'}], ['New Guinea Highlands', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_territorial_entity . { ?d property:country ?r . VALUES ( ?d ) { ( resource:Northrop_Grumman_LITEF ) ( resource:New_Guinea_Highlands ) } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15907
P530
Q1048835
USER
Do Rota have tactful political relations with those ones ?
(Q15907,P530,Q183) (Q15907,P530,Q691)
action is_in
entity prev_answer
action find
entity Q15907
relation P530
['Q15907', 'P530', 'Q183'] ['Q15907', 'P530', 'Q691']
ASK WHERE { resource:Q15907 property:P530 ?z . VALUES ( ?z ) { ( resource:Q183 ) ( resource:Q691 ) } }
Rota
action is_in
entity prev_answer
action find
entity Rota
relation diplomatic relation
['Rota', 'diplomatic relation', 'Germany'] ['Rota', 'diplomatic relation', 'Papua New Guinea']
ASK WHERE { resource:Rota property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Germany ) ( resource:Papua_New_Guinea ) } }
[]
political territorial entity
SYSTEM
NO
(Q15907,P530,Q183) (Q15907,P530,Q691)
action is_in
entity prev_answer
action find
entity Q15907
relation P530
[ANSWER]
['Q15907', 'P530', 'Q183'] ['Q15907', 'P530', 'Q691']
ASK WHERE { resource:Q15907 property:P530 ?z . VALUES ( ?z ) { ( resource:Q183 ) ( resource:Q691 ) } }
No
action is_in
entity prev_answer
action find
entity Rota
relation diplomatic relation
['Rota', 'diplomatic relation', 'Germany'] ['Rota', 'diplomatic relation', 'Papua New Guinea']
ASK WHERE { resource:Rota property:diplomatic_relation ?z . VALUES ( ?z ) { ( resource:Germany ) ( resource:Papua_New_Guinea ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q41
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations with around the same number of political territories as Greece ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q41
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?y ) WHERE { ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 . ?m property:P530 ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q41 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?z ) }
Greece
action approx
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 Greece
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?y ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity . ?m property:diplomatic_relation ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Greece property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?z ) }
[]
designation for an administrative territorial entity political territorial entity
Q55 Q148 Q17
SYSTEM
Netherlands, People's Republic of China, Japan
Q804 Q800 Q419 Q668 Q414 Q55 Q148 Q783 Q45 Q41 Q796 Q794 Q954 Q889 Q881 Q811 Q31 Q924 Q928 Q733 Q734 Q233 Q1041 Q27 Q1028 Q736 Q786 Q225 Q224 Q96 Q347 Q17 Q902 Q1036 Q1033 Q963 Q298 Q117 Q750 Q213 Q215 Q219 Q916 Q1009 Q774 Q810 Q29 Q869
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q41
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of political territories as Greece
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?y ) WHERE { ?m rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 . ?m property:P530 ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Q41 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?z ) }
Panama Costa Rica Peru India Argentina Netherlands People's Republic of China Honduras Portugal Greece Iraq Iran Zimbabwe Afghanistan Vietnam Nicaragua Belgium Tanzania Philippines Paraguay Guyana Malta Senegal Ireland Morocco Ecuador Dominican Republic Bosnia and Herzegovina Croatia Mexico Liechtenstein Japan Bangladesh Uganda Nigeria Botswana Chile Ghana Bolivia Czech Republic Slovenia Bulgaria Angola Cameroon Guatemala Jordan Spain Thailand
Netherlands, People's Republic of China and Japan have diplomatic relations with around the same number of political territories as Greece
Netherlands People's Republic of China Japan
action approx
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 Greece
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 ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?p ) AS ?y ) WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity . ?m property:diplomatic_relation ?p } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { resource:Greece property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?z ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have diplomatic relations with those administrative territories ?
(Q408,P530,Q55) (Q408,P530,Q148) (Q408,P530,Q17)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q148'] ['Q408', 'P530', 'Q17']
ASK WHERE { resource:Q408 property:P530 ?p . VALUES ( ?p ) { ( resource:Q804 ) ( resource:Q800 ) ( resource:Q419 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', "People's Republic of China"] ['Australia', 'diplomatic relation', 'Japan']
ASK WHERE { resource:Australia property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:Panama ) ( resource:Costa_Rica ) ( resource:Peru ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q55) (Q408,P530,Q148) (Q408,P530,Q17)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q55'] ['Q408', 'P530', 'Q148'] ['Q408', 'P530', 'Q17']
ASK WHERE { resource:Q408 property:P530 ?p . VALUES ( ?p ) { ( resource:Q804 ) ( resource:Q800 ) ( resource:Q419 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Netherlands'] ['Australia', 'diplomatic relation', "People's Republic of China"] ['Australia', 'diplomatic relation', 'Japan']
ASK WHERE { resource:Australia property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:Panama ) ( resource:Costa_Rica ) ( resource:Peru ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q778
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with less number of administrative territories than The Bahamas ?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { ?d property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?z < ?q ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q778 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } }
The Bahamas
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { ?d property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?z < ?q ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:The_Bahamas property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWERS] have a diplomatic relationship with less number of administrative territories than The Bahamas
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { ?d property:P530 ?c . ?c rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?d } . FILTER ( ?z < ?q ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:Q778 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have a diplomatic relationship with less number of administrative territories than The Bahamas
Solomon Islands Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?c ) AS ?z ) WHERE { ?d property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?d } . FILTER ( ?z < ?q ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { resource:The_Bahamas property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q15617994
USER
And also tell me about Jamaica?
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w property:P530 ?b . ?w rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Q766 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } }
Jamaica
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w property:diplomatic_relation ?b . ?w rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Jamaica property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w property:P530 ?b . ?w rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Q766 property:P530 ?j . ?j rdf:type ontology:Q1048835 } } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon Grenada Papua New Guinea
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?b ) AS ?e ) WHERE { ?w property:diplomatic_relation ?b . ?w rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?e < ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Jamaica property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]