Simple Question (Direct)
Simple Question
Q63488
P463
Q3947
USER
Which house was Julius Oppert a member of ?
(Q63488,P463,c(Q3947))
action filter_type
action find
entity Q63488
relation P463
type Q3947
['Q63488', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?g WHERE { resource:Q63488 property:P463 ?g . ?g rdf:type ontology:Q3947 }
Julius Oppert
action filter_type
action find
entity Julius Oppert
relation member of
type house
['Julius Oppert', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?g WHERE { resource:Julius_Oppert property:member_of ?g . ?g rdf:type ontology:house }
[]
house
Q414188
SYSTEM
Göttingen Academy of Sciences
Q414188
(Q63488,P463,c(Q3947))
action filter_type
action find
entity Q63488
relation P463
type Q3947
The [ANSWER] was Julius Oppert a member of
['Q63488', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?g WHERE { resource:Q63488 property:P463 ?g . ?g rdf:type ontology:Q3947 }
Göttingen Academy of Sciences
The Göttingen Academy of Sciences was Julius Oppert a member of
Göttingen Academy of Sciences
action filter_type
action find
entity Julius Oppert
relation member of
type house
['Julius Oppert', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?g WHERE { resource:Julius_Oppert property:member_of ?g . ?g rdf:type ontology:house }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q63488
P106
Q12737077
USER
What do that person do for a living ?
(Q414188,P106,c(Q12737077))
action filter_type
action find
entity Q63488
relation P106
type Q12737077
['Q414188', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q63488 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Julius Oppert
action filter_type
action find
entity Julius Oppert
relation occupation
type occupation
['Göttingen Academy of Sciences', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Julius_Oppert property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q19361459 Q1622272 Q3621491
SYSTEM
assyriologist, university teacher, archaeologist
Q19361459 Q1622272 Q3621491
(Q414188,P106,c(Q12737077))
action filter_type
action find
entity Q63488
relation P106
type Q12737077
[ANSWERS] that person do for a living
['Q414188', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q63488 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
assyriologist university teacher archaeologist
Assyriologist, university teacher and archaeologist that person do for a living
assyriologist university teacher archaeologist
action filter_type
action find
entity Julius Oppert
relation occupation
type occupation
['Göttingen Academy of Sciences', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Julius_Oppert property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q63488
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q19361459,P20,c(Q56061)) (Q1622272,P20,c(Q56061)) (Q3621491,P20,c(Q56061))
action filter_type
action find
entity Q63488
relation P20
type Q56061
['Q19361459', 'P20', {'concept': 'Q56061'}] ['Q1622272', 'P20', {'concept': 'Q56061'}] ['Q3621491', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q63488 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Julius Oppert
action filter_type
action find
entity Julius Oppert
relation place of death
type administrative territorial entity
['assyriologist', 'place of death', {'concept': 'administrative territorial entity'}] ['university teacher', 'place of death', {'concept': 'administrative territorial entity'}] ['archaeologist', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Julius_Oppert property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q19361459,P20,c(Q56061)) (Q1622272,P20,c(Q56061)) (Q3621491,P20,c(Q56061))
action filter_type
action find
entity Q63488
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q19361459', 'P20', {'concept': 'Q56061'}] ['Q1622272', 'P20', {'concept': 'Q56061'}] ['Q3621491', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q63488 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Paris
Paris is the place of death of that person
Paris
action filter_type
action find
entity Julius Oppert
relation place of death
type administrative territorial entity
['assyriologist', 'place of death', {'concept': 'administrative territorial entity'}] ['university teacher', 'place of death', {'concept': 'administrative territorial entity'}] ['archaeologist', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Julius_Oppert property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q90 Q596475
P47
Q20667921
USER
Does Éveux share border with that administrative territory ?
(Q90,P47,Q596475)
action is_in
entity Q596475
action find
entity Q90
relation P47
['Q90', 'P47', 'Q596475']
ASK WHERE { resource:Q90 property:P47 resource:Q596475 }
Paris Éveux
action is_in
entity Éveux
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Éveux']
ASK WHERE { resource:Paris property:shares_border_with resource:Éveux }
[]
type of french administrative division
SYSTEM
NO
(Q90,P47,Q596475)
action is_in
entity Q596475
action find
entity Q90
relation P47
[ANSWER]
['Q90', 'P47', 'Q596475']
ASK WHERE { resource:Q90 property:P47 resource:Q596475 }
No
action is_in
entity Éveux
action find
entity Paris
relation shares border with
['Paris', 'shares border with', 'Éveux']
ASK WHERE { resource:Paris property:shares_border_with resource:Éveux }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90 Q1373937
P1408
Q4830453
USER
How many business enterprises are licensed to broadcast to Paris or South Boston ?
(c(Q4830453),P1408,Q90) (c(Q4830453),P1408,Q1373937)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P1408
type Q4830453
action filter_type
action find_reverse
entity Q1373937
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q90'] [{'concept': 'Q4830453'}, 'P1408', 'Q1373937']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?a ) { ( resource:Q1373937 ) ( resource:Q90 ) } . ?k property:P1408 ?a }
Paris South Boston
action count
action union
action filter_type
action find_reverse
entity Paris
relation licensed to broadcast to
type business enterprise
action filter_type
action find_reverse
entity South Boston
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Paris'] [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'South Boston']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?a ) { ( resource:South_Boston ) ( resource:Paris ) } . ?k property:licensed_to_broadcast_to ?a }
[]
business enterprise
SYSTEM
7
Q3359248 Q1961361 Q19904 Q314407 Q7950254 Q1351173 Q7955524
(c(Q4830453),P1408,Q90) (c(Q4830453),P1408,Q1373937)
action count
action union
action filter_type
action find_reverse
entity Q90
relation P1408
type Q4830453
action filter_type
action find_reverse
entity Q1373937
relation P1408
type Q4830453
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', 'Q90'] [{'concept': 'Q4830453'}, 'P1408', 'Q1373937']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?a ) { ( resource:Q1373937 ) ( resource:Q90 ) } . ?k property:P1408 ?a }
Ouï FM NRJ France Info Europe 1 WHLF RTL WSBV
7
action count
action union
action filter_type
action find_reverse
entity Paris
relation licensed to broadcast to
type business enterprise
action filter_type
action find_reverse
entity South Boston
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Paris'] [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'South Boston']
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { VALUES ( ?a ) { ( resource:South_Boston ) ( resource:Paris ) } . ?k property:licensed_to_broadcast_to ?a }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1807484 Q63488
P47 P27
Q1048835
USER
Which political territories do Julius Oppert belong to or are bordered by Llanera de Ranes ?
OR((Q63488,P27,c(Q1048835)), (Q1807484,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q63488
relation P27
action find
entity Q1807484
relation P47
type Q1048835
{'OR': [['Q63488', 'P27', {'concept': 'Q1048835'}], ['Q1807484', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { { resource:Q63488 property:P27 ?x } UNION { resource:Q1807484 property:P47 ?x } } }
Llanera de Ranes Julius Oppert
action filter_type
action union
action find
entity Julius Oppert
relation country of citizenship
action find
entity Llanera de Ranes
relation shares border with
type political territorial entity
{'OR': [['Julius Oppert', 'country of citizenship', {'concept': 'political territorial entity'}], ['Llanera de Ranes', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { { resource:Julius_Oppert property:country_of_citizenship ?x } UNION { resource:Llanera_de_Ranes property:shares_border_with ?x } } }
[]
political territorial entity
Q2269606 Q258722 Q2046224 Q2041864 Q1824255 Q664697 Q1769353 Q2047561 Q183 Q377446
SYSTEM
Some of them are La Granja de la Costera, Canals, Sellent, Torrella, Anna, Alcàntera de Xúquer, Granja de Rocamora, Cerdà, Germany, Vallés
Q377446 Q1769353 Q788768 Q183 Q2046224 Q664697 Q2047561 Q2041864 Q1824255 Q1998575 Q2269606 Q258722
OR((Q63488,P27,c(Q1048835)), (Q1807484,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q63488
relation P27
action find
entity Q1807484
relation P47
type Q1048835
Julius Oppert belong to the [ANSWERS]
{'OR': [['Q63488', 'P27', {'concept': 'Q1048835'}], ['Q1807484', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . { { resource:Q63488 property:P27 ?x } UNION { resource:Q1807484 property:P47 ?x } } }
Vallés Granja de Rocamora Rotglà i Corberà Germany Sellent Alcàntera de Xúquer Cerdà Torrella Anna Estubeny La Granja de la Costera Canals
Julius Oppert belong to the La Granja de la Costera, Canals, Sellent, Torrella, Anna, Alcàntera de Xúquer, Granja de Rocamora, Cerdà, Germany and Vallés
La Granja de la Costera Canals Sellent Torrella Anna Alcàntera de Xúquer Granja de Rocamora Cerdà Germany Vallés
action filter_type
action union
action find
entity Julius Oppert
relation country of citizenship
action find
entity Llanera de Ranes
relation shares border with
type political territorial entity
{'OR': [['Julius Oppert', 'country of citizenship', {'concept': 'political territorial entity'}], ['Llanera de Ranes', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . { { resource:Julius_Oppert property:country_of_citizenship ?x } UNION { resource:Llanera_de_Ranes property:shares_border_with ?x } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q27
P530
Q15617994 Q1048835
USER
How many administrative territories holds diplomatic relationship with approximately the same number of political territories as Ireland ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q27
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { ?u property:P530 ?q . ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?e = ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q27 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
Ireland
action count
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 Ireland
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 ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { ?u property:diplomatic_relation ?q . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?e = ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Ireland property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
48
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 count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q27
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { ?u property:P530 ?q . ?u rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?e = ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Q27 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } }
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
48
action count
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 Ireland
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 ( COUNT ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?e ) WHERE { ?u property:diplomatic_relation ?q . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?e = ?t ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?t ) WHERE { resource:Ireland property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1008
P530
Q15617994 Q1048835
USER
And how about Côte d'Ivoire?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?t ) WHERE { ?k property:P530 ?u . ?k rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1008 property:P530 ?j } } . FILTER ( ?t = ?l ) }
Côte d'Ivoire
action count
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 Côte d'Ivoire
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 ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?t ) WHERE { ?k property:diplomatic_relation ?u . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Côte_d'Ivoire property:diplomatic_relation ?j } } . FILTER ( ?t = ?l ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
72
Q702 Q262 Q265 Q37 Q712 Q717 Q837 Q657 Q792 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q1008
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?t ) WHERE { ?k property:P530 ?u . ?k rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:Q15617994 . resource:Q1008 property:P530 ?j } } . FILTER ( ?t = ?l ) }
Federated States of Micronesia Algeria Uzbekistan Lithuania Fiji Venezuela Nepal Chad El Salvador South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
72
action count
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 Côte d'Ivoire
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 ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?u ) AS ?t ) WHERE { ?k property:diplomatic_relation ?u . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Côte_d'Ivoire property:diplomatic_relation ?j } } . FILTER ( ?t = ?l ) }
[]