Simple Question (Direct)
Simple Question
Q674154
P54
Q12973014
USER
Which sports teams are Marko Čakarević a member of ?
(Q674154,P54,c(Q12973014))
action filter_type
action find
entity Q674154
relation P54
type Q12973014
['Q674154', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12973014 . resource:Q674154 property:P54 ?u }
Marko Čakarević
action filter_type
action find
entity Marko Čakarević
relation member of sports team
type sports team
['Marko Čakarević', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sports_team . resource:Marko_Čakarević property:member_of_sports_team ?u }
[]
sports team
Q912247 Q4089 Q2316518
SYSTEM
KK Partizan, ASVEL Basket, KK Radnički Kragujevac
Q4089 Q912247 Q2316518 Q2892181
(Q674154,P54,c(Q12973014))
action filter_type
action find
entity Q674154
relation P54
type Q12973014
[ANSWERS] are Marko Čakarević a member of
['Q674154', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12973014 . resource:Q674154 property:P54 ?u }
ASVEL Basket KK Partizan KK Radnički Kragujevac KK Pelister
KK Partizan, ASVEL Basket and KK Radnički Kragujevac are Marko Čakarević a member of
KK Partizan ASVEL Basket KK Radnički Kragujevac
action filter_type
action find
entity Marko Čakarević
relation member of sports team
type sports team
['Marko Čakarević', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sports_team . resource:Marko_Čakarević property:member_of_sports_team ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q674154
P641
Q349
USER
What was the sport that Marko Čakarević was a part of ?
(Q674154,P641,c(Q349))
action filter_type
action find
entity Q674154
relation P641
type Q349
['Q674154', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q674154 property:P641 ?e . ?e rdf:type ontology:Q349 }
Marko Čakarević
action filter_type
action find
entity Marko Čakarević
relation sport
type sport
['Marko Čakarević', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Marko_Čakarević property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q674154,P641,c(Q349))
action filter_type
action find
entity Q674154
relation P641
type Q349
The sport that Marko Čakarević was a part of was h [ANSWER]
['Q674154', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q674154 property:P641 ?e . ?e rdf:type ontology:Q349 }
basketball
The sport that Marko Čakarević was a part of was h basketball
basketball
action filter_type
action find
entity Marko Čakarević
relation sport
type sport
['Marko Čakarević', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Marko_Čakarević property:sport ?e . ?e rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q674154
P106
Q12737077
USER
Which occupation has Marko Čakarević as his/her 's career ?
(Q674154,P106,c(Q12737077))
action filter_type
action find
entity Q674154
relation P106
type Q12737077
['Q674154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q674154 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Marko Čakarević
action filter_type
action find
entity Marko Čakarević
relation occupation
type occupation
['Marko Čakarević', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Marko_Čakarević property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q674154,P106,c(Q12737077))
action filter_type
action find
entity Q674154
relation P106
type Q12737077
The [ANSWER] has Marko Čakarević as his/her 's career
['Q674154', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q674154 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
basketball player
The basketball player has Marko Čakarević as his/her 's career
basketball player
action filter_type
action find
entity Marko Čakarević
relation occupation
type occupation
['Marko Čakarević', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Marko_Čakarević property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q674154
P19
Q56061
USER
Which administrative territory was Marko Čakarević born in ?
(Q674154,P19,c(Q56061))
action filter_type
action find
entity Q674154
relation P19
type Q56061
['Q674154', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q674154 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Marko Čakarević
action filter_type
action find
entity Marko Čakarević
relation place of birth
type administrative territorial entity
['Marko Čakarević', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Marko_Čakarević property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(Q674154,P19,c(Q56061))
action filter_type
action find
entity Q674154
relation P19
type Q56061
Marko Čakarević was born in [ANSWER]
['Q674154', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q674154 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Belgrade
Marko Čakarević was born in Belgrade
Belgrade
action filter_type
action find
entity Marko Čakarević
relation place of birth
type administrative territorial entity
['Marko Čakarević', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Marko_Čakarević property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1376
Q15617994 Q7275
USER
How many administrative territories and states have that administrative territory have their first city ?
(Q3711,P1376,c(Q15617994)) (Q3711,P1376,c(Q7275)) (Q3711,P1376,c(Q15617994)) (Q3711,P1376,c(Q7275))
action count
action union
action filter_type
action find
entity Q3711
relation P1376
type Q15617994
action filter_type
action find
entity Q3711
relation P1376
type Q7275
['Q3711', 'P1376', {'concept': 'Q15617994'}] ['Q3711', 'P1376', {'concept': 'Q7275'}] ['Q3711', 'P1376', {'concept': 'Q15617994'}] ['Q3711', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { resource:Q3711 property:P1376 ?n . ?n rdf:type ontology:Q7275 } UNION { resource:Q3711 property:P1376 ?n . ?n rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find
entity Belgrade
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Belgrade
relation capital of
type state
['Belgrade', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Belgrade', 'capital of', {'concept': 'state'}] ['Belgrade', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Belgrade', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { resource:Belgrade property:capital_of ?n . ?n rdf:type ontology:state } UNION { resource:Belgrade property:capital_of ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity state
SYSTEM
1 administrative territories and 7 states
Q241748 Q83286 Q269864 Q878319 Q191077 Q37024 Q403 Q36704
(Q3711,P1376,c(Q15617994)) (Q3711,P1376,c(Q7275)) (Q3711,P1376,c(Q15617994)) (Q3711,P1376,c(Q7275))
action count
action union
action filter_type
action find
entity Q3711
relation P1376
type Q15617994
action filter_type
action find
entity Q3711
relation P1376
type Q7275
[ANSWER]
['Q3711', 'P1376', {'concept': 'Q15617994'}] ['Q3711', 'P1376', {'concept': 'Q7275'}] ['Q3711', 'P1376', {'concept': 'Q15617994'}] ['Q3711', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { resource:Q3711 property:P1376 ?n . ?n rdf:type ontology:Q7275 } UNION { resource:Q3711 property:P1376 ?n . ?n rdf:type ontology:Q15617994 } }
Kingdom of Serbia Socialist Federal Republic of Yugoslavia Socialist Republic of Serbia Serbian Despotate Kingdom of Yugoslavia Serbia and Montenegro Serbia Yugoslavia
1 administrative territories and 7 states
action count
action union
action filter_type
action find
entity Belgrade
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Belgrade
relation capital of
type state
['Belgrade', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Belgrade', 'capital of', {'concept': 'state'}] ['Belgrade', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Belgrade', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { resource:Belgrade property:capital_of ?n . ?n rdf:type ontology:state } UNION { resource:Belgrade property:capital_of ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3158341 Q4089
P27 P17
Q15617994
USER
Which administrative territories are ASVEL Basket located in or are the native countriesof Jacques Boudet ?
OR((Q4089,P17,c(Q15617994)), (Q3158341,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4089
relation P17
action find
entity Q3158341
relation P27
type Q15617994
{'OR': [['Q4089', 'P17', {'concept': 'Q15617994'}], ['Q3158341', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4089 property:P17 ?k } UNION { resource:Q3158341 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
Jacques Boudet ASVEL Basket
action filter_type
action union
action find
entity ASVEL Basket
relation country
action find
entity Jacques Boudet
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['ASVEL Basket', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jacques Boudet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:ASVEL_Basket property:country ?k } UNION { resource:Jacques_Boudet property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
OR((Q4089,P17,c(Q15617994)), (Q3158341,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4089
relation P17
action find
entity Q3158341
relation P27
type Q15617994
ASVEL Basket are located in [ANSWER] or are the native countriesof Jacques Boudet
{'OR': [['Q4089', 'P17', {'concept': 'Q15617994'}], ['Q3158341', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q4089 property:P17 ?k } UNION { resource:Q3158341 property:P27 ?k } } . ?k rdf:type ontology:Q15617994 }
France
ASVEL Basket are located in France or are the native countriesof Jacques Boudet
France
action filter_type
action union
action find
entity ASVEL Basket
relation country
action find
entity Jacques Boudet
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['ASVEL Basket', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jacques Boudet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:ASVEL_Basket property:country ?k } UNION { resource:Jacques_Boudet property:country_of_citizenship ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q142 Q30
P530
Q15617994
USER
Does United States of America hold diplomatic relationship with that one ?
(Q142,P530,Q30)
action is_in
entity Q30
action find
entity Q142
relation P530
['Q142', 'P530', 'Q30']
ASK WHERE { resource:Q142 property:P530 resource:Q30 }
France United States of America
action is_in
entity United States of America
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:France property:diplomatic_relation resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q142,P530,Q30)
action is_in
entity Q30
action find
entity Q142
relation P530
[ANSWER]
['Q142', 'P530', 'Q30']
ASK WHERE { resource:Q142 property:P530 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity France
relation diplomatic relation
['France', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:France property:diplomatic_relation resource:United_States_of_America }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q674154
P21
Q290
USER
Which sex does Marko Čakarević possess ?
(Q674154,P21,c(Q290))
action filter_type
action find
entity Q674154
relation P21
type Q290
['Q674154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q674154 property:P21 ?v }
Marko Čakarević
action filter_type
action find
entity Marko Čakarević
relation gender
type sex
['Marko Čakarević', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Marko_Čakarević property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q674154,P21,c(Q290))
action filter_type
action find
entity Q674154
relation P21
type Q290
Marko Čakarević possesses a [ANSWER]
['Q674154', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q674154 property:P21 ?v }
male
Marko Čakarević possesses a male
male
action filter_type
action find
entity Marko Čakarević
relation gender
type sex
['Marko Čakarević', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Marko_Čakarević property:gender ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P159
Q4830453 Q618123
USER
How many business enterprises and geographical objects have the principal seat at France ?
(c(Q4830453),P159,Q142) (c(Q618123),P159,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q142
relation P159
type Q618123
[{'concept': 'Q4830453'}, 'P159', 'Q142'] [{'concept': 'Q618123'}, 'P159', 'Q142']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:P159 resource:Q142 . ?i rdf:type ontology:Q4830453 } UNION { ?i property:P159 resource:Q142 . ?i rdf:type ontology:Q618123 } }
France
action count
action union
action filter_type
action find_reverse
entity France
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity France
relation headquarters location
type geographical object
[{'concept': 'business enterprise'}, 'headquarters location', 'France'] [{'concept': 'geographical object'}, 'headquarters location', 'France']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:headquarters_location resource:France . ?i rdf:type ontology:business_enterprise } UNION { ?i property:headquarters_location resource:France . ?i rdf:type ontology:geographical_object } }
[]
business enterprise geographical object
SYSTEM
14 business enterprises and 1 geographical objects
Q1892396 Q6319194 Q1798729 Q887091 Q1300960 Q7227968 Q2989989 Q1647977 Q522381 Q21791483 Q1535260 Q19952621 Q1965238 Q1630793 Q1401349
(c(Q4830453),P159,Q142) (c(Q618123),P159,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P159
type Q4830453
action filter_type
action find_reverse
entity Q142
relation P159
type Q618123
[ANSWER]
[{'concept': 'Q4830453'}, 'P159', 'Q142'] [{'concept': 'Q618123'}, 'P159', 'Q142']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:P159 resource:Q142 . ?i rdf:type ontology:Q4830453 } UNION { ?i property:P159 resource:Q142 . ?i rdf:type ontology:Q618123 } }
Marbais and Lasnier Juzan La Confortable Blériot Seng et Henry Ponsard-Ansaloni Compagnie des mines de Crespin Yacht Club de France Andre Py Dodin Campenon-Bernard Printemps 1024 architecture Nardini Hotchkiss et Cie Rigal
14 business enterprises and 1 geographical objects
action count
action union
action filter_type
action find_reverse
entity France
relation headquarters location
type business enterprise
action filter_type
action find_reverse
entity France
relation headquarters location
type geographical object
[{'concept': 'business enterprise'}, 'headquarters location', 'France'] [{'concept': 'geographical object'}, 'headquarters location', 'France']
SELECT DISTINCT ( COUNT ( ?i ) AS ?c ) WHERE { { ?i property:headquarters_location resource:France . ?i rdf:type ontology:business_enterprise } UNION { ?i property:headquarters_location resource:France . ?i rdf:type ontology:geographical_object } }
[]