Simple Question (Direct)
Simple Question
Q432835
P140
Q874405
USER
What is the religious affiliation of Benoît Vermander ?
(Q432835,P140,c(Q874405))
action filter_type
action find
entity Q432835
relation P140
type Q874405
['Q432835', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q432835 property:P140 ?j . ?j rdf:type ontology:Q874405 }
Benoît Vermander
action filter_type
action find
entity Benoît Vermander
relation religion
type social group
['Benoît Vermander', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Benoît_Vermander property:religion ?j . ?j rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q432835,P140,c(Q874405))
action filter_type
action find
entity Q432835
relation P140
type Q874405
The religious affiliation of Benoît Vermander is Roman [ANSWER]
['Q432835', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?j WHERE { resource:Q432835 property:P140 ?j . ?j rdf:type ontology:Q874405 }
Catholicism
The religious affiliation of Benoît Vermander is Roman Catholicism
Catholicism
action filter_type
action find
entity Benoît Vermander
relation religion
type social group
['Benoît Vermander', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?j WHERE { resource:Benoît_Vermander property:religion ?j . ?j rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q432835
P611
Q1530022
USER
What religion is Benoît Vermander affiliated to ?
(Q432835,P611,c(Q1530022))
action filter_type
action find
entity Q432835
relation P611
type Q1530022
['Q432835', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?o WHERE { resource:Q432835 property:P611 ?o . ?o rdf:type ontology:Q1530022 }
Benoît Vermander
action filter_type
action find
entity Benoît Vermander
relation religious order
type religious organization
['Benoît Vermander', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?o WHERE { resource:Benoît_Vermander property:religious_order ?o . ?o rdf:type ontology:religious_organization }
[]
religious organization
Q36380
SYSTEM
Society of Jesus
Q36380
(Q432835,P611,c(Q1530022))
action filter_type
action find
entity Q432835
relation P611
type Q1530022
Benoît Vermander is affiliated to [ANSWER]
['Q432835', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?o WHERE { resource:Q432835 property:P611 ?o . ?o rdf:type ontology:Q1530022 }
Society of Jesus
Benoît Vermander is affiliated to Society of Jesus
Society of Jesus
action filter_type
action find
entity Benoît Vermander
relation religious order
type religious organization
['Benoît Vermander', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?o WHERE { resource:Benoît_Vermander property:religious_order ?o . ?o rdf:type ontology:religious_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q432835
P106
Q12737077
USER
What are the job of Benoît Vermander ?
(Q432835,P106,c(Q12737077))
action filter_type
action find
entity Q432835
relation P106
type Q12737077
['Q432835', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q432835 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Benoît Vermander
action filter_type
action find
entity Benoît Vermander
relation occupation
type occupation
['Benoît Vermander', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Benoît_Vermander property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q1028181 Q1238570
SYSTEM
painter, political scientist
Q1028181 Q1238570
(Q432835,P106,c(Q12737077))
action filter_type
action find
entity Q432835
relation P106
type Q12737077
The job of Benoît Vermander are a [ANSWERS]
['Q432835', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q432835 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
painter political scientist
The job of Benoît Vermander are a painter and political scientist
painter political scientist
action filter_type
action find
entity Benoît Vermander
relation occupation
type occupation
['Benoît Vermander', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Benoît_Vermander property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q432835
P69
Q163740
USER
Where was that person educated ?
(Q1028181,P69,c(Q163740)) (Q1238570,P69,c(Q163740))
action filter_type
action find
entity Q432835
relation P69
type Q163740
['Q1028181', 'P69', {'concept': 'Q163740'}] ['Q1238570', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q432835 property:P69 ?e . ?e rdf:type ontology:Q163740 }
Benoît Vermander
action filter_type
action find
entity Benoît Vermander
relation educated at
type nonprofit organization
['painter', 'educated at', {'concept': 'nonprofit organization'}] ['political scientist', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:Benoît_Vermander property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q1028181,P69,c(Q163740)) (Q1238570,P69,c(Q163740))
action filter_type
action find
entity Q432835
relation P69
type Q163740
That person was educated at [ANSWER]
['Q1028181', 'P69', {'concept': 'Q163740'}] ['Q1238570', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q432835 property:P69 ?e . ?e rdf:type ontology:Q163740 }
Yale University
That person was educated at Yale University
Yale University
action filter_type
action find
entity Benoît Vermander
relation educated at
type nonprofit organization
['painter', 'educated at', {'concept': 'nonprofit organization'}] ['political scientist', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:Benoît_Vermander property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q49112
P159
Q874405 Q43229
USER
How many social groups or organizations have their head office location at Yale University ?
(c(Q874405),P159,Q49112) (c(Q43229),P159,Q49112)
action count
action union
action filter_type
action find_reverse
entity Q49112
relation P159
type Q874405
action filter_type
action find_reverse
entity Q49112
relation P159
type Q43229
[{'concept': 'Q874405'}, 'P159', 'Q49112'] [{'concept': 'Q43229'}, 'P159', 'Q49112']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d property:P159 resource:Q49112 . ?d rdf:type ontology:Q43229 } UNION { ?d rdf:type ontology:Q874405 . ?d property:P159 resource:Q49112 } }
Yale University
action count
action union
action filter_type
action find_reverse
entity Yale University
relation headquarters location
type social group
action filter_type
action find_reverse
entity Yale University
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Yale University'] [{'concept': 'organization'}, 'headquarters location', 'Yale University']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d property:headquarters_location resource:Yale_University . ?d rdf:type ontology:organization } UNION { ?d rdf:type ontology:social_group . ?d property:headquarters_location resource:Yale_University } }
[]
social group organization
SYSTEM
5
Q1550246 Q6554727 Q8047401 Q8047411 Q4975704
(c(Q874405),P159,Q49112) (c(Q43229),P159,Q49112)
action count
action union
action filter_type
action find_reverse
entity Q49112
relation P159
type Q874405
action filter_type
action find_reverse
entity Q49112
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q49112'] [{'concept': 'Q43229'}, 'P159', 'Q49112']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d property:P159 resource:Q49112 . ?d rdf:type ontology:Q43229 } UNION { ?d rdf:type ontology:Q874405 . ?d property:P159 resource:Q49112 } }
Peter and Patricia Gruber Foundation Linonian Society Yale Model Government Europe Yale Political Union Brothers in Unity
5
action count
action union
action filter_type
action find_reverse
entity Yale University
relation headquarters location
type social group
action filter_type
action find_reverse
entity Yale University
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Yale University'] [{'concept': 'organization'}, 'headquarters location', 'Yale University']
SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) WHERE { { ?d property:headquarters_location resource:Yale_University . ?d rdf:type ontology:organization } UNION { ?d rdf:type ontology:social_group . ?d property:headquarters_location resource:Yale_University } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q805285 Q49112
P69
Q502895
USER
Which people were educated at Yale University and Balliol College ?
AND((c(Q502895),P69,Q49112), (c(Q502895),P69,Q805285))
action filter_type
action intersection
action find_reverse
entity Q49112
relation P69
action find_reverse
entity Q805285
relation P69
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q49112'], [{'concept': 'Q502895'}, 'P69', 'Q805285']]}
SELECT DISTINCT ?h WHERE { ?h property:P69 resource:Q49112 . ?h property:P69 resource:Q805285 . ?h rdf:type ontology:Q502895 }
Balliol College Yale University
action filter_type
action intersection
action find_reverse
entity Yale University
relation educated at
action find_reverse
entity Balliol College
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Yale University'], [{'concept': 'common name'}, 'educated at', 'Balliol College']]}
SELECT DISTINCT ?h WHERE { ?h property:educated_at resource:Yale_University . ?h property:educated_at resource:Balliol_College . ?h rdf:type ontology:common_name }
[]
common name
Q1409298 Q7325278 Q551252 Q7328480 Q4162661 Q5233838 Q4734342 Q7788152 Q248767 Q552215
SYSTEM
Some of them are Sean Wilentz, Richard Drayton, Daniel J. Boorstin, Richard Portes, Holbrook Mann MacNeille, David Freedberg, Alon Harel, Thomas C. Mendenhall, John Templeton, Jim Rogers
Q7328480 Q5372429 Q7788152 Q1409298 Q248767 Q5233838 Q4162661 Q551252 Q7325278 Q4734342 Q552215
AND((c(Q502895),P69,Q49112), (c(Q502895),P69,Q805285))
action filter_type
action intersection
action find_reverse
entity Q49112
relation P69
action find_reverse
entity Q805285
relation P69
type Q502895
[ANSWERS] were educated at Yale University and Balliol College
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q49112'], [{'concept': 'Q502895'}, 'P69', 'Q805285']]}
SELECT DISTINCT ?h WHERE { ?h property:P69 resource:Q49112 . ?h property:P69 resource:Q805285 . ?h rdf:type ontology:Q502895 }
Richard Portes Emily Wilson Thomas C. Mendenhall Sean Wilentz John Templeton David Freedberg Holbrook Mann MacNeille Daniel J. Boorstin Richard Drayton Alon Harel Jim Rogers
Sean Wilentz, Richard Drayton, Daniel J. Boorstin, Richard Portes, Holbrook Mann MacNeille, David Freedberg, Alon Harel, Thomas C. Mendenhall, John Templeton and Jim Rogers were educated at Yale University and Balliol College
Sean Wilentz Richard Drayton Daniel J. Boorstin Richard Portes Holbrook Mann MacNeille David Freedberg Alon Harel Thomas C. Mendenhall John Templeton Jim Rogers
action filter_type
action intersection
action find_reverse
entity Yale University
relation educated at
action find_reverse
entity Balliol College
relation educated at
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Yale University'], [{'concept': 'common name'}, 'educated at', 'Balliol College']]}
SELECT DISTINCT ?h WHERE { ?h property:educated_at resource:Yale_University . ?h property:educated_at resource:Balliol_College . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q805285 Q2995289
P138
Q502895
USER
How many people are Balliol College or Wythoff construction named after ?
(Q805285,P138,c(Q502895)) (Q2995289,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q805285
relation P138
type Q502895
action filter_type
action find
entity Q2995289
relation P138
type Q502895
['Q805285', 'P138', {'concept': 'Q502895'}] ['Q2995289', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?x ) { ( resource:Q2995289 ) ( resource:Q805285 ) } . ?x property:P138 ?q }
Balliol College Wythoff construction
action count
action union
action filter_type
action find
entity Balliol College
relation named after
type common name
action filter_type
action find
entity Wythoff construction
relation named after
type common name
['Balliol College', 'named after', {'concept': 'common name'}] ['Wythoff construction', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?x ) { ( resource:Wythoff_construction ) ( resource:Balliol_College ) } . ?x property:named_after ?q }
[]
common name
SYSTEM
2
Q323643 Q440426
(Q805285,P138,c(Q502895)) (Q2995289,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q805285
relation P138
type Q502895
action filter_type
action find
entity Q2995289
relation P138
type Q502895
[ANSWER]
['Q805285', 'P138', {'concept': 'Q502895'}] ['Q2995289', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?x ) { ( resource:Q2995289 ) ( resource:Q805285 ) } . ?x property:P138 ?q }
John I de Balliol Willem Abraham Wythoff
2
action count
action union
action filter_type
action find
entity Balliol College
relation named after
type common name
action filter_type
action find
entity Wythoff construction
relation named after
type common name
['Balliol College', 'named after', {'concept': 'common name'}] ['Wythoff construction', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?x ) { ( resource:Wythoff_construction ) ( resource:Balliol_College ) } . ?x property:named_after ?q }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q4756612 Q7325278
P69
Q1244442
USER
Which school buildings are Richard Drayton and Andrew Clark an alumni of ?
AND((Q7325278,P69,c(Q1244442)), (Q4756612,P69,c(Q1244442)))
action filter_type
action intersection
action find
entity Q7325278
relation P69
action find
entity Q4756612
relation P69
type Q1244442
{'AND': [['Q7325278', 'P69', {'concept': 'Q1244442'}], ['Q4756612', 'P69', {'concept': 'Q1244442'}]]}
SELECT DISTINCT ?d WHERE { resource:Q7325278 property:P69 ?d . resource:Q4756612 property:P69 ?d . ?d rdf:type ontology:Q1244442 }
Andrew Clark Richard Drayton
action filter_type
action intersection
action find
entity Richard Drayton
relation educated at
action find
entity Andrew Clark
relation educated at
type school building
{'AND': [['Richard Drayton', 'educated at', {'concept': 'school building'}], ['Andrew Clark', 'educated at', {'concept': 'school building'}]]}
SELECT DISTINCT ?d WHERE { resource:Richard_Drayton property:educated_at ?d . resource:Andrew_Clark property:educated_at ?d . ?d rdf:type ontology:school_building }
[]
school building
Q805285
SYSTEM
Balliol College
Q805285
AND((Q7325278,P69,c(Q1244442)), (Q4756612,P69,c(Q1244442)))
action filter_type
action intersection
action find
entity Q7325278
relation P69
action find
entity Q4756612
relation P69
type Q1244442
[ANSWER] is Richard Drayton and Andrew Clark an alumni of
{'AND': [['Q7325278', 'P69', {'concept': 'Q1244442'}], ['Q4756612', 'P69', {'concept': 'Q1244442'}]]}
SELECT DISTINCT ?d WHERE { resource:Q7325278 property:P69 ?d . resource:Q4756612 property:P69 ?d . ?d rdf:type ontology:Q1244442 }
Balliol College
Balliol College is Richard Drayton and Andrew Clark an alumni of
Balliol College
action filter_type
action intersection
action find
entity Richard Drayton
relation educated at
action find
entity Andrew Clark
relation educated at
type school building
{'AND': [['Richard Drayton', 'educated at', {'concept': 'school building'}], ['Andrew Clark', 'educated at', {'concept': 'school building'}]]}
SELECT DISTINCT ?d WHERE { resource:Richard_Drayton property:educated_at ?d . resource:Andrew_Clark property:educated_at ?d . ?d rdf:type ontology:school_building }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P69
Q1244442 Q502895
USER
Which school buildings were greater number of people educated at than that school building ?
(c(Q502895),P69,c(Q1244442))
action greater
action find_reverse_tuple_counts
relation P69
type Q1244442
type Q502895
action count
action filter_type
action find
entity Q805285
relation P69
type Q1244442
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q805285 property:P69 ?v . ?v rdf:type ontology:Q1244442 } } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P69 ?s . ?s rdf:type ontology:Q1244442 . ?z rdf:type ontology:Q502895 } GROUP BY ?s } }
action greater
action find_reverse_tuple_counts
relation educated at
type school building
type common name
action count
action filter_type
action find
entity Balliol College
relation educated at
type school building
[{'concept': 'common name'}, 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Balliol_College property:educated_at ?v . ?v rdf:type ontology:school_building } } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:educated_at ?s . ?s rdf:type ontology:school_building . ?z rdf:type ontology:common_name } GROUP BY ?s } }
[]
school building common name
Q745967
SYSTEM
Christ Church
Q745967
(c(Q502895),P69,c(Q1244442))
action greater
action find_reverse_tuple_counts
relation P69
type Q1244442
type Q502895
action count
action filter_type
action find
entity Q805285
relation P69
type Q1244442
[ANSWER] was greater number of people educated at than that school building
[{'concept': 'Q502895'}, 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Q805285 property:P69 ?v . ?v rdf:type ontology:Q1244442 } } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P69 ?s . ?s rdf:type ontology:Q1244442 . ?z rdf:type ontology:Q502895 } GROUP BY ?s } }
Christ Church
Christ Church was greater number of people educated at than that school building
Christ Church
action greater
action find_reverse_tuple_counts
relation educated at
type school building
type common name
action count
action filter_type
action find
entity Balliol College
relation educated at
type school building
[{'concept': 'common name'}, 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { resource:Balliol_College property:educated_at ?v . ?v rdf:type ontology:school_building } } . FILTER ( ?w > ?m ) . { SELECT DISTINCT ?s ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:educated_at ?s . ?s rdf:type ontology:school_building . ?z rdf:type ontology:common_name } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3611526 Q432835
P27
Q15617994
USER
Which administrative territories do Benoît Vermander or Alfredo Zerbini belong to ?
OR((Q432835,P27,c(Q15617994)), (Q3611526,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q432835
relation P27
action find
entity Q3611526
relation P27
type Q15617994
{'OR': [['Q432835', 'P27', {'concept': 'Q15617994'}], ['Q3611526', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?c ) { ( resource:Q432835 ) ( resource:Q3611526 ) } . ?c property:P27 ?g } . ?g rdf:type ontology:Q15617994 }
Alfredo Zerbini Benoît Vermander
action filter_type
action union
action find
entity Benoît Vermander
relation country of citizenship
action find
entity Alfredo Zerbini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Benoît Vermander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alfredo Zerbini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?c ) { ( resource:Benoît_Vermander ) ( resource:Alfredo_Zerbini ) } . ?c property:country_of_citizenship ?g } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q432835,P27,c(Q15617994)), (Q3611526,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q432835
relation P27
action find
entity Q3611526
relation P27
type Q15617994
Benoît Vermander or Alfredo Zerbini belong to the [ANSWERS]
{'OR': [['Q432835', 'P27', {'concept': 'Q15617994'}], ['Q3611526', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?c ) { ( resource:Q432835 ) ( resource:Q3611526 ) } . ?c property:P27 ?g } . ?g rdf:type ontology:Q15617994 }
France Italy
Benoît Vermander or Alfredo Zerbini belong to the France and Italy
France Italy
action filter_type
action union
action find
entity Benoît Vermander
relation country of citizenship
action find
entity Alfredo Zerbini
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Benoît Vermander', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Alfredo Zerbini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?c ) { ( resource:Benoît_Vermander ) ( resource:Alfredo_Zerbini ) } . ?c property:country_of_citizenship ?g } . ?g 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
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with around 17 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?p property:P530 ?o } GROUP BY ?p } . FILTER ( ?y = 17 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?o } GROUP BY ?p } . FILTER ( ?y = 17 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
11
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 17
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?p property:P530 ?o } GROUP BY ?p } . FILTER ( ?y = 17 ) }
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
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?y ) WHERE { ?p rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?o } GROUP BY ?p } . FILTER ( ?y = 17 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q842
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with less number of administrative territories than Oman ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { ?g property:P530 ?m . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q842 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?z ) }
Oman
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { ?g property:diplomatic_relation ?m . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Oman property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with less number of administrative territories than Oman
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { ?g property:P530 ?m . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q842 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?z ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan have a diplomatic relationship with less number of administrative territories than Oman
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?m ) AS ?o ) WHERE { ?g property:diplomatic_relation ?m . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Oman property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?z ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P706
Q271669 Q151885
USER
How many landforms or concepts are located in that administrative territory ?
(c(Q271669),P706,Q232) (c(Q151885),P706,Q232) (c(Q271669),P706,Q929) (c(Q151885),P706,Q929) (c(Q271669),P706,Q29999) (c(Q151885),P706,Q29999) (c(Q271669),P706,Q232) (c(Q151885),P706,Q232)
[{'concept': 'Q271669'}, 'P706', 'Q232'] [{'concept': 'Q151885'}, 'P706', 'Q232'] [{'concept': 'Q271669'}, 'P706', 'Q929'] [{'concept': 'Q151885'}, 'P706', 'Q929'] [{'concept': 'Q271669'}, 'P706', 'Q29999'] [{'concept': 'Q151885'}, 'P706', 'Q29999'] [{'concept': 'Q271669'}, 'P706', 'Q232'] [{'concept': 'Q151885'}, 'P706', 'Q232']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P706 resource:Q232 } UNION { ?y property:P706 resource:Q232 } UNION { ?z property:P706 resource:Q929 } UNION { ?y property:P706 resource:Q929 } UNION { ?z property:P706 resource:Q29999 } UNION { ?y property:P706 resource:Q29999 } UNION { ?z property:P706 resource:Q232 } UNION { ?y property:P706 resource:Q232 } } . ?z rdf:type ontology:Q271669 . ?y rdf:type ontology:Q151885 }
[{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'concept'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'landform'}, 'located on terrain feature', 'Central African Republic'] [{'concept': 'concept'}, 'located on terrain feature', 'Central African Republic'] [{'concept': 'landform'}, 'located on terrain feature', 'Kingdom of the Netherlands'] [{'concept': 'concept'}, 'located on terrain feature', 'Kingdom of the Netherlands'] [{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'concept'}, 'located on terrain feature', 'Kazakhstan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:located_on_terrain_feature resource:Kazakhstan } UNION { ?y property:located_on_terrain_feature resource:Kazakhstan } UNION { ?z property:located_on_terrain_feature resource:Central_African_Republic } UNION { ?y property:located_on_terrain_feature resource:Central_African_Republic } UNION { ?z property:located_on_terrain_feature resource:Kingdom_of_the_Netherlands } UNION { ?y property:located_on_terrain_feature resource:Kingdom_of_the_Netherlands } UNION { ?z property:located_on_terrain_feature resource:Kazakhstan } UNION { ?y property:located_on_terrain_feature resource:Kazakhstan } } . ?z rdf:type ontology:landform . ?y rdf:type ontology:concept }
[]
landform concept
Quantitative|Count|Mult. entity type|Clarification
Q29999
SYSTEM
Did you mean Kingdom of the Netherlands ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P706 resource:Q232 } UNION { ?y property:P706 resource:Q232 } UNION { ?z property:P706 resource:Q929 } UNION { ?y property:P706 resource:Q929 } UNION { ?z property:P706 resource:Q29999 } UNION { ?y property:P706 resource:Q29999 } UNION { ?z property:P706 resource:Q232 } UNION { ?y property:P706 resource:Q232 } } . ?z rdf:type ontology:Q271669 . ?y rdf:type ontology:Q151885 }
Did you mean Kingdom of the Netherlands ?
Kingdom of the Netherlands
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:located_on_terrain_feature resource:Kazakhstan } UNION { ?y property:located_on_terrain_feature resource:Kazakhstan } UNION { ?z property:located_on_terrain_feature resource:Central_African_Republic } UNION { ?y property:located_on_terrain_feature resource:Central_African_Republic } UNION { ?z property:located_on_terrain_feature resource:Kingdom_of_the_Netherlands } UNION { ?y property:located_on_terrain_feature resource:Kingdom_of_the_Netherlands } UNION { ?z property:located_on_terrain_feature resource:Kazakhstan } UNION { ?y property:located_on_terrain_feature resource:Kazakhstan } } . ?z rdf:type ontology:landform . ?y rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Kazakhstan. Could you tell me the answer for that?
(c(Q271669),P706,Q232) (c(Q151885),P706,Q232) (c(Q271669),P706,Q929) (c(Q151885),P706,Q929) (c(Q271669),P706,Q29999) (c(Q151885),P706,Q29999) (c(Q271669),P706,Q232) (c(Q151885),P706,Q232)
Q232
[{'concept': 'Q271669'}, 'P706', 'Q232'] [{'concept': 'Q151885'}, 'P706', 'Q232'] [{'concept': 'Q271669'}, 'P706', 'Q929'] [{'concept': 'Q151885'}, 'P706', 'Q929'] [{'concept': 'Q271669'}, 'P706', 'Q29999'] [{'concept': 'Q151885'}, 'P706', 'Q29999'] [{'concept': 'Q271669'}, 'P706', 'Q232'] [{'concept': 'Q151885'}, 'P706', 'Q232']
[{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'concept'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'landform'}, 'located on terrain feature', 'Central African Republic'] [{'concept': 'concept'}, 'located on terrain feature', 'Central African Republic'] [{'concept': 'landform'}, 'located on terrain feature', 'Kingdom of the Netherlands'] [{'concept': 'concept'}, 'located on terrain feature', 'Kingdom of the Netherlands'] [{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'concept'}, 'located on terrain feature', 'Kazakhstan']
[]
SYSTEM
2
Q625587 Q279792
(c(Q271669),P706,Q232) (c(Q151885),P706,Q232) (c(Q271669),P706,Q929) (c(Q151885),P706,Q929) (c(Q271669),P706,Q29999) (c(Q151885),P706,Q29999) (c(Q271669),P706,Q232) (c(Q151885),P706,Q232)
[ANSWER]
[{'concept': 'Q271669'}, 'P706', 'Q232'] [{'concept': 'Q151885'}, 'P706', 'Q232'] [{'concept': 'Q271669'}, 'P706', 'Q929'] [{'concept': 'Q151885'}, 'P706', 'Q929'] [{'concept': 'Q271669'}, 'P706', 'Q29999'] [{'concept': 'Q151885'}, 'P706', 'Q29999'] [{'concept': 'Q271669'}, 'P706', 'Q232'] [{'concept': 'Q151885'}, 'P706', 'Q232']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P706 resource:Q232 } UNION { ?y property:P706 resource:Q232 } UNION { ?z property:P706 resource:Q929 } UNION { ?y property:P706 resource:Q929 } UNION { ?z property:P706 resource:Q29999 } UNION { ?y property:P706 resource:Q29999 } UNION { ?z property:P706 resource:Q232 } UNION { ?y property:P706 resource:Q232 } } . ?z rdf:type ontology:Q271669 . ?y rdf:type ontology:Q151885 }
Aral–Caspian Depression Botai culture
2
[{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'concept'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'landform'}, 'located on terrain feature', 'Central African Republic'] [{'concept': 'concept'}, 'located on terrain feature', 'Central African Republic'] [{'concept': 'landform'}, 'located on terrain feature', 'Kingdom of the Netherlands'] [{'concept': 'concept'}, 'located on terrain feature', 'Kingdom of the Netherlands'] [{'concept': 'landform'}, 'located on terrain feature', 'Kazakhstan'] [{'concept': 'concept'}, 'located on terrain feature', 'Kazakhstan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:located_on_terrain_feature resource:Kazakhstan } UNION { ?y property:located_on_terrain_feature resource:Kazakhstan } UNION { ?z property:located_on_terrain_feature resource:Central_African_Republic } UNION { ?y property:located_on_terrain_feature resource:Central_African_Republic } UNION { ?z property:located_on_terrain_feature resource:Kingdom_of_the_Netherlands } UNION { ?y property:located_on_terrain_feature resource:Kingdom_of_the_Netherlands } UNION { ?z property:located_on_terrain_feature resource:Kazakhstan } UNION { ?y property:located_on_terrain_feature resource:Kazakhstan } } . ?z rdf:type ontology:landform . ?y rdf:type ontology:concept }
[]