Simple Question (Direct)
Simple Question
Q16736731
P19
Q515
USER
Which city is the birthplace of Artem Nedolya ?
(Q16736731,P19,c(Q515))
action filter_type
action find
entity Q16736731
relation P19
type Q515
['Q16736731', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q16736731 property:P19 ?u . ?u rdf:type ontology:Q515 }
Artem Nedolya
action filter_type
action find
entity Artem Nedolya
relation place of birth
type city
['Artem Nedolya', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Artem_Nedolya property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q16736731,P19,c(Q515))
action filter_type
action find
entity Q16736731
relation P19
type Q515
[ANSWER] is the birthplace of Artem Nedolya
['Q16736731', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q16736731 property:P19 ?u . ?u rdf:type ontology:Q515 }
Kyiv
Kyiv is the birthplace of Artem Nedolya
Kyiv
action filter_type
action find
entity Artem Nedolya
relation place of birth
type city
['Artem Nedolya', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Artem_Nedolya property:place_of_birth ?u . ?u rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16736731
P641
Q349
USER
Which sport did that person participate in ?
(Q1899,P641,c(Q349))
action filter_type
action find
entity Q16736731
relation P641
type Q349
['Q1899', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q16736731 property:P641 ?q . ?q rdf:type ontology:Q349 }
Artem Nedolya
action filter_type
action find
entity Artem Nedolya
relation sport
type sport
['Kyiv', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Artem_Nedolya property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1899,P641,c(Q349))
action filter_type
action find
entity Q16736731
relation P641
type Q349
That person participated in [ANSWER]
['Q1899', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q16736731 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Artem Nedolya
relation sport
type sport
['Kyiv', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Artem_Nedolya property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16736731
P106
Q12737077
USER
What is the profession of that person ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16736731
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q16736731 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Artem Nedolya
action filter_type
action find
entity Artem Nedolya
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Artem_Nedolya property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q16736731
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q16736731 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Artem Nedolya
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Artem_Nedolya property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P495
Q1496967
USER
What is the origin of association football ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?n WHERE { resource:Q2736 property:P495 ?n . ?n rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:association_football property:country_of_origin ?n . ?n rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The origin of association football is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?n WHERE { resource:Q2736 property:P495 ?n . ?n rdf:type ontology:Q1496967 }
England
The origin of association football is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:association_football property:country_of_origin ?n . ?n rdf:type ontology:territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10871364
P425
Q349
USER
Which sport has baseball player as the associated field of occupation ?
(Q10871364,P425,c(Q349))
action filter_type
action find
entity Q10871364
relation P425
type Q349
['Q10871364', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q10871364 property:P425 ?q . ?q rdf:type ontology:Q349 }
baseball player
action filter_type
action find
entity baseball player
relation field of this occupation
type sport
['baseball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:baseball_player property:field_of_this_occupation ?q . ?q rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q10871364,P425,c(Q349))
action filter_type
action find
entity Q10871364
relation P425
type Q349
Player [ANSWER] has [ANSWER] player as the associated field of occupation
['Q10871364', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q10871364 property:P425 ?q . ?q rdf:type ontology:Q349 }
baseball
Player baseball has baseball player as the associated field of occupation
baseball
action filter_type
action find
entity baseball player
relation field of this occupation
type sport
['baseball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:baseball_player property:field_of_this_occupation ?q . ?q rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q5369 Q5725590
P641
Q502895
USER
Does Henry Mateo play that sport ?
(Q5725590,P641,Q5369)
action is_in
entity Q5369
action find
entity Q5725590
relation P641
['Q5725590', 'P641', 'Q5369']
ASK WHERE { resource:Q5725590 property:P641 resource:Q5369 }
baseball Henry Mateo
action is_in
entity baseball
action find
entity Henry Mateo
relation sport
['Henry Mateo', 'sport', 'baseball']
ASK WHERE { resource:Henry_Mateo property:sport resource:baseball }
[]
common name
SYSTEM
YES
(Q5725590,P641,Q5369)
action is_in
entity Q5369
action find
entity Q5725590
relation P641
[ANSWER]
['Q5725590', 'P641', 'Q5369']
ASK WHERE { resource:Q5725590 property:P641 resource:Q5369 }
Yes
action is_in
entity baseball
action find
entity Henry Mateo
relation sport
['Henry Mateo', 'sport', 'baseball']
ASK WHERE { resource:Henry_Mateo property:sport resource:baseball }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1899 Q755691 Q1486
P190
Q515
USER
Is Kyiv twin city of Budaörs and Buenos Aires ?
(Q1899,P190,Q755691) (Q1899,P190,Q1486)
action is_in
entity Q1899
action intersection
action find_reverse
entity Q755691
relation P190
action find_reverse
entity Q1486
relation P190
['Q1899', 'P190', 'Q755691'] ['Q1899', 'P190', 'Q1486']
ASK WHERE { resource:Q1899 property:P190 resource:Q755691 . resource:Q1899 property:P190 resource:Q1486 }
Kyiv Budaörs Buenos Aires
action is_in
entity Kyiv
action intersection
action find_reverse
entity Budaörs
relation sister city
action find_reverse
entity Buenos Aires
relation sister city
['Kyiv', 'sister city', 'Budaörs'] ['Kyiv', 'sister city', 'Buenos Aires']
ASK WHERE { resource:Kyiv property:sister_city resource:Budaörs . resource:Kyiv property:sister_city resource:Buenos_Aires }
[]
city
SYSTEM
NO and YES respectively
(Q1899,P190,Q755691) (Q1899,P190,Q1486)
action is_in
entity Q1899
action intersection
action find_reverse
entity Q755691
relation P190
action find_reverse
entity Q1486
relation P190
[ANSWER]
['Q1899', 'P190', 'Q755691'] ['Q1899', 'P190', 'Q1486']
ASK WHERE { resource:Q1899 property:P190 resource:Q755691 . resource:Q1899 property:P190 resource:Q1486 }
NO and YES respectively
action is_in
entity Kyiv
action intersection
action find_reverse
entity Budaörs
relation sister city
action find_reverse
entity Buenos Aires
relation sister city
['Kyiv', 'sister city', 'Budaörs'] ['Kyiv', 'sister city', 'Buenos Aires']
ASK WHERE { resource:Kyiv property:sister_city resource:Budaörs . resource:Kyiv property:sister_city resource:Buenos_Aires }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5369 Q153024
P417
Q502895
USER
Is Rita of Cascia the name of person who is the patron saint of baseball ?
(Q5369,P417,Q153024)
action is_in
entity Q153024
action find
entity Q5369
relation P417
['Q5369', 'P417', 'Q153024']
ASK WHERE { resource:Q5369 property:P417 resource:Q153024 }
baseball Rita of Cascia
action is_in
entity Rita of Cascia
action find
entity baseball
relation patron saint
['baseball', 'patron saint', 'Rita of Cascia']
ASK WHERE { resource:baseball property:patron_saint resource:Rita_of_Cascia }
[]
common name
SYSTEM
YES
(Q5369,P417,Q153024)
action is_in
entity Q153024
action find
entity Q5369
relation P417
[ANSWER]
['Q5369', 'P417', 'Q153024']
ASK WHERE { resource:Q5369 property:P417 resource:Q153024 }
Yes
action is_in
entity Rita of Cascia
action find
entity baseball
relation patron saint
['baseball', 'patron saint', 'Rita of Cascia']
ASK WHERE { resource:baseball property:patron_saint resource:Rita_of_Cascia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P163
Q14660
USER
What is the name of flag associated with England ?
(Q21,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { resource:Q21 property:P163 ?x . ?x rdf:type ontology:Q14660 }
England
action filter_type
action find
entity England
relation flag
type flag
['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { resource:England property:flag ?x . ?x rdf:type ontology:flag }
[]
flag
Q171117
SYSTEM
flag of England
Q171117
(Q21,P163,c(Q14660))
action filter_type
action find
entity Q21
relation P163
type Q14660
The name of flag associated with England is the [ANSWER]
['Q21', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { resource:Q21 property:P163 ?x . ?x rdf:type ontology:Q14660 }
flag of England
The name of flag associated with England is the flag of England
flag of England
action filter_type
action find
entity England
relation flag
type flag
['England', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { resource:England property:flag ?x . ?x rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P915
Q201658
USER
Which film genre was filmed at England ?
(c(Q201658),P915,Q21)
action filter_type
action find_reverse
entity Q21
relation P915
type Q201658
[{'concept': 'Q201658'}, 'P915', 'Q21']
SELECT DISTINCT ?b WHERE { ?b property:P915 resource:Q21 . ?b rdf:type ontology:Q201658 }
England
action filter_type
action find_reverse
entity England
relation filming location
type film genre
[{'concept': 'film genre'}, 'filming location', 'England']
SELECT DISTINCT ?b WHERE { ?b property:filming_location resource:England . ?b rdf:type ontology:film_genre }
[]
film genre
Q1058426
SYSTEM
Sorrell and Son
Q1058426
(c(Q201658),P915,Q21)
action filter_type
action find_reverse
entity Q21
relation P915
type Q201658
The [ANSWER] was filmed at England
[{'concept': 'Q201658'}, 'P915', 'Q21']
SELECT DISTINCT ?b WHERE { ?b property:P915 resource:Q21 . ?b rdf:type ontology:Q201658 }
Sorrell and Son
The Sorrell and Son was filmed at England
Sorrell and Son
action filter_type
action find_reverse
entity England
relation filming location
type film genre
[{'concept': 'film genre'}, 'filming location', 'England']
SELECT DISTINCT ?b WHERE { ?b property:filming_location resource:England . ?b rdf:type ontology:film_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P710
Q820655
USER
What event did England particiate in ?
(c(Q820655),P710,Q21)
action filter_type
action find_reverse
entity Q21
relation P710
type Q820655
[{'concept': 'Q820655'}, 'P710', 'Q21']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q21 . ?g rdf:type ontology:Q820655 }
England
action filter_type
action find_reverse
entity England
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'England']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:England . ?g rdf:type ontology:statute }
[]
statute
Q1435156
SYSTEM
Methuen Treaty
Q1435156
(c(Q820655),P710,Q21)
action filter_type
action find_reverse
entity Q21
relation P710
type Q820655
England particiated in [ANSWER]
[{'concept': 'Q820655'}, 'P710', 'Q21']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q21 . ?g rdf:type ontology:Q820655 }
Methuen Treaty
England particiated in Methuen Treaty
Methuen Treaty
action filter_type
action find_reverse
entity England
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'England']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:England . ?g rdf:type ontology:statute }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1435156
P276
Q56061
USER
Which administrative territory is the location of that statute ?
(Q1435156,P276,c(Q56061))
action filter_type
action find
entity Q1435156
relation P276
type Q56061
['Q1435156', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1435156 property:P276 ?z . ?z rdf:type ontology:Q56061 }
Methuen Treaty
action filter_type
action find
entity Methuen Treaty
relation location
type administrative territorial entity
['Methuen Treaty', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Methuen_Treaty property:location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q597
SYSTEM
Lisbon
Q597
(Q1435156,P276,c(Q56061))
action filter_type
action find
entity Q1435156
relation P276
type Q56061
[ANSWER] is the location of that statute
['Q1435156', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1435156 property:P276 ?z . ?z rdf:type ontology:Q56061 }
Lisbon
Lisbon is the location of that statute
Lisbon
action filter_type
action find
entity Methuen Treaty
relation location
type administrative territorial entity
['Methuen Treaty', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Methuen_Treaty property:location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q604735
P180
Q11028 Q8205328 Q14660
USER
Which flags demonstrate more number of information or artefacts than Flag of Sint Maarten ?
(c(Q14660),P180,c(Q11028)|c(Q8205328))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q11028
action find_tuple_counts
relation P180
type Q14660
type Q8205328
action count
action filter_multi_types
action find
entity Q604735
relation P180
type Q11028
type Q8205328
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q11028'}, {'concept': 'Q8205328'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { { ?h property:P180 ?m . ?h rdf:type ontology:Q14660 . ?m rdf:type ontology:Q8205328 } UNION { ?h property:P180 ?m . ?h rdf:type ontology:Q14660 . ?m rdf:type ontology:Q11028 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q604735 property:P180 ?f . { VALUES ( ?y ) { ( ontology:Q11028 ) ( ontology:Q8205328 ) } . ?f rdf:type ?y } } } . FILTER ( ?i > ?r ) }
Flag of Sint Maarten
action greater
action union
action find_tuple_counts
relation depicts
type flag
type information
action find_tuple_counts
relation depicts
type flag
type artefact
action count
action filter_multi_types
action find
entity Flag of Sint Maarten
relation depicts
type information
type artefact
[{'concept': 'flag'}, 'depicts', [{'concept': 'information'}, {'concept': 'artefact'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { { ?h property:depicts ?m . ?h rdf:type ontology:flag . ?m rdf:type ontology:artefact } UNION { ?h property:depicts ?m . ?h rdf:type ontology:flag . ?m rdf:type ontology:information } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Flag_of_Sint_Maarten property:depicts ?f . { VALUES ( ?y ) { ( ontology:information ) ( ontology:artefact ) } . ?f rdf:type ?y } } } . FILTER ( ?i > ?r ) }
[]
information artefact flag
Q4633 Q19373
SYSTEM
Flag of Cyprus, Flag of South Carolina
Q4633 Q19373
(c(Q14660),P180,c(Q11028)|c(Q8205328))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q11028
action find_tuple_counts
relation P180
type Q14660
type Q8205328
action count
action filter_multi_types
action find
entity Q604735
relation P180
type Q11028
type Q8205328
[ANSWERS] demonstrate more number of information or artefacts than Flag of Sint Maarten
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q11028'}, {'concept': 'Q8205328'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { { ?h property:P180 ?m . ?h rdf:type ontology:Q14660 . ?m rdf:type ontology:Q8205328 } UNION { ?h property:P180 ?m . ?h rdf:type ontology:Q14660 . ?m rdf:type ontology:Q11028 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Q604735 property:P180 ?f . { VALUES ( ?y ) { ( ontology:Q11028 ) ( ontology:Q8205328 ) } . ?f rdf:type ?y } } } . FILTER ( ?i > ?r ) }
Flag of Cyprus Flag of South Carolina
Flag of Cyprus and Flag of South Carolina demonstrate more number of information or artefacts than Flag of Sint Maarten
Flag of Cyprus Flag of South Carolina
action greater
action union
action find_tuple_counts
relation depicts
type flag
type information
action find_tuple_counts
relation depicts
type flag
type artefact
action count
action filter_multi_types
action find
entity Flag of Sint Maarten
relation depicts
type information
type artefact
[{'concept': 'flag'}, 'depicts', [{'concept': 'information'}, {'concept': 'artefact'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?m ) AS ?i ) WHERE { { ?h property:depicts ?m . ?h rdf:type ontology:flag . ?m rdf:type ontology:artefact } UNION { ?h property:depicts ?m . ?h rdf:type ontology:flag . ?m rdf:type ontology:information } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { resource:Flag_of_Sint_Maarten property:depicts ?f . { VALUES ( ?y ) { ( ontology:information ) ( ontology:artefact ) } . ?f rdf:type ?y } } } . FILTER ( ?i > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q429900
P180
Q11028 Q8205328 Q14660
USER
And also tell me about Flag of Saba?
(c(Q14660),P180,c(Q11028)|c(Q8205328))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q11028
action find_tuple_counts
relation P180
type Q14660
type Q8205328
action count
action filter_multi_types
action find
entity Q429900
relation P180
type Q11028
type Q8205328
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q11028'}, {'concept': 'Q8205328'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q429900 property:P180 ?q . { { ?q rdf:type ontology:Q8205328 } UNION { ?q rdf:type ontology:Q11028 } } } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?u ) WHERE { { ?j property:P180 ?t . ?j rdf:type ontology:Q14660 . ?t rdf:type ontology:Q11028 } UNION { ?j property:P180 ?t . ?j rdf:type ontology:Q14660 . ?t rdf:type ontology:Q8205328 } } GROUP BY ?j } }
Flag of Saba
action greater
action union
action find_tuple_counts
relation depicts
type flag
type information
action find_tuple_counts
relation depicts
type flag
type artefact
action count
action filter_multi_types
action find
entity Flag of Saba
relation depicts
type information
type artefact
[{'concept': 'flag'}, 'depicts', [{'concept': 'information'}, {'concept': 'artefact'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Flag_of_Saba property:depicts ?q . { { ?q rdf:type ontology:artefact } UNION { ?q rdf:type ontology:information } } } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?u ) WHERE { { ?j property:depicts ?t . ?j rdf:type ontology:flag . ?t rdf:type ontology:information } UNION { ?j property:depicts ?t . ?j rdf:type ontology:flag . ?t rdf:type ontology:artefact } } GROUP BY ?j } }
[]
information artefact flag
Q4633 Q19373
SYSTEM
Flag of Cyprus, Flag of South Carolina
Q4633 Q19373
(c(Q14660),P180,c(Q11028)|c(Q8205328))
action greater
action union
action find_tuple_counts
relation P180
type Q14660
type Q11028
action find_tuple_counts
relation P180
type Q14660
type Q8205328
action count
action filter_multi_types
action find
entity Q429900
relation P180
type Q11028
type Q8205328
[ANSWERS]
[{'concept': 'Q14660'}, 'P180', [{'concept': 'Q11028'}, {'concept': 'Q8205328'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Q429900 property:P180 ?q . { { ?q rdf:type ontology:Q8205328 } UNION { ?q rdf:type ontology:Q11028 } } } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?u ) WHERE { { ?j property:P180 ?t . ?j rdf:type ontology:Q14660 . ?t rdf:type ontology:Q11028 } UNION { ?j property:P180 ?t . ?j rdf:type ontology:Q14660 . ?t rdf:type ontology:Q8205328 } } GROUP BY ?j } }
Flag of Cyprus Flag of South Carolina
Flag of Cyprus Flag of South Carolina
action greater
action union
action find_tuple_counts
relation depicts
type flag
type information
action find_tuple_counts
relation depicts
type flag
type artefact
action count
action filter_multi_types
action find
entity Flag of Saba
relation depicts
type information
type artefact
[{'concept': 'flag'}, 'depicts', [{'concept': 'information'}, {'concept': 'artefact'}]]
SELECT DISTINCT ?j WHERE { FILTER ( ?u > ?k ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { resource:Flag_of_Saba property:depicts ?q . { { ?q rdf:type ontology:artefact } UNION { ?q rdf:type ontology:information } } } } . { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?u ) WHERE { { ?j property:depicts ?t . ?j rdf:type ontology:flag . ?t rdf:type ontology:information } UNION { ?j property:depicts ?t . ?j rdf:type ontology:flag . ?t rdf:type ontology:artefact } } GROUP BY ?j } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P163
Q15617994
USER
How many administrative territories have their flag named that flag ?
(c(Q15617994),P163,Q4633)
[{'concept': 'Q15617994'}, 'P163', 'Q4633']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q14660 resource:Q4633 . ?z rdf:type ontology:Q15617994 }
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Cyprus']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:flag resource:Flag_of_Cyprus . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q4633
SYSTEM
Did you mean Flag of Cyprus ?
(c(Q15617994),P163,Q4633) (c(Q15617994),P163,Q19373)
[ANSWER]
[{'concept': 'Q15617994'}, 'P163', 'Q4633'] [{'concept': 'Q15617994'}, 'P163', 'Q19373']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q14660 resource:Q4633 . ?z rdf:type ontology:Q15617994 }
Did you mean Flag of Cyprus ?
Flag of Cyprus
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Cyprus'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of South Carolina']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:flag resource:Flag_of_Cyprus . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15617994),P163,Q4633)
[{'concept': 'Q15617994'}, 'P163', 'Q4633']
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Cyprus']
[]
SYSTEM
1
Q229
(c(Q15617994),P163,Q4633)
[ANSWER]
[{'concept': 'Q15617994'}, 'P163', 'Q4633']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q14660 resource:Q4633 . ?z rdf:type ontology:Q15617994 }
Cyprus
1
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Cyprus']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:flag resource:Flag_of_Cyprus . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]