Simple Question (Direct)
Simple Question
Q944275
P27
Q15617994
USER
Which administrative territory is the country of citizenship of James Lighthill ?
(Q944275,P27,c(Q15617994))
action filter_type
action find
entity Q944275
relation P27
type Q15617994
['Q944275', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q944275 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
James Lighthill
action filter_type
action find
entity James Lighthill
relation country of citizenship
type designation for an administrative territorial entity
['James Lighthill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:James_Lighthill property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q944275,P27,c(Q15617994))
action filter_type
action find
entity Q944275
relation P27
type Q15617994
[ANSWER] is the country of citizenship of James Lighthill
['Q944275', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q944275 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of James Lighthill
United Kingdom
action filter_type
action find
entity James Lighthill
relation country of citizenship
type designation for an administrative territorial entity
['James Lighthill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:James_Lighthill property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q944275
P1346
Q618779
USER
Where was that person decalred as a victor ?
(c(Q618779),P1346,Q145)
action filter_type
action find_reverse
entity Q944275
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q145']
SELECT DISTINCT ?g WHERE { ?g property:P1346 resource:Q944275 . ?g rdf:type ontology:Q618779 }
James Lighthill
action filter_type
action find_reverse
entity James Lighthill
relation winner
type award
[{'concept': 'award'}, 'winner', 'United Kingdom']
SELECT DISTINCT ?g WHERE { ?g property:winner resource:James_Lighthill . ?g rdf:type ontology:award }
[]
award
Q28003
SYSTEM
Copley Medal
Q28003
(c(Q618779),P1346,Q145)
action filter_type
action find_reverse
entity Q944275
relation P1346
type Q618779
The [ANSWER] that person was decalred as a victor
[{'concept': 'Q618779'}, 'P1346', 'Q145']
SELECT DISTINCT ?g WHERE { ?g property:P1346 resource:Q944275 . ?g rdf:type ontology:Q618779 }
Copley Medal
The Copley Medal that person was decalred as a victor
Copley Medal
action filter_type
action find_reverse
entity James Lighthill
relation winner
type award
[{'concept': 'award'}, 'winner', 'United Kingdom']
SELECT DISTINCT ?g WHERE { ?g property:winner resource:James_Lighthill . ?g rdf:type ontology:award }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1376
Q15617994 Q515 Q56061
USER
Which administrative territories have max number of cities or administrative territories have their first city ?
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q515 . ?v property:P1376 ?k } UNION { ?v property:P1376 ?k . ?k rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q56061 } } GROUP BY ?k } } . FILTER ( ?b = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?p WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?p } }
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:city . ?v property:capital_of ?k } UNION { ?v property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } } . FILTER ( ?b = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?p WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?p } }
[]
designation for an administrative territorial entity city administrative territorial entity
Q12536
SYSTEM
Abbasid caliphate
Q12536
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
[ANSWER] have max number of cities or administrative territories have their first city
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q515 . ?v property:P1376 ?k } UNION { ?v property:P1376 ?k . ?k rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q56061 } } GROUP BY ?k } } . FILTER ( ?b = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?p WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:Q515 ) ( ontology:Q56061 ) } } GROUP BY ?p } }
Abbasid caliphate
Abbasid caliphate have max number of cities or administrative territories have their first city
Abbasid caliphate
action argmax
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:city . ?v property:capital_of ?k } UNION { ?v property:capital_of ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } } . FILTER ( ?b = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) ?p WHERE { ?i rdf:type ?r . VALUES ( ?r ) { ( ontology:city ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atmost 20 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 20
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?u ) WHERE { ?f rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?f property:P530 ?j } GROUP BY ?f } . FILTER ( ?u <= 20 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?u ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?j } GROUP BY ?f } . FILTER ( ?u <= 20 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 20
[ANSWERS] have diplomatic relationships with atmost 20 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?u ) WHERE { ?f rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q15617994 . ?f property:P530 ?j } GROUP BY ?f } . FILTER ( ?u <= 20 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have diplomatic relationships with atmost 20 administrative territories
Denmark Austria New Zealand
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 20
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?u ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:diplomatic_relation ?j } GROUP BY ?f } . FILTER ( ?u <= 20 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P159
Q1388421 Q43229
USER
How many social experiments and organizations have their HQ location at that political territory ?
(c(Q1388421),P159,Q35) (c(Q43229),P159,Q35) (c(Q1388421),P159,Q35) (c(Q43229),P159,Q35) (c(Q1388421),P159,Q40) (c(Q43229),P159,Q40) (c(Q1388421),P159,Q664) (c(Q43229),P159,Q664)
[{'concept': 'Q1388421'}, 'P159', 'Q35'] [{'concept': 'Q43229'}, 'P159', 'Q35'] [{'concept': 'Q1388421'}, 'P159', 'Q35'] [{'concept': 'Q43229'}, 'P159', 'Q35'] [{'concept': 'Q1388421'}, 'P159', 'Q40'] [{'concept': 'Q43229'}, 'P159', 'Q40'] [{'concept': 'Q1388421'}, 'P159', 'Q664'] [{'concept': 'Q43229'}, 'P159', 'Q664']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q22286761 } UNION { ?y property:P159 resource:Q22286761 } UNION { ?z property:P159 resource:Q22286761 } UNION { ?y property:P159 resource:Q22286761 } UNION { ?z property:P159 resource:Q359060 } UNION { ?y property:P159 resource:Q359060 } UNION { ?z property:P159 resource:Q21470645 } UNION { ?y property:P159 resource:Q21470645 } } . ?z rdf:type ontology:Q1388421 . ?y rdf:type ontology:Q43229 }
[{'concept': 'social experiment'}, 'headquarters location', 'Denmark'] [{'concept': 'organization'}, 'headquarters location', 'Denmark'] [{'concept': 'social experiment'}, 'headquarters location', 'Denmark'] [{'concept': 'organization'}, 'headquarters location', 'Denmark'] [{'concept': 'social experiment'}, 'headquarters location', 'Austria'] [{'concept': 'organization'}, 'headquarters location', 'Austria'] [{'concept': 'social experiment'}, 'headquarters location', 'New Zealand'] [{'concept': 'organization'}, 'headquarters location', 'New Zealand']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Denmark } UNION { ?y property:headquarters_location resource:Denmark } UNION { ?z property:headquarters_location resource:Denmark } UNION { ?y property:headquarters_location resource:Denmark } UNION { ?z property:headquarters_location resource:Austria } UNION { ?y property:headquarters_location resource:Austria } UNION { ?z property:headquarters_location resource:New_Zealand } UNION { ?y property:headquarters_location resource:New_Zealand } } . ?z rdf:type ontology:social_experiment . ?y rdf:type ontology:organization }
[]
social experiment organization
Quantitative|Count|Mult. entity type|Clarification
Q664
SYSTEM
Did you mean New Zealand ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q22286761 } UNION { ?y property:P159 resource:Q22286761 } UNION { ?z property:P159 resource:Q22286761 } UNION { ?y property:P159 resource:Q22286761 } UNION { ?z property:P159 resource:Q359060 } UNION { ?y property:P159 resource:Q359060 } UNION { ?z property:P159 resource:Q21470645 } UNION { ?y property:P159 resource:Q21470645 } } . ?z rdf:type ontology:Q1388421 . ?y rdf:type ontology:Q43229 }
Did you mean New Zealand ?
New Zealand
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Denmark } UNION { ?y property:headquarters_location resource:Denmark } UNION { ?z property:headquarters_location resource:Denmark } UNION { ?y property:headquarters_location resource:Denmark } UNION { ?z property:headquarters_location resource:Austria } UNION { ?y property:headquarters_location resource:Austria } UNION { ?z property:headquarters_location resource:New_Zealand } UNION { ?y property:headquarters_location resource:New_Zealand } } . ?z rdf:type ontology:social_experiment . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Denmark. Could you tell me the answer for that?
(c(Q1388421),P159,Q35) (c(Q43229),P159,Q35) (c(Q1388421),P159,Q35) (c(Q43229),P159,Q35) (c(Q1388421),P159,Q40) (c(Q43229),P159,Q40) (c(Q1388421),P159,Q664) (c(Q43229),P159,Q664)
Q35
[{'concept': 'Q1388421'}, 'P159', 'Q35'] [{'concept': 'Q43229'}, 'P159', 'Q35'] [{'concept': 'Q1388421'}, 'P159', 'Q35'] [{'concept': 'Q43229'}, 'P159', 'Q35'] [{'concept': 'Q1388421'}, 'P159', 'Q40'] [{'concept': 'Q43229'}, 'P159', 'Q40'] [{'concept': 'Q1388421'}, 'P159', 'Q664'] [{'concept': 'Q43229'}, 'P159', 'Q664']
[{'concept': 'social experiment'}, 'headquarters location', 'Denmark'] [{'concept': 'organization'}, 'headquarters location', 'Denmark'] [{'concept': 'social experiment'}, 'headquarters location', 'Denmark'] [{'concept': 'organization'}, 'headquarters location', 'Denmark'] [{'concept': 'social experiment'}, 'headquarters location', 'Austria'] [{'concept': 'organization'}, 'headquarters location', 'Austria'] [{'concept': 'social experiment'}, 'headquarters location', 'New Zealand'] [{'concept': 'organization'}, 'headquarters location', 'New Zealand']
[]
SYSTEM
1 social experiments and 8 organizations
Q7669809 Q202206 Q928216 Q12317944 Q5985935 Q15843191 Q12317900 Q1440151 Q5015595
(c(Q1388421),P159,Q35) (c(Q43229),P159,Q35) (c(Q1388421),P159,Q35) (c(Q43229),P159,Q35) (c(Q1388421),P159,Q40) (c(Q43229),P159,Q40) (c(Q1388421),P159,Q664) (c(Q43229),P159,Q664)
[ANSWER]
[{'concept': 'Q1388421'}, 'P159', 'Q35'] [{'concept': 'Q43229'}, 'P159', 'Q35'] [{'concept': 'Q1388421'}, 'P159', 'Q35'] [{'concept': 'Q43229'}, 'P159', 'Q35'] [{'concept': 'Q1388421'}, 'P159', 'Q40'] [{'concept': 'Q43229'}, 'P159', 'Q40'] [{'concept': 'Q1388421'}, 'P159', 'Q664'] [{'concept': 'Q43229'}, 'P159', 'Q664']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P159 resource:Q22286761 } UNION { ?y property:P159 resource:Q22286761 } UNION { ?z property:P159 resource:Q22286761 } UNION { ?y property:P159 resource:Q22286761 } UNION { ?z property:P159 resource:Q359060 } UNION { ?y property:P159 resource:Q359060 } UNION { ?z property:P159 resource:Q21470645 } UNION { ?y property:P159 resource:Q21470645 } } . ?z rdf:type ontology:Q1388421 . ?y rdf:type ontology:Q43229 }
TC Electronic Christiania Regnecentralen IT-Political Association of Denmark Icemat Ruby Cup IDEmøbler Royal Copenhagen Cabinn Hotels
1 social experiments and 8 organizations
[{'concept': 'social experiment'}, 'headquarters location', 'Denmark'] [{'concept': 'organization'}, 'headquarters location', 'Denmark'] [{'concept': 'social experiment'}, 'headquarters location', 'Denmark'] [{'concept': 'organization'}, 'headquarters location', 'Denmark'] [{'concept': 'social experiment'}, 'headquarters location', 'Austria'] [{'concept': 'organization'}, 'headquarters location', 'Austria'] [{'concept': 'social experiment'}, 'headquarters location', 'New Zealand'] [{'concept': 'organization'}, 'headquarters location', 'New Zealand']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:headquarters_location resource:Denmark } UNION { ?y property:headquarters_location resource:Denmark } UNION { ?z property:headquarters_location resource:Denmark } UNION { ?y property:headquarters_location resource:Denmark } UNION { ?z property:headquarters_location resource:Austria } UNION { ?y property:headquarters_location resource:Austria } UNION { ?z property:headquarters_location resource:New_Zealand } UNION { ?y property:headquarters_location resource:New_Zealand } } . ?z rdf:type ontology:social_experiment . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P112
Q43229
USER
Which organization was founded by Denmark ?
(c(Q43229),P112,Q35)
action filter_type
action find_reverse
entity Q35
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q35']
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q35 . ?l rdf:type ontology:Q43229 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Denmark']
SELECT DISTINCT ?l WHERE { ?l property:founder resource:Denmark . ?l rdf:type ontology:organization }
[]
organization
Q3181430
SYSTEM
PostNord
Q3181430
(c(Q43229),P112,Q35)
action filter_type
action find_reverse
entity Q35
relation P112
type Q43229
[ANSWER] was founded by Denmark
[{'concept': 'Q43229'}, 'P112', 'Q35']
SELECT DISTINCT ?l WHERE { ?l property:P112 resource:Q35 . ?l rdf:type ontology:Q43229 }
PostNord
PostNord was founded by Denmark
PostNord
action filter_type
action find_reverse
entity Denmark
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Denmark']
SELECT DISTINCT ?l WHERE { ?l property:founder resource:Denmark . ?l rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35
P610
Q14524493
USER
What is the highest point of that political territory ?
(Q3181430,P610,c(Q14524493))
action filter_type
action find
entity Q35
relation P610
type Q14524493
['Q3181430', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { resource:Q35 property:P610 ?d . ?d rdf:type ontology:Q14524493 }
Denmark
action filter_type
action find
entity Denmark
relation highest point
type terrain
['PostNord', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { resource:Denmark property:highest_point ?d . ?d rdf:type ontology:terrain }
[]
terrain
Q689106
SYSTEM
Møllehøj
Q689106
(Q3181430,P610,c(Q14524493))
action filter_type
action find
entity Q35
relation P610
type Q14524493
The highest point of that political territory is at [ANSWER]
['Q3181430', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { resource:Q35 property:P610 ?d . ?d rdf:type ontology:Q14524493 }
Møllehøj
The highest point of that political territory is at Møllehøj
Møllehøj
action filter_type
action find
entity Denmark
relation highest point
type terrain
['PostNord', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { resource:Denmark property:highest_point ?d . ?d rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P463
Q43229
USER
What organizations were Denmark a member of ?
(Q35,P463,c(Q43229))
action filter_type
action find
entity Q35
relation P463
type Q43229
['Q35', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q35 property:P463 ?k . ?k rdf:type ontology:Q43229 }
Denmark
action filter_type
action find
entity Denmark
relation member of
type organization
['Denmark', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Denmark property:member_of ?k . ?k rdf:type ontology:organization }
[]
organization
Q151991 Q7825 Q41550
SYSTEM
European Southern Observatory, World Trade Organization, Organisation for Economic Co-operation and Development
Q340195 Q191384 Q899770 Q41550 Q656801 Q151991 Q7825 Q827525
(Q35,P463,c(Q43229))
action filter_type
action find
entity Q35
relation P463
type Q43229
Denmark were the [ANSWERS]
['Q35', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?k WHERE { resource:Q35 property:P463 ?k . ?k rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory World Trade Organization International Development Association
Denmark were the European Southern Observatory, World Trade Organization and Organisation for Economic Co-operation and Development
European Southern Observatory World Trade Organization Organisation for Economic Co-operation and Development
action filter_type
action find
entity Denmark
relation member of
type organization
['Denmark', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?k WHERE { resource:Denmark property:member_of ?k . ?k rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1820419
Q43229
USER
And what about Friends of the Earth - France?
(Q1820419,P463,c(Q43229))
action filter_type
action find
entity Q1820419
relation P463
type Q43229
['Q1820419', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q1820419 property:P463 ?t . ?t rdf:type ontology:Q43229 }
Friends of the Earth - France
action filter_type
action find
entity Friends of the Earth - France
relation member of
type organization
['Friends of the Earth - France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Friends_of_the_Earth_-_France property:member_of ?t . ?t rdf:type ontology:organization }
[]
organization
Q196232 Q5504331
SYSTEM
Friends of the Earth, Friends of the Earth Europe
Q196232 Q5504331
(Q1820419,P463,c(Q43229))
action filter_type
action find
entity Q1820419
relation P463
type Q43229
[ANSWERS]
['Q1820419', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { resource:Q1820419 property:P463 ?t . ?t rdf:type ontology:Q43229 }
Friends of the Earth Friends of the Earth Europe
Friends of the Earth Friends of the Earth Europe
action filter_type
action find
entity Friends of the Earth - France
relation member of
type organization
['Friends of the Earth - France', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { resource:Friends_of_the_Earth_-_France property:member_of ?t . ?t rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q35
P35
Q502895
USER
How many people are elected as the head of state of Denmark ?
(Q35,P35,c(Q502895))
action count
action filter_type
action find
entity Q35
relation P35
type Q502895
['Q35', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q35 property:P35 ?p . ?p rdf:type ontology:Q502895 }
Denmark
action count
action filter_type
action find
entity Denmark
relation head of state
type common name
['Denmark', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Denmark property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
23
Q151305 Q154041 Q161958 Q156187 Q157793 Q156572 Q157776 Q152756 Q154460 Q157812 Q151312 Q157789 Q153940 Q161059 Q157781 Q58056 Q102139 Q156617 Q155002 Q154998 Q94941 Q153586 Q154993
(Q35,P35,c(Q502895))
action count
action filter_type
action find
entity Q35
relation P35
type Q502895
[ANSWER]
['Q35', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q35 property:P35 ?p . ?p rdf:type ontology:Q502895 }
Christian IX of Denmark Frederick II of Denmark Eric of Pomerania Frederick V of Denmark Christian V of Denmark Christian VII of Denmark John, King of Denmark Frederick VIII of Denmark Christian II of Denmark Frederick III of Denmark Frederick IX of Denmark Frederick I of Denmark Christian I of Denmark Frederick IV of Denmark Christian VIII of Denmark Christopher of Bavaria Margrethe II of Denmark Christian X of Denmark Frederick VI of Denmark Christian III of Denmark Frederick VII of Denmark Christian IV of Denmark Christian VI of Denmark
23
action count
action filter_type
action find
entity Denmark
relation head of state
type common name
['Denmark', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Denmark property:head_of_state ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q836
P35
Q502895
USER
And what about Myanmar?
(Q836,P35,c(Q502895))
action count
action filter_type
action find
entity Q836
relation P35
type Q502895
['Q836', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q836 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Myanmar
action count
action filter_type
action find
entity Myanmar
relation head of state
type common name
['Myanmar', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Myanmar property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q12149
(Q836,P35,c(Q502895))
action count
action filter_type
action find
entity Q836
relation P35
type Q502895
[ANSWER]
['Q836', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q836 property:P35 ?t . ?t rdf:type ontology:Q502895 }
Thein Sein
1
action count
action filter_type
action find
entity Myanmar
relation head of state
type common name
['Myanmar', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Myanmar property:head_of_state ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q211
Q502895
USER
And what about Latvia?
(Q211,P35,c(Q502895))
action count
action filter_type
action find
entity Q211
relation P35
type Q502895
['Q211', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q211 property:P35 ?r . ?r rdf:type ontology:Q502895 }
Latvia
action count
action filter_type
action find
entity Latvia
relation head of state
type common name
['Latvia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Latvia property:head_of_state ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q211,P35,c(Q502895))
action count
action filter_type
action find
entity Q211
relation P35
type Q502895
[ANSWER]
['Q211', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q211 property:P35 ?r . ?r rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Latvia
relation head of state
type common name
['Latvia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Latvia property:head_of_state ?r . ?r rdf:type ontology:common_name }
[]