Simple Question (Direct)
Simple Question
Q3426221
P166
Q2003221
USER
What were received by René François de Beauvau du Rivau ?
(Q3426221,P166,c(Q2003221))
action filter_type
action find
entity Q3426221
relation P166
type Q2003221
['Q3426221', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?c WHERE { resource:Q3426221 property:P166 ?c . ?c rdf:type ontology:Q2003221 }
René François de Beauvau du Rivau
action filter_type
action find
entity René François de Beauvau du Rivau
relation award received
type chivalric order
['René François de Beauvau du Rivau', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?c WHERE { resource:René_François_de_Beauvau_du_Rivau property:award_received ?c . ?c rdf:type ontology:chivalric_order }
[]
chivalric order
Q11609173 Q11598948
SYSTEM
Knight in the order of Saint-Michel, Commander of the Order of the Holy Spirit
Q11609173 Q11598948
(Q3426221,P166,c(Q2003221))
action filter_type
action find
entity Q3426221
relation P166
type Q2003221
[ANSWERS] were received by René François de Beauvau du Rivau
['Q3426221', 'P166', {'concept': 'Q2003221'}]
SELECT DISTINCT ?c WHERE { resource:Q3426221 property:P166 ?c . ?c rdf:type ontology:Q2003221 }
Knight in the order of Saint-Michel Commander of the Order of the Holy Spirit
Knight in the order of Saint-Michel and Commander of the Order of the Holy Spirit were received by René François de Beauvau du Rivau
Knight in the order of Saint-Michel Commander of the Order of the Holy Spirit
action filter_type
action find
entity René François de Beauvau du Rivau
relation award received
type chivalric order
['René François de Beauvau du Rivau', 'award received', {'concept': 'chivalric order'}]
SELECT DISTINCT ?c WHERE { resource:René_François_de_Beauvau_du_Rivau property:award_received ?c . ?c rdf:type ontology:chivalric_order }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3426221
P140
Q874405
USER
What is the religious affiliation of that person ?
(Q11609173,P140,c(Q874405)) (Q11598948,P140,c(Q874405))
action filter_type
action find
entity Q3426221
relation P140
type Q874405
['Q11609173', 'P140', {'concept': 'Q874405'}] ['Q11598948', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q3426221 property:P140 ?c . ?c rdf:type ontology:Q874405 }
René François de Beauvau du Rivau
action filter_type
action find
entity René François de Beauvau du Rivau
relation religion
type social group
['Knight in the order of Saint-Michel', 'religion', {'concept': 'social group'}] ['Commander of the Order of the Holy Spirit', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:René_François_de_Beauvau_du_Rivau property:religion ?c . ?c rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q11609173,P140,c(Q874405)) (Q11598948,P140,c(Q874405))
action filter_type
action find
entity Q3426221
relation P140
type Q874405
The religious affiliation of that person is a [ANSWER]
['Q11609173', 'P140', {'concept': 'Q874405'}] ['Q11598948', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?c WHERE { resource:Q3426221 property:P140 ?c . ?c rdf:type ontology:Q874405 }
Catholicism
The religious affiliation of that person is a Catholicism
Catholicism
action filter_type
action find
entity René François de Beauvau du Rivau
relation religion
type social group
['Knight in the order of Saint-Michel', 'religion', {'concept': 'social group'}] ['Commander of the Order of the Holy Spirit', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?c WHERE { resource:René_François_de_Beauvau_du_Rivau property:religion ?c . ?c rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3426221
P39
Q12737077
USER
Which occupation was a position held by René François de Beauvau du Rivau ?
(Q3426221,P39,c(Q12737077))
action filter_type
action find
entity Q3426221
relation P39
type Q12737077
['Q3426221', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3426221 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
René François de Beauvau du Rivau
action filter_type
action find
entity René François de Beauvau du Rivau
relation position held
type occupation
['René François de Beauvau du Rivau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:René_François_de_Beauvau_du_Rivau property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q49476
SYSTEM
archbishop
Q49476
(Q3426221,P39,c(Q12737077))
action filter_type
action find
entity Q3426221
relation P39
type Q12737077
The [ANSWER] was a position held by René François de Beauvau du Rivau
['Q3426221', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q3426221 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
archbishop
The archbishop was a position held by René François de Beauvau du Rivau
archbishop
action filter_type
action find
entity René François de Beauvau du Rivau
relation position held
type occupation
['René François de Beauvau du Rivau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:René_François_de_Beauvau_du_Rivau property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16019057 Q3426221
P39 P106
Q12737077
USER
Which occupations were the positions for which René François de Beauvau du Rivau were appointed or do Jay Garner do for a living ?
OR((Q3426221,P39,c(Q12737077)), (Q16019057,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3426221
relation P39
action find
entity Q16019057
relation P106
type Q12737077
{'OR': [['Q3426221', 'P39', {'concept': 'Q12737077'}], ['Q16019057', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3426221 property:P39 ?k } UNION { resource:Q16019057 property:P106 ?k } } . ?k rdf:type ontology:Q12737077 }
Jay Garner René François de Beauvau du Rivau
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation position held
action find
entity Jay Garner
relation occupation
type occupation
{'OR': [['René François de Beauvau du Rivau', 'position held', {'concept': 'occupation'}], ['Jay Garner', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { { resource:René_François_de_Beauvau_du_Rivau property:position_held ?k } UNION { resource:Jay_Garner property:occupation ?k } } . ?k rdf:type ontology:occupation }
[]
occupation
Q10798782 Q33999 Q49476 Q2259451
SYSTEM
television actor, actor, archbishop, stage actor
Q10798782 Q33999 Q49476 Q2259451
OR((Q3426221,P39,c(Q12737077)), (Q16019057,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3426221
relation P39
action find
entity Q16019057
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q3426221', 'P39', {'concept': 'Q12737077'}], ['Q16019057', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q3426221 property:P39 ?k } UNION { resource:Q16019057 property:P106 ?k } } . ?k rdf:type ontology:Q12737077 }
television actor actor archbishop stage actor
The television actor, archbishop and stage actor were the positions for which René François de Beauvau du Rivau were appointed or do Jay Garner do for a living
television actor actor archbishop stage actor
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation position held
action find
entity Jay Garner
relation occupation
type occupation
{'OR': [['René François de Beauvau du Rivau', 'position held', {'concept': 'occupation'}], ['Jay Garner', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?k WHERE { { { resource:René_François_de_Beauvau_du_Rivau property:position_held ?k } UNION { resource:Jay_Garner property:occupation ?k } } . ?k rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3522156 Q3426221
P27
Q15617994
USER
Which administrative territories are René François de Beauvau du Rivau or Ramnaresh Sarwan a civilian of ?
OR((Q3426221,P27,c(Q15617994)), (Q3522156,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3426221
relation P27
action find
entity Q3522156
relation P27
type Q15617994
{'OR': [['Q3426221', 'P27', {'concept': 'Q15617994'}], ['Q3522156', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { ?b property:P27 ?d . VALUES ( ?b ) { ( resource:Q3522156 ) ( resource:Q3426221 ) } } . ?d rdf:type ontology:Q15617994 }
Ramnaresh Sarwan René François de Beauvau du Rivau
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation country of citizenship
action find
entity Ramnaresh Sarwan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['René François de Beauvau du Rivau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ramnaresh Sarwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?b property:country_of_citizenship ?d . VALUES ( ?b ) { ( resource:Ramnaresh_Sarwan ) ( resource:René_François_de_Beauvau_du_Rivau ) } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q668
SYSTEM
France, India
Q142 Q668
OR((Q3426221,P27,c(Q15617994)), (Q3522156,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3426221
relation P27
action find
entity Q3522156
relation P27
type Q15617994
[ANSWERS] are René François de Beauvau du Rivau or Ramnaresh Sarwan a civilian of
{'OR': [['Q3426221', 'P27', {'concept': 'Q15617994'}], ['Q3522156', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { ?b property:P27 ?d . VALUES ( ?b ) { ( resource:Q3522156 ) ( resource:Q3426221 ) } } . ?d rdf:type ontology:Q15617994 }
France India
France and India are René François de Beauvau du Rivau or Ramnaresh Sarwan a civilian of
France India
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation country of citizenship
action find
entity Ramnaresh Sarwan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['René François de Beauvau du Rivau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ramnaresh Sarwan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?b property:country_of_citizenship ?d . VALUES ( ?b ) { ( resource:Ramnaresh_Sarwan ) ( resource:René_François_de_Beauvau_du_Rivau ) } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20968813 Q3426221
P20
Q56061
USER
Which administrative territories are the places of death of René François de Beauvau du Rivau or Lewis Wolfe Levy ?
OR((Q3426221,P20,c(Q56061)), (Q20968813,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3426221
relation P20
action find
entity Q20968813
relation P20
type Q56061
{'OR': [['Q3426221', 'P20', {'concept': 'Q56061'}], ['Q20968813', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:P20 ?u . VALUES ( ?q ) { ( resource:Q3426221 ) ( resource:Q20968813 ) } } . ?u rdf:type ontology:Q56061 }
Lewis Wolfe Levy René François de Beauvau du Rivau
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation place of death
action find
entity Lewis Wolfe Levy
relation place of death
type administrative territorial entity
{'OR': [['René François de Beauvau du Rivau', 'place of death', {'concept': 'administrative territorial entity'}], ['Lewis Wolfe Levy', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:place_of_death ?u . VALUES ( ?q ) { ( resource:René_François_de_Beauvau_du_Rivau ) ( resource:Lewis_Wolfe_Levy ) } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6555 Q3130
SYSTEM
Narbonne, Sydney
Q6555 Q3130
OR((Q3426221,P20,c(Q56061)), (Q20968813,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3426221
relation P20
action find
entity Q20968813
relation P20
type Q56061
[ANSWERS] are the places of death of René François de Beauvau du Rivau or Lewis Wolfe Levy
{'OR': [['Q3426221', 'P20', {'concept': 'Q56061'}], ['Q20968813', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:P20 ?u . VALUES ( ?q ) { ( resource:Q3426221 ) ( resource:Q20968813 ) } } . ?u rdf:type ontology:Q56061 }
Narbonne Sydney
Narbonne and Sydney are the places of death of René François de Beauvau du Rivau or Lewis Wolfe Levy
Narbonne Sydney
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation place of death
action find
entity Lewis Wolfe Levy
relation place of death
type administrative territorial entity
{'OR': [['René François de Beauvau du Rivau', 'place of death', {'concept': 'administrative territorial entity'}], ['Lewis Wolfe Levy', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?q property:place_of_death ?u . VALUES ( ?q ) { ( resource:René_François_de_Beauvau_du_Rivau ) ( resource:Lewis_Wolfe_Levy ) } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19292501 Q3426221
P27 P17
Q15617994
USER
Which administrative territories do René François de Beauvau du Rivau belong to or are Kasteellaan present in ?
OR((Q3426221,P27,c(Q15617994)), (Q19292501,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3426221
relation P27
action find
entity Q19292501
relation P17
type Q15617994
{'OR': [['Q3426221', 'P27', {'concept': 'Q15617994'}], ['Q19292501', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3426221 property:P27 ?a } UNION { resource:Q19292501 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Kasteellaan René François de Beauvau du Rivau
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation country of citizenship
action find
entity Kasteellaan
relation country
type designation for an administrative territorial entity
{'OR': [['René François de Beauvau du Rivau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kasteellaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:René_François_de_Beauvau_du_Rivau property:country_of_citizenship ?a } UNION { resource:Kasteellaan property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q55
SYSTEM
France, Netherlands
Q142 Q55
OR((Q3426221,P27,c(Q15617994)), (Q19292501,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3426221
relation P27
action find
entity Q19292501
relation P17
type Q15617994
René François de Beauvau du Rivau belong to or are Kasteellaan present in the [ANSWERS]
{'OR': [['Q3426221', 'P27', {'concept': 'Q15617994'}], ['Q19292501', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3426221 property:P27 ?a } UNION { resource:Q19292501 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
France Netherlands
René François de Beauvau du Rivau belong to or are Kasteellaan present in the France and Netherlands
France Netherlands
action filter_type
action union
action find
entity René François de Beauvau du Rivau
relation country of citizenship
action find
entity Kasteellaan
relation country
type designation for an administrative territorial entity
{'OR': [['René François de Beauvau du Rivau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kasteellaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:René_François_de_Beauvau_du_Rivau property:country_of_citizenship ?a } UNION { resource:Kasteellaan property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q980276 Q3426221
P27
Q15617994
USER
Which administrative territories do René François de Beauvau du Rivau and Gaylord Silly belong to ?
AND((Q3426221,P27,c(Q15617994)), (Q980276,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3426221
relation P27
action find
entity Q980276
relation P27
type Q15617994
{'AND': [['Q3426221', 'P27', {'concept': 'Q15617994'}], ['Q980276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3426221 property:P27 ?q . resource:Q980276 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Gaylord Silly René François de Beauvau du Rivau
action filter_type
action intersection
action find
entity René François de Beauvau du Rivau
relation country of citizenship
action find
entity Gaylord Silly
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['René François de Beauvau du Rivau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gaylord Silly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:René_François_de_Beauvau_du_Rivau property:country_of_citizenship ?q . resource:Gaylord_Silly property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q3426221,P27,c(Q15617994)), (Q980276,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3426221
relation P27
action find
entity Q980276
relation P27
type Q15617994
René François de Beauvau du Rivau and Gaylord Silly belong to [ANSWER]
{'AND': [['Q3426221', 'P27', {'concept': 'Q15617994'}], ['Q980276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { resource:Q3426221 property:P27 ?q . resource:Q980276 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
France
René François de Beauvau du Rivau and Gaylord Silly belong to France
France
action filter_type
action intersection
action find
entity René François de Beauvau du Rivau
relation country of citizenship
action find
entity Gaylord Silly
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['René François de Beauvau du Rivau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gaylord Silly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { resource:René_François_de_Beauvau_du_Rivau property:country_of_citizenship ?q . resource:Gaylord_Silly property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q1006614
P17
Q20667921
USER
Is Maignaut-Tauzia situated in that administrative territory ?
(Q1006614,P17,Q142)
action is_in
entity Q142
action find
entity Q1006614
relation P17
['Q1006614', 'P17', 'Q142']
ASK WHERE { resource:Q1006614 property:P17 resource:Q142 }
France Maignaut-Tauzia
action is_in
entity France
action find
entity Maignaut-Tauzia
relation country
['Maignaut-Tauzia', 'country', 'France']
ASK WHERE { resource:Maignaut-Tauzia property:country resource:France }
[]
type of french administrative division
SYSTEM
YES
(Q1006614,P17,Q142)
action is_in
entity Q142
action find
entity Q1006614
relation P17
[ANSWER]
['Q1006614', 'P17', 'Q142']
ASK WHERE { resource:Q1006614 property:P17 resource:Q142 }
Yes
action is_in
entity France
action find
entity Maignaut-Tauzia
relation country
['Maignaut-Tauzia', 'country', 'France']
ASK WHERE { resource:Maignaut-Tauzia property:country resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q7082352
P137
Q811979
USER
How many architectural structures were operated by France or Oklahoma State Fair ?
(c(Q811979),P137,Q142) (c(Q811979),P137,Q7082352)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P137
type Q811979
action filter_type
action find_reverse
entity Q7082352
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q142'] [{'concept': 'Q811979'}, 'P137', 'Q7082352']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P137 ?s . VALUES ( ?s ) { ( resource:Q142 ) ( resource:Q7082352 ) } }
France Oklahoma State Fair
action count
action union
action filter_type
action find_reverse
entity France
relation operator
type architectural structure
action filter_type
action find_reverse
entity Oklahoma State Fair
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'France'] [{'concept': 'architectural structure'}, 'operator', 'Oklahoma State Fair']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:operator ?s . VALUES ( ?s ) { ( resource:France ) ( resource:Oklahoma_State_Fair ) } }
[]
architectural structure
SYSTEM
3
Q2841786 Q4729662 Q2017347
(c(Q811979),P137,Q142) (c(Q811979),P137,Q7082352)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P137
type Q811979
action filter_type
action find_reverse
entity Q7082352
relation P137
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P137', 'Q142'] [{'concept': 'Q811979'}, 'P137', 'Q7082352']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:P137 ?s . VALUES ( ?s ) { ( resource:Q142 ) ( resource:Q7082352 ) } }
Embassy of France, Stockholm All Sports Stadium Oklahoma State Fair Arena
3
action count
action union
action filter_type
action find_reverse
entity France
relation operator
type architectural structure
action filter_type
action find_reverse
entity Oklahoma State Fair
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'France'] [{'concept': 'architectural structure'}, 'operator', 'Oklahoma State Fair']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g property:operator ?s . VALUES ( ?s ) { ( resource:France ) ( resource:Oklahoma_State_Fair ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with around 124 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 124
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?l property:P530 ?h . ?l rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?a = 124 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 124
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?l property:diplomatic_relation ?h . ?l rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?a = 124 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 124
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?l property:P530 ?h . ?l rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?a = 124 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 124
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?a ) WHERE { ?l property:diplomatic_relation ?h . ?l rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?a = 124 ) }
[]