Simple Question (Direct)
Simple Question
Q7281662
P641
Q349
USER
What was the sport that Radovan Krstović was a part of ?
(Q7281662,P641,c(Q349))
action filter_type
action find
entity Q7281662
relation P641
type Q349
['Q7281662', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q7281662 property:P641 ?j . ?j rdf:type ontology:Q349 }
Radovan Krstović
action filter_type
action find
entity Radovan Krstović
relation sport
type sport
['Radovan Krstović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Radovan_Krstović property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7281662,P641,c(Q349))
action filter_type
action find
entity Q7281662
relation P641
type Q349
The sport that Radovan Krstović was a part of was the [ANSWER]
['Q7281662', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q7281662 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
The sport that Radovan Krstović was a part of was the association football
association football
action filter_type
action find
entity Radovan Krstović
relation sport
type sport
['Radovan Krstović', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Radovan_Krstović property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7281662
P27
Q15617994
USER
Which administrative territory is Radovan Krstović a civilian of ?
(Q7281662,P27,c(Q15617994))
action filter_type
action find
entity Q7281662
relation P27
type Q15617994
['Q7281662', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q7281662 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Radovan Krstović
action filter_type
action find
entity Radovan Krstović
relation country of citizenship
type designation for an administrative territorial entity
['Radovan Krstović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Radovan_Krstović property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q7281662,P27,c(Q15617994))
action filter_type
action find
entity Q7281662
relation P27
type Q15617994
[ANSWER] is Radovan Krstović a civilian of
['Q7281662', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q7281662 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Serbia
Serbia is Radovan Krstović a civilian of
Serbia
action filter_type
action find
entity Radovan Krstović
relation country of citizenship
type designation for an administrative territorial entity
['Radovan Krstović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Radovan_Krstović property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5242459
Q15617994
USER
And how about Dawn Lambertsen Kelly?
(Q5242459,P27,c(Q15617994))
action filter_type
action find
entity Q5242459
relation P27
type Q15617994
['Q5242459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q5242459 property:P27 ?a }
Dawn Lambertsen Kelly
action filter_type
action find
entity Dawn Lambertsen Kelly
relation country of citizenship
type designation for an administrative territorial entity
['Dawn Lambertsen Kelly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dawn_Lambertsen_Kelly property:country_of_citizenship ?a }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5242459,P27,c(Q15617994))
action filter_type
action find
entity Q5242459
relation P27
type Q15617994
[ANSWER]
['Q5242459', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q5242459 property:P27 ?a }
United States of America
United States of America
action filter_type
action find
entity Dawn Lambertsen Kelly
relation country of citizenship
type designation for an administrative territorial entity
['Dawn Lambertsen Kelly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Dawn_Lambertsen_Kelly property:country_of_citizenship ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q496532
P6
Q502895
USER
Does that administrative territory serve as the head of government for Andreas Büngen ?
(Q30,P6,Q496532)
action is_in
entity Q496532
action find
entity Q30
relation P6
['Q30', 'P6', 'Q496532']
ASK WHERE { resource:Q30 property:P6 resource:Q496532 }
United States of America Andreas Büngen
action is_in
entity Andreas Büngen
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Andreas Büngen']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Andreas_Büngen }
[]
common name
SYSTEM
NO
(Q30,P6,Q496532)
action is_in
entity Q496532
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q496532']
ASK WHERE { resource:Q30 property:P6 resource:Q496532 }
No
action is_in
entity Andreas Büngen
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Andreas Büngen']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Andreas_Büngen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q403 Q1428
P463
Q484652
USER
How many international organizations were Serbia and Georgia a member of ?
(Q403,P463,c(Q484652)) (Q1428,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q403
relation P463
type Q484652
action filter_type
action find
entity Q1428
relation P463
type Q484652
['Q403', 'P463', {'concept': 'Q484652'}] ['Q1428', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q403 property:P463 ?n . ?n rdf:type ontology:Q484652 . resource:Q1428 property:P463 ?n . ?n rdf:type ontology:Q484652 }
Serbia Georgia
action count
action intersection
action filter_type
action find
entity Serbia
relation member of
type international organization
action filter_type
action find
entity Georgia
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}] ['Georgia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Serbia property:member_of ?n . ?n rdf:type ontology:international_organization . resource:Georgia property:member_of ?n . ?n rdf:type ontology:international_organization }
[]
international organization
SYSTEM
2
Q1065 Q1043527
(Q403,P463,c(Q484652)) (Q1428,P463,c(Q484652))
action count
action intersection
action filter_type
action find
entity Q403
relation P463
type Q484652
action filter_type
action find
entity Q1428
relation P463
type Q484652
[ANSWER]
['Q403', 'P463', {'concept': 'Q484652'}] ['Q1428', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q403 property:P463 ?n . ?n rdf:type ontology:Q484652 . resource:Q1428 property:P463 ?n . ?n rdf:type ontology:Q484652 }
United Nations Multilateral Investment Guarantee Agency
2
action count
action intersection
action filter_type
action find
entity Serbia
relation member of
type international organization
action filter_type
action find
entity Georgia
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}] ['Georgia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Serbia property:member_of ?n . ?n rdf:type ontology:international_organization . resource:Georgia property:member_of ?n . ?n rdf:type ontology:international_organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have tactful political relations with max number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?q ) WHERE { ?y property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } } . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?l ) WHERE { ?v property:P530 ?p . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?l = ?a ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?q ) WHERE { ?y property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?l ) WHERE { ?v property:diplomatic_relation ?p . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?l = ?a ) }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] have tactful political relations with max number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?q ) WHERE { ?y property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } GROUP BY ?y } } . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?l ) WHERE { ?v property:P530 ?p . ?v rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?l = ?a ) }
Germany
Germany have tactful political relations with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?a ) { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?q ) WHERE { ?y property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?l ) WHERE { ?v property:diplomatic_relation ?p . ?v rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?l = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1427
Q1048835 Q2912397
USER
How many political territories are the start points of less number of single-day races than that political territory ?
(c(Q2912397),P1427,c(Q1048835))
action count
action less
action find_tuple_counts
relation P1427
type Q1048835
type Q2912397
action count
action filter_type
action find
entity Q183
relation P1427
type Q1048835
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b property:P1427 ?p . ?b rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2912397 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q183 property:P1427 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?z < ?s ) }
action count
action less
action find_tuple_counts
relation start point
type political territorial entity
type single-day race
action count
action filter_type
action find
entity Germany
relation start point
type political territorial entity
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b property:start_point ?p . ?b rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:single-day_race } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Germany property:start_point ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?z < ?s ) }
[]
political territorial entity single-day race
SYSTEM
0
(c(Q2912397),P1427,c(Q1048835))
action count
action less
action find_tuple_counts
relation P1427
type Q1048835
type Q2912397
action count
action filter_type
action find
entity Q183
relation P1427
type Q1048835
[ANSWER]
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b property:P1427 ?p . ?b rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q2912397 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Q183 property:P1427 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?z < ?s ) }
0
action count
action less
action find_tuple_counts
relation start point
type political territorial entity
type single-day race
action count
action filter_type
action find
entity Germany
relation start point
type political territorial entity
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?b property:start_point ?p . ?b rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:single-day_race } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { resource:Germany property:start_point ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?z < ?s ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with max number of political territories ?
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?j } GROUP BY ?l } } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?j } GROUP BY ?l } } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
designation for an administrative territorial entity political territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER] have diplomatic relationships with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15617994 . ?l property:P530 ?j } GROUP BY ?l } } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:P530 ?w . ?w rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q15617994 } GROUP BY ?f } }
Italy
Italy have diplomatic relationships with max number of political territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?m ) { SELECT DISTINCT ?l ( COUNT ( ?j ) AS ?v ) WHERE { ?j rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?j } GROUP BY ?l } } . FILTER ( ?c = ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?c ) WHERE { ?f property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q38 Q733 Q301866
P530
Q15617994
USER
Is Italy known to have diplomatic connections with Paraguay and San Michele all'Adige ?
(Q38,P530,Q733) (Q38,P530,Q301866)
action is_in
entity Q38
action intersection
action find_reverse
entity Q733
relation P530
action find_reverse
entity Q301866
relation P530
['Q38', 'P530', 'Q733'] ['Q38', 'P530', 'Q301866']
ASK WHERE { resource:Q38 property:P530 resource:Q733 . resource:Q38 property:P530 resource:Q301866 }
Italy Paraguay San Michele all'Adige
action is_in
entity Italy
action intersection
action find_reverse
entity Paraguay
relation diplomatic relation
action find_reverse
entity San Michele all'Adige
relation diplomatic relation
['Italy', 'diplomatic relation', 'Paraguay'] ['Italy', 'diplomatic relation', "San Michele all'Adige"]
ASK WHERE { resource:Italy property:diplomatic_relation resource:Paraguay . resource:Italy property:diplomatic_relation resource:San_Michele_all'Adige }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q38,P530,Q733) (Q38,P530,Q301866)
action is_in
entity Q38
action intersection
action find_reverse
entity Q733
relation P530
action find_reverse
entity Q301866
relation P530
[ANSWER]
['Q38', 'P530', 'Q733'] ['Q38', 'P530', 'Q301866']
ASK WHERE { resource:Q38 property:P530 resource:Q733 . resource:Q38 property:P530 resource:Q301866 }
YES and NO respectively
action is_in
entity Italy
action intersection
action find_reverse
entity Paraguay
relation diplomatic relation
action find_reverse
entity San Michele all'Adige
relation diplomatic relation
['Italy', 'diplomatic relation', 'Paraguay'] ['Italy', 'diplomatic relation', "San Michele all'Adige"]
ASK WHERE { resource:Italy property:diplomatic_relation resource:Paraguay . resource:Italy property:diplomatic_relation resource:San_Michele_all'Adige }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P740
Q2088357
USER
Which musical ensembles were formed at Italy ?
action filter_type
action find_reverse
entity Q38
relation P740
type Q2088357
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q38 . ?u rdf:type ontology:Q2088357 }
Italy
action filter_type
action find_reverse
entity Italy
relation location of formation
type musical ensemble
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Italy . ?u rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q6100725 Q7575261 Q302635
SYSTEM
Ravenscry, Spectrum-X, Sonohra
Q2303247 Q18559318 Q6857907 Q18163119 Q3790430 Q6100725 Q1619432 Q5243807 Q7575261 Q948776 Q5405191 Q302635
action filter_type
action find_reverse
entity Q38
relation P740
type Q2088357
[ANSWERS] were formed at Italy
SELECT DISTINCT ?u WHERE { ?u property:P740 resource:Q38 . ?u rdf:type ontology:Q2088357 }
Sorelle Marinetti The C.I.P Militia Christi The Peppermints I Ribelli Ravenscry Banco del Mutuo Soccorso De-Javu Spectrum-X The New Dada Eu4ya Sonohra
Ravenscry, Spectrum-X and Sonohra were formed at Italy
Ravenscry Spectrum-X Sonohra
action filter_type
action find_reverse
entity Italy
relation location of formation
type musical ensemble
SELECT DISTINCT ?u WHERE { ?u property:location_of_formation resource:Italy . ?u rdf:type ontology:musical_ensemble }
[]