Simple Question (Direct)
Simple Question
Q29438
P21
Q290
USER
What is the sex of Hervaeus Natalis ?
(Q29438,P21,c(Q290))
action filter_type
action find
entity Q29438
relation P21
type Q290
['Q29438', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q29438 property:P21 ?w . ?w rdf:type ontology:Q290 }
Hervaeus Natalis
action filter_type
action find
entity Hervaeus Natalis
relation gender
type sex
['Hervaeus Natalis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Hervaeus_Natalis property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q29438,P21,c(Q290))
action filter_type
action find
entity Q29438
relation P21
type Q290
The sex of Hervaeus Natalis is the [ANSWER]
['Q29438', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q29438 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Hervaeus Natalis is the male
male
action filter_type
action find
entity Hervaeus Natalis
relation gender
type sex
['Hervaeus Natalis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Hervaeus_Natalis property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29438
P140
Q874405
USER
What is the religion associated with Hervaeus Natalis ?
(Q29438,P140,c(Q874405))
action filter_type
action find
entity Q29438
relation P140
type Q874405
['Q29438', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q29438 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Hervaeus Natalis
action filter_type
action find
entity Hervaeus Natalis
relation religion
type social group
['Hervaeus Natalis', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Hervaeus_Natalis property:religion ?k . ?k rdf:type ontology:social_group }
[]
social group
Q5043
SYSTEM
Christianity
Q5043
(Q29438,P140,c(Q874405))
action filter_type
action find
entity Q29438
relation P140
type Q874405
The religion associated with Hervaeus Natalis is of [ANSWER]
['Q29438', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?k WHERE { resource:Q29438 property:P140 ?k . ?k rdf:type ontology:Q874405 }
Christianity
The religion associated with Hervaeus Natalis is of Christianity
Christianity
action filter_type
action find
entity Hervaeus Natalis
relation religion
type social group
['Hervaeus Natalis', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?k WHERE { resource:Hervaeus_Natalis property:religion ?k . ?k rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5043 Q7070728
P140
Q502895
USER
Does Nwachukwu Uti have that social group as religious affiliation ?
(Q7070728,P140,Q5043)
action is_in
entity Q5043
action find
entity Q7070728
relation P140
['Q7070728', 'P140', 'Q5043']
ASK WHERE { resource:Q7070728 property:P140 resource:Q5043 }
Christianity Nwachukwu Uti
action is_in
entity Christianity
action find
entity Nwachukwu Uti
relation religion
['Nwachukwu Uti', 'religion', 'Christianity']
ASK WHERE { resource:Nwachukwu_Uti property:religion resource:Christianity }
[]
common name
SYSTEM
YES
(Q7070728,P140,Q5043)
action is_in
entity Q5043
action find
entity Q7070728
relation P140
[ANSWER]
['Q7070728', 'P140', 'Q5043']
ASK WHERE { resource:Q7070728 property:P140 resource:Q5043 }
Yes
action is_in
entity Christianity
action find
entity Nwachukwu Uti
relation religion
['Nwachukwu Uti', 'religion', 'Christianity']
ASK WHERE { resource:Nwachukwu_Uti property:religion resource:Christianity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5043
P112
Q15619164
USER
Who was the founder of that social group ?
action filter_type
action find
entity Q5043
relation P112
type Q15619164
SELECT DISTINCT ?i WHERE { resource:Q5043 property:P112 ?i . ?i rdf:type ontology:Q15619164 }
Christianity
action filter_type
action find
entity Christianity
relation founder
type abstract being
SELECT DISTINCT ?i WHERE { resource:Christianity property:founder ?i . ?i rdf:type ontology:abstract_being }
[]
abstract being
Q302
SYSTEM
Jesus Christ
Q302
action filter_type
action find
entity Q5043
relation P112
type Q15619164
The founder of that social group was a [ANSWER]
SELECT DISTINCT ?i WHERE { resource:Q5043 property:P112 ?i . ?i rdf:type ontology:Q15619164 }
Jesus Christ
The founder of that social group was a Jesus Christ
Jesus Christ
action filter_type
action find
entity Christianity
relation founder
type abstract being
SELECT DISTINCT ?i WHERE { resource:Christianity property:founder ?i . ?i rdf:type ontology:abstract_being }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6011605 Q7070728
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Nwachukwu Uti or Per Nilsson ?
OR((Q7070728,P27,c(Q15617994)), (Q6011605,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7070728
relation P27
action find
entity Q6011605
relation P27
type Q15617994
{'OR': [['Q7070728', 'P27', {'concept': 'Q15617994'}], ['Q6011605', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Q7070728 ) ( resource:Q6011605 ) } . ?l property:P27 ?s } . ?s rdf:type ontology:Q15617994 }
Per Nilsson Nwachukwu Uti
action filter_type
action union
action find
entity Nwachukwu Uti
relation country of citizenship
action find
entity Per Nilsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nwachukwu Uti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Per Nilsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Nwachukwu_Uti ) ( resource:Per_Nilsson ) } . ?l property:country_of_citizenship ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1033 Q34
SYSTEM
Nigeria, Sweden
Q1033 Q34
OR((Q7070728,P27,c(Q15617994)), (Q6011605,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7070728
relation P27
action find
entity Q6011605
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Nwachukwu Uti or Per Nilsson
{'OR': [['Q7070728', 'P27', {'concept': 'Q15617994'}], ['Q6011605', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Q7070728 ) ( resource:Q6011605 ) } . ?l property:P27 ?s } . ?s rdf:type ontology:Q15617994 }
Nigeria Sweden
Nigeria and Sweden are the countries of citizenship of Nwachukwu Uti or Per Nilsson
Nigeria Sweden
action filter_type
action union
action find
entity Nwachukwu Uti
relation country of citizenship
action find
entity Per Nilsson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nwachukwu Uti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Per Nilsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Nwachukwu_Uti ) ( resource:Per_Nilsson ) } . ?l property:country_of_citizenship ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have a diplomatic relationship with atleast 45 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 45
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { ?j property:P530 ?e . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?x >= 45 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { ?j property:diplomatic_relation ?e . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?x >= 45 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q155 Q38
(c(Q15617994),P530,c(Q15617994))
action count
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 45
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { ?j property:P530 ?e . ?j rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?x >= 45 ) }
Brazil Italy
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 45
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?x ) WHERE { ?j property:diplomatic_relation ?e . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?x >= 45 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q664
P530
Q15617994 Q1048835
USER
How many political territories have ambassadorial relations with around the same number of administrative territories as New Zealand ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j property:P530 ?k . ?j rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q664 property:P530 ?y . ?y rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?b ) }
New Zealand
action count
action approx
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j property:diplomatic_relation ?k . ?j rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:New_Zealand property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?b ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j property:P530 ?k . ?j rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:Q664 property:P530 ?y . ?y rdf:type ontology:Q1048835 } } . FILTER ( ?s = ?b ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
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 New Zealand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?k ) AS ?s ) WHERE { ?j property:diplomatic_relation ?k . ?j rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { resource:New_Zealand property:diplomatic_relation ?y . ?y rdf:type ontology:political_territorial_entity } } . FILTER ( ?s = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1000
P530
Q15617994 Q1048835
USER
And also tell me about Gabon?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?w ) WHERE { ?m property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q1000 property:P530 ?v } } . FILTER ( ?w = ?i ) }
Gabon
action count
action approx
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 Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?w ) WHERE { ?m property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Gabon property:diplomatic_relation ?v } } . FILTER ( ?w = ?i ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?w ) WHERE { ?m property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q1000 property:P530 ?v } } . FILTER ( ?w = ?i ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
11
action count
action approx
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 Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?w ) WHERE { ?m property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?i ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Gabon property:diplomatic_relation ?v } } . FILTER ( ?w = ?i ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3277196 Q302
P19
Q56061
USER
Which administrative territories were Jesus Christ or Cliff McNish born at ?
OR((Q302,P19,c(Q56061)), (Q3277196,P19,c(Q56061)))
action filter_type
action union
action find
entity Q302
relation P19
action find
entity Q3277196
relation P19
type Q56061
{'OR': [['Q302', 'P19', {'concept': 'Q56061'}], ['Q3277196', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q3277196 property:P19 ?m } UNION { resource:Q302 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Cliff McNish Jesus Christ
action filter_type
action union
action find
entity Jesus Christ
relation place of birth
action find
entity Cliff McNish
relation place of birth
type administrative territorial entity
{'OR': [['Jesus Christ', 'place of birth', {'concept': 'administrative territorial entity'}], ['Cliff McNish', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Cliff_McNish property:place_of_birth ?m } UNION { resource:Jesus_Christ property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q430776 Q188304
SYSTEM
Nazareth, Sunderland
Q430776 Q188304
OR((Q302,P19,c(Q56061)), (Q3277196,P19,c(Q56061)))
action filter_type
action union
action find
entity Q302
relation P19
action find
entity Q3277196
relation P19
type Q56061
Jesus Christ or Cliff McNish were born in [ANSWERS]
{'OR': [['Q302', 'P19', {'concept': 'Q56061'}], ['Q3277196', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q3277196 property:P19 ?m } UNION { resource:Q302 property:P19 ?m } } . ?m rdf:type ontology:Q56061 }
Nazareth Sunderland
Jesus Christ or Cliff McNish were born in Nazareth and Sunderland
Nazareth Sunderland
action filter_type
action union
action find
entity Jesus Christ
relation place of birth
action find
entity Cliff McNish
relation place of birth
type administrative territorial entity
{'OR': [['Jesus Christ', 'place of birth', {'concept': 'administrative territorial entity'}], ['Cliff McNish', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Cliff_McNish property:place_of_birth ?m } UNION { resource:Jesus_Christ property:place_of_birth ?m } } . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q34
P463
Q2567147 Q43229
USER
How many rapid reaction forces or organizations had Sweden as their member ?
(Q34,P463,c(Q2567147)) (Q34,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q2567147
action filter_type
action find
entity Q34
relation P463
type Q43229
['Q34', 'P463', {'concept': 'Q2567147'}] ['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { resource:Q34 property:P463 ?o . ?o rdf:type ontology:Q2567147 } UNION { ?o rdf:type ontology:Q43229 . resource:Q34 property:P463 ?o } }
Sweden
action count
action union
action filter_type
action find
entity Sweden
relation member of
type rapid reaction force
action filter_type
action find
entity Sweden
relation member of
type organization
['Sweden', 'member of', {'concept': 'rapid reaction force'}] ['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { resource:Sweden property:member_of ?o . ?o rdf:type ontology:rapid_reaction_force } UNION { ?o rdf:type ontology:organization . resource:Sweden property:member_of ?o } }
[]
rapid reaction force organization
SYSTEM
9
Q340195 Q191384 Q1998131 Q899770 Q41550 Q656801 Q151991 Q7825 Q827525
(Q34,P463,c(Q2567147)) (Q34,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q34
relation P463
type Q2567147
action filter_type
action find
entity Q34
relation P463
type Q43229
[ANSWER]
['Q34', 'P463', {'concept': 'Q2567147'}] ['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { resource:Q34 property:P463 ?o . ?o rdf:type ontology:Q2567147 } UNION { ?o rdf:type ontology:Q43229 . resource:Q34 property:P463 ?o } }
African Development Bank International Bank for Reconstruction and Development Nordic Battle Group 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
9
action count
action union
action filter_type
action find
entity Sweden
relation member of
type rapid reaction force
action filter_type
action find
entity Sweden
relation member of
type organization
['Sweden', 'member of', {'concept': 'rapid reaction force'}] ['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { { resource:Sweden property:member_of ?o . ?o rdf:type ontology:rapid_reaction_force } UNION { ?o rdf:type ontology:organization . resource:Sweden property:member_of ?o } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P749
Q19335303 Q43229 Q874405
USER
Which social groups have exactly 1 German business organizations and organizations as parent organization ?
(c(Q874405),P749,c(Q19335303)|c(Q43229))
action equal
action union
action find_tuple_counts
relation P749
type Q874405
type Q19335303
action find_tuple_counts
relation P749
type Q874405
type Q43229
value 1
[{'concept': 'Q874405'}, 'P749', [{'concept': 'Q19335303'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:Q19335303 ) ( ontology:Q43229 ) } . ?e rdf:type ?i } GROUP BY ?v } . FILTER ( ?j = 1 ) }
action equal
action union
action find_tuple_counts
relation parent organization
type social group
type type of business entity in Germany
action find_tuple_counts
relation parent organization
type social group
type organization
value 1
[{'concept': 'social group'}, 'parent organization', [{'concept': 'type of business entity in Germany'}, {'concept': 'organization'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:type_of_business_entity_in_Germany ) ( ontology:organization ) } . ?e rdf:type ?i } GROUP BY ?v } . FILTER ( ?j = 1 ) }
[]
type of business entity in Germany organization social group
Q1377855 Q15293666 Q23978267
SYSTEM
Google.org, Straßenbahn Kleve, beIN CONNECT
Q4816411 Q1114200 Q11788418 Q4929965 Q13431465 Q2860866 Q4698479 Q3519460 Q14623752 Q2044206 Q26830968 Q4318661 Q781027 Q3913196 Q3435621 Q4698480 Q1377855 Q1203555 Q408396 Q11722823 Q14334150 Q23978267 Q15293666 Q10955989
(c(Q874405),P749,c(Q19335303)|c(Q43229))
action equal
action union
action find_tuple_counts
relation P749
type Q874405
type Q19335303
action find_tuple_counts
relation P749
type Q874405
type Q43229
value 1
[ANSWERS] have exactly 1 German business organizations and organizations as parent organization
[{'concept': 'Q874405'}, 'P749', [{'concept': 'Q19335303'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:Q19335303 ) ( ontology:Q43229 ) } . ?e rdf:type ?i } GROUP BY ?v } . FILTER ( ?j = 1 ) }
Atlantic Council of Serbia Picnik NWR Karbonia Blue Triangle Thales Air Defence Areva TA Airbus ProSky Thales Underwater Systems Pink BH PIK Vrbovec USA TODAY Network Nizhny Novgorod Research Institute of Radio Engineering Audi Hungaria Motor Kft. Thales Nederland Elektrárna Dětmarovice Airbus Operations S.A.S. Google.org Deutsche Messe AG Airbus Transport International Centrum Holdings MediaCorp Raintree Pictures beIN CONNECT Straßenbahn Kleve Media Asia Film Distribution Company
Google.org, Straßenbahn Kleve and beIN CONNECT have exactly 1 German business organizations and organizations as parent organization
Google.org Straßenbahn Kleve beIN CONNECT
action equal
action union
action find_tuple_counts
relation parent organization
type social group
type type of business entity in Germany
action find_tuple_counts
relation parent organization
type social group
type organization
value 1
[{'concept': 'social group'}, 'parent organization', [{'concept': 'type of business entity in Germany'}, {'concept': 'organization'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?j ) WHERE { VALUES ( ?i ) { ( ontology:type_of_business_entity_in_Germany ) ( ontology:organization ) } . ?e rdf:type ?i } GROUP BY ?v } . FILTER ( ?j = 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P749
Q43229
USER
How many organizations are the parent organizations of that social group ?
(Q1377855,P749,c(Q43229))
['Q1377855', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1377855 property:P749 ?z . ?z rdf:type ontology:Q43229 }
['Google.org', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Google.org property:parent_organization ?z . ?z rdf:type ontology:organization }
[]
organization
Quantitative|Count|Single entity type|Clarification
Q1377855
SYSTEM
Did you mean Google.org ?
(Q1377855,P749,c(Q43229)) (Q15293666,P749,c(Q43229)) (Q23978267,P749,c(Q43229))
[ANSWER]
['Q1377855', 'P749', {'concept': 'Q43229'}] ['Q15293666', 'P749', {'concept': 'Q43229'}] ['Q23978267', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1377855 property:P749 ?z . ?z rdf:type ontology:Q43229 }
Did you mean Google.org ?
Google.org
['Google.org', 'parent organization', {'concept': 'organization'}] ['Straßenbahn Kleve', 'parent organization', {'concept': 'organization'}] ['beIN CONNECT', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Google.org property:parent_organization ?z . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q1377855,P749,c(Q43229))
['Q1377855', 'P749', {'concept': 'Q43229'}]
['Google.org', 'parent organization', {'concept': 'organization'}]
[]
SYSTEM
1
Q95
(Q1377855,P749,c(Q43229))
[ANSWER]
['Q1377855', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1377855 property:P749 ?z . ?z rdf:type ontology:Q43229 }
Google
1
['Google.org', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Google.org property:parent_organization ?z . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1377855
P749
Q43229
USER
How many organizations are the parent organizations of Google.org ?
(Q1377855,P749,c(Q43229))
action count
action filter_type
action find
entity Q1377855
relation P749
type Q43229
['Q1377855', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q1377855 property:P749 ?z . ?z rdf:type ontology:Q43229 }
Google.org
action count
action filter_type
action find
entity Google.org
relation parent organization
type organization
['Google.org', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Google.org property:parent_organization ?z . ?z rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q95
(Q1377855,P749,c(Q43229))
action count
action filter_type
action find
entity Q1377855
relation P749
type Q43229
[ANSWER]
['Q1377855', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q1377855 property:P749 ?z . ?z rdf:type ontology:Q43229 }
Google
1
action count
action filter_type
action find
entity Google.org
relation parent organization
type organization
['Google.org', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Google.org property:parent_organization ?z . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1754153
P749
Q43229
USER
And also tell me about Maersk Air?
(Q1754153,P749,c(Q43229))
action count
action filter_type
action find
entity Q1754153
relation P749
type Q43229
['Q1754153', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q1754153 property:P749 ?q . ?q rdf:type ontology:Q43229 }
Maersk Air
action count
action filter_type
action find
entity Maersk Air
relation parent organization
type organization
['Maersk Air', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Maersk_Air property:parent_organization ?q . ?q rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q18224
(Q1754153,P749,c(Q43229))
action count
action filter_type
action find
entity Q1754153
relation P749
type Q43229
[ANSWER]
['Q1754153', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Q1754153 property:P749 ?q . ?q rdf:type ontology:Q43229 }
Maersk
1
action count
action filter_type
action find
entity Maersk Air
relation parent organization
type organization
['Maersk Air', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { resource:Maersk_Air property:parent_organization ?q . ?q rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3080669
Q43229
USER
And what about France Bleu Toulouse?
(Q3080669,P749,c(Q43229))
action count
action filter_type
action find
entity Q3080669
relation P749
type Q43229
['Q3080669', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q3080669 property:P749 ?e . ?e rdf:type ontology:Q43229 }
France Bleu Toulouse
action count
action filter_type
action find
entity France Bleu Toulouse
relation parent organization
type organization
['France Bleu Toulouse', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:France_Bleu_Toulouse property:parent_organization ?e . ?e rdf:type ontology:organization }
[]
organization
SYSTEM
1
(Q3080669,P749,c(Q43229))
action count
action filter_type
action find
entity Q3080669
relation P749
type Q43229
[ANSWER]
['Q3080669', 'P749', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:Q3080669 property:P749 ?e . ?e rdf:type ontology:Q43229 }
1
action count
action filter_type
action find
entity France Bleu Toulouse
relation parent organization
type organization
['France Bleu Toulouse', 'parent organization', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { resource:France_Bleu_Toulouse property:parent_organization ?e . ?e rdf:type ontology:organization }
[]