Simple Question (Direct)
Simple Question
Q9371706
P19
Q13220204
USER
Which administrative country subdivision was Valentyn Sapronov born at ?
(Q9371706,P19,c(Q13220204))
action filter_type
action find
entity Q9371706
relation P19
type Q13220204
['Q9371706', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q9371706 property:P19 ?w . ?w rdf:type ontology:Q13220204 }
Valentyn Sapronov
action filter_type
action find
entity Valentyn Sapronov
relation place of birth
type second-level administrative country subdivision
['Valentyn Sapronov', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Valentyn_Sapronov property:place_of_birth ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q791673
SYSTEM
Avdiivka
Q791673
(Q9371706,P19,c(Q13220204))
action filter_type
action find
entity Q9371706
relation P19
type Q13220204
Valentyn Sapronov was born in [ANSWER]
['Q9371706', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?w WHERE { resource:Q9371706 property:P19 ?w . ?w rdf:type ontology:Q13220204 }
Avdiivka
Valentyn Sapronov was born in Avdiivka
Avdiivka
action filter_type
action find
entity Valentyn Sapronov
relation place of birth
type second-level administrative country subdivision
['Valentyn Sapronov', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?w WHERE { resource:Valentyn_Sapronov property:place_of_birth ?w . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9371706
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q791673,P54,c(Q1194951))
action filter_type
action find
entity Q9371706
relation P54
type Q1194951
['Q791673', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q9371706 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Valentyn Sapronov
action filter_type
action find
entity Valentyn Sapronov
relation member of sports team
type national sports team
['Avdiivka', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Valentyn_Sapronov property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
national sports team
Q170403
SYSTEM
Ukraine national football team
Q170403
(Q791673,P54,c(Q1194951))
action filter_type
action find
entity Q9371706
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q791673', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?d WHERE { resource:Q9371706 property:P54 ?d . ?d rdf:type ontology:Q1194951 }
Ukraine national football team
The Ukraine national football team is that person a member of
Ukraine national football team
action filter_type
action find
entity Valentyn Sapronov
relation member of sports team
type national sports team
['Avdiivka', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?d WHERE { resource:Valentyn_Sapronov property:member_of_sports_team ?d . ?d rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1923
Q1194951 Q15275719
USER
Which recurring events did min number of national sports teams participate in ?
(c(Q15275719),P1923,c(Q1194951))
action argmin
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { ?j property:P1923 ?x . ?x rdf:type ontology:Q1194951 . ?j rdf:type ontology:Q15275719 } GROUP BY ?j } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { ?n property:P1923 ?f . ?n rdf:type ontology:Q15275719 . ?f rdf:type ontology:Q1194951 } GROUP BY ?n } } }
action argmin
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { ?j property:participating_teams ?x . ?x rdf:type ontology:national_sports_team . ?j rdf:type ontology:recurring_event } GROUP BY ?j } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { ?n property:participating_teams ?f . ?n rdf:type ontology:recurring_event . ?f rdf:type ontology:national_sports_team } GROUP BY ?n } } }
[]
national sports team recurring event
Q19967338
SYSTEM
La Roue Tourangelle 2015
Q19967338
(c(Q15275719),P1923,c(Q1194951))
action argmin
action find_tuple_counts
relation P1923
type Q15275719
type Q1194951
Min number of national sports teams participated in [ANSWER]
[{'concept': 'Q15275719'}, 'P1923', {'concept': 'Q1194951'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { ?j property:P1923 ?x . ?x rdf:type ontology:Q1194951 . ?j rdf:type ontology:Q15275719 } GROUP BY ?j } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { ?n property:P1923 ?f . ?n rdf:type ontology:Q15275719 . ?f rdf:type ontology:Q1194951 } GROUP BY ?n } } }
La Roue Tourangelle 2015
Min number of national sports teams participated in La Roue Tourangelle 2015
La Roue Tourangelle 2015
action argmin
action find_tuple_counts
relation participating teams
type recurring event
type national sports team
[{'concept': 'recurring event'}, 'participating teams', {'concept': 'national sports team'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?b ) WHERE { ?j property:participating_teams ?x . ?x rdf:type ontology:national_sports_team . ?j rdf:type ontology:recurring_event } GROUP BY ?j } . FILTER ( ?b = ?e ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?s ) WHERE { ?n property:participating_teams ?f . ?n rdf:type ontology:recurring_event . ?f rdf:type ontology:national_sports_team } GROUP BY ?n } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1578601 Q9371706
P106
Q12737077
USER
Which occupations have Valentyn Sapronov or Hans Becker as his/her as a career ?
OR((Q9371706,P106,c(Q12737077)), (Q1578601,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q9371706
relation P106
action find
entity Q1578601
relation P106
type Q12737077
{'OR': [['Q9371706', 'P106', {'concept': 'Q12737077'}], ['Q1578601', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q9371706 property:P106 ?z } UNION { resource:Q1578601 property:P106 ?z } } . ?z rdf:type ontology:Q12737077 }
Hans Becker Valentyn Sapronov
action filter_type
action union
action find
entity Valentyn Sapronov
relation occupation
action find
entity Hans Becker
relation occupation
type occupation
{'OR': [['Valentyn Sapronov', 'occupation', {'concept': 'occupation'}], ['Hans Becker', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Valentyn_Sapronov property:occupation ?z } UNION { resource:Hans_Becker property:occupation ?z } } . ?z rdf:type ontology:occupation }
[]
occupation
Q1662561 Q628099 Q1622272 Q937857
SYSTEM
paleontologist, association football manager, university teacher, association football player
Q1662561 Q628099 Q1622272 Q937857
OR((Q9371706,P106,c(Q12737077)), (Q1578601,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q9371706
relation P106
action find
entity Q1578601
relation P106
type Q12737077
As [ANSWERS] have Valentyn Sapronov or Hans Becker as his/her as a career
{'OR': [['Q9371706', 'P106', {'concept': 'Q12737077'}], ['Q1578601', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q9371706 property:P106 ?z } UNION { resource:Q1578601 property:P106 ?z } } . ?z rdf:type ontology:Q12737077 }
paleontologist association football manager university teacher association football player
As paleontologist, association football manager, university teacher and association football player have Valentyn Sapronov or Hans Becker as his/her as a career
paleontologist association football manager university teacher association football player
action filter_type
action union
action find
entity Valentyn Sapronov
relation occupation
action find
entity Hans Becker
relation occupation
type occupation
{'OR': [['Valentyn Sapronov', 'occupation', {'concept': 'occupation'}], ['Hans Becker', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Valentyn_Sapronov property:occupation ?z } UNION { resource:Hans_Becker property:occupation ?z } } . ?z rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q6619679 Q15619164
USER
How many fictional humanoids or abstract beings have career as that occupation ?
(c(Q6619679),P106,Q1662561) (c(Q15619164),P106,Q1662561) (c(Q6619679),P106,Q1662561) (c(Q15619164),P106,Q1662561) (c(Q6619679),P106,Q628099) (c(Q15619164),P106,Q628099) (c(Q6619679),P106,Q1622272) (c(Q15619164),P106,Q1622272) (c(Q6619679),P106,Q937857) (c(Q15619164),P106,Q937857)
[{'concept': 'Q6619679'}, 'P106', 'Q1662561'] [{'concept': 'Q15619164'}, 'P106', 'Q1662561'] [{'concept': 'Q6619679'}, 'P106', 'Q1662561'] [{'concept': 'Q15619164'}, 'P106', 'Q1662561'] [{'concept': 'Q6619679'}, 'P106', 'Q628099'] [{'concept': 'Q15619164'}, 'P106', 'Q628099'] [{'concept': 'Q6619679'}, 'P106', 'Q1622272'] [{'concept': 'Q15619164'}, 'P106', 'Q1622272'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q1662561 } UNION { ?y property:Q528892 resource:Q1662561 } UNION { ?z property:Q528892 resource:Q1662561 } UNION { ?y property:Q528892 resource:Q1662561 } UNION { ?z property:Q528892 resource:Q628099 } UNION { ?y property:Q528892 resource:Q628099 } UNION { ?z property:Q528892 resource:Q1622272 } UNION { ?y property:Q528892 resource:Q1622272 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } } . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q15619164 }
[{'concept': 'fictional humanoid'}, 'occupation', 'paleontologist'] [{'concept': 'abstract being'}, 'occupation', 'paleontologist'] [{'concept': 'fictional humanoid'}, 'occupation', 'paleontologist'] [{'concept': 'abstract being'}, 'occupation', 'paleontologist'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football manager'] [{'concept': 'abstract being'}, 'occupation', 'association football manager'] [{'concept': 'fictional humanoid'}, 'occupation', 'university teacher'] [{'concept': 'abstract being'}, 'occupation', 'university teacher'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:paleontologist } UNION { ?y property:occupation resource:paleontologist } UNION { ?z property:occupation resource:paleontologist } UNION { ?y property:occupation resource:paleontologist } UNION { ?z property:occupation resource:association_football_manager } UNION { ?y property:occupation resource:association_football_manager } UNION { ?z property:occupation resource:university_teacher } UNION { ?y property:occupation resource:university_teacher } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } } . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:abstract_being }
[]
fictional humanoid abstract being
Quantitative|Count|Mult. entity type|Clarification
Q1622272
SYSTEM
Did you mean university teacher ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q1662561 } UNION { ?y property:Q528892 resource:Q1662561 } UNION { ?z property:Q528892 resource:Q1662561 } UNION { ?y property:Q528892 resource:Q1662561 } UNION { ?z property:Q528892 resource:Q628099 } UNION { ?y property:Q528892 resource:Q628099 } UNION { ?z property:Q528892 resource:Q1622272 } UNION { ?y property:Q528892 resource:Q1622272 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } } . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q15619164 }
Did you mean university teacher ?
university teacher
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:paleontologist } UNION { ?y property:occupation resource:paleontologist } UNION { ?z property:occupation resource:paleontologist } UNION { ?y property:occupation resource:paleontologist } UNION { ?z property:occupation resource:association_football_manager } UNION { ?y property:occupation resource:association_football_manager } UNION { ?z property:occupation resource:university_teacher } UNION { ?y property:occupation resource:university_teacher } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } } . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant paleontologist. Could you tell me the answer for that?
(c(Q6619679),P106,Q1662561) (c(Q15619164),P106,Q1662561) (c(Q6619679),P106,Q1662561) (c(Q15619164),P106,Q1662561) (c(Q6619679),P106,Q628099) (c(Q15619164),P106,Q628099) (c(Q6619679),P106,Q1622272) (c(Q15619164),P106,Q1622272) (c(Q6619679),P106,Q937857) (c(Q15619164),P106,Q937857)
Q1662561
[{'concept': 'Q6619679'}, 'P106', 'Q1662561'] [{'concept': 'Q15619164'}, 'P106', 'Q1662561'] [{'concept': 'Q6619679'}, 'P106', 'Q1662561'] [{'concept': 'Q15619164'}, 'P106', 'Q1662561'] [{'concept': 'Q6619679'}, 'P106', 'Q628099'] [{'concept': 'Q15619164'}, 'P106', 'Q628099'] [{'concept': 'Q6619679'}, 'P106', 'Q1622272'] [{'concept': 'Q15619164'}, 'P106', 'Q1622272'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857']
[{'concept': 'fictional humanoid'}, 'occupation', 'paleontologist'] [{'concept': 'abstract being'}, 'occupation', 'paleontologist'] [{'concept': 'fictional humanoid'}, 'occupation', 'paleontologist'] [{'concept': 'abstract being'}, 'occupation', 'paleontologist'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football manager'] [{'concept': 'abstract being'}, 'occupation', 'association football manager'] [{'concept': 'fictional humanoid'}, 'occupation', 'university teacher'] [{'concept': 'abstract being'}, 'occupation', 'university teacher'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player']
[]
SYSTEM
2
Q747424 Q2706884
(c(Q6619679),P106,Q1662561) (c(Q15619164),P106,Q1662561) (c(Q6619679),P106,Q1662561) (c(Q15619164),P106,Q1662561) (c(Q6619679),P106,Q628099) (c(Q15619164),P106,Q628099) (c(Q6619679),P106,Q1622272) (c(Q15619164),P106,Q1622272) (c(Q6619679),P106,Q937857) (c(Q15619164),P106,Q937857)
[ANSWER]
[{'concept': 'Q6619679'}, 'P106', 'Q1662561'] [{'concept': 'Q15619164'}, 'P106', 'Q1662561'] [{'concept': 'Q6619679'}, 'P106', 'Q1662561'] [{'concept': 'Q15619164'}, 'P106', 'Q1662561'] [{'concept': 'Q6619679'}, 'P106', 'Q628099'] [{'concept': 'Q15619164'}, 'P106', 'Q628099'] [{'concept': 'Q6619679'}, 'P106', 'Q1622272'] [{'concept': 'Q15619164'}, 'P106', 'Q1622272'] [{'concept': 'Q6619679'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q1662561 } UNION { ?y property:Q528892 resource:Q1662561 } UNION { ?z property:Q528892 resource:Q1662561 } UNION { ?y property:Q528892 resource:Q1662561 } UNION { ?z property:Q528892 resource:Q628099 } UNION { ?y property:Q528892 resource:Q628099 } UNION { ?z property:Q528892 resource:Q1622272 } UNION { ?y property:Q528892 resource:Q1622272 } UNION { ?z property:Q528892 resource:Q937857 } UNION { ?y property:Q528892 resource:Q937857 } } . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q15619164 }
Ross Geller Tommy Oliver
2
[{'concept': 'fictional humanoid'}, 'occupation', 'paleontologist'] [{'concept': 'abstract being'}, 'occupation', 'paleontologist'] [{'concept': 'fictional humanoid'}, 'occupation', 'paleontologist'] [{'concept': 'abstract being'}, 'occupation', 'paleontologist'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football manager'] [{'concept': 'abstract being'}, 'occupation', 'association football manager'] [{'concept': 'fictional humanoid'}, 'occupation', 'university teacher'] [{'concept': 'abstract being'}, 'occupation', 'university teacher'] [{'concept': 'fictional humanoid'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:paleontologist } UNION { ?y property:occupation resource:paleontologist } UNION { ?z property:occupation resource:paleontologist } UNION { ?y property:occupation resource:paleontologist } UNION { ?z property:occupation resource:association_football_manager } UNION { ?y property:occupation resource:association_football_manager } UNION { ?z property:occupation resource:university_teacher } UNION { ?y property:occupation resource:university_teacher } UNION { ?z property:occupation resource:association_football_player } UNION { ?y property:occupation resource:association_football_player } } . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P138
Q502895 Q15617994 Q13220204
USER
Which administrative country subdivisions are named after max number of people and administrative territories ?
(c(Q13220204),P138,c(Q502895)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P138
type Q13220204
type Q502895
action find_tuple_counts
relation P138
type Q13220204
type Q15617994
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?i WHERE { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q15617994 ) } . ?c rdf:type ?r } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?b WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q502895 ) } } GROUP BY ?b } . FILTER ( ?x = ?a ) }
action argmax
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type common name
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'common name'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?i WHERE { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?c rdf:type ?r } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?b WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:common_name ) } } GROUP BY ?b } . FILTER ( ?x = ?a ) }
[]
common name designation for an administrative territorial entity second-level administrative country subdivision
Q837093
SYSTEM
Kadiivka
Q837093
(c(Q13220204),P138,c(Q502895)|c(Q15617994))
action argmax
action union
action find_tuple_counts
relation P138
type Q13220204
type Q502895
action find_tuple_counts
relation P138
type Q13220204
type Q15617994
[ANSWER] is named after max number of people and administrative territories
[{'concept': 'Q13220204'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?i WHERE { VALUES ( ?r ) { ( ontology:Q502895 ) ( ontology:Q15617994 ) } . ?c rdf:type ?r } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?b WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q502895 ) } } GROUP BY ?b } . FILTER ( ?x = ?a ) }
Kadiivka
Kadiivka is named after max number of people and administrative territories
Kadiivka
action argmax
action union
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type common name
action find_tuple_counts
relation named after
type second-level administrative country subdivision
type designation for an administrative territorial entity
[{'concept': 'second-level administrative country subdivision'}, 'named after', [{'concept': 'common name'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?i WHERE { VALUES ( ?r ) { ( ontology:common_name ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?c rdf:type ?r } GROUP BY ?i } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) ?b WHERE { ?z rdf:type ?o . VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:common_name ) } } GROUP BY ?b } . FILTER ( ?x = ?a ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q837093 Q20784
P17
Q15617994
USER
Does Kadiivka belong to Oldenswort ?
(Q837093,P17,Q20784)
action is_in
entity Q20784
action find
entity Q837093
relation P17
['Q837093', 'P17', 'Q20784']
ASK WHERE { resource:Q837093 property:P17 resource:Q20784 }
Kadiivka Oldenswort
action is_in
entity Oldenswort
action find
entity Kadiivka
relation country
['Kadiivka', 'country', 'Oldenswort']
ASK WHERE { resource:Kadiivka property:country resource:Oldenswort }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q837093,P17,Q20784)
action is_in
entity Q20784
action find
entity Q837093
relation P17
[ANSWER]
['Q837093', 'P17', 'Q20784']
ASK WHERE { resource:Q837093 property:P17 resource:Q20784 }
No
action is_in
entity Oldenswort
action find
entity Kadiivka
relation country
['Kadiivka', 'country', 'Oldenswort']
ASK WHERE { resource:Kadiivka property:country resource:Oldenswort }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q937857 Q4543
P425
Q349
USER
Is beach volleyball associated with the field of occupation association football player ?
(Q937857,P425,Q4543)
action is_in
entity Q4543
action find
entity Q937857
relation P425
['Q937857', 'P425', 'Q4543']
ASK WHERE { resource:Q937857 property:P425 resource:Q4543 }
association football player beach volleyball
action is_in
entity beach volleyball
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'beach volleyball']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:beach_volleyball }
[]
sport
SYSTEM
NO
(Q937857,P425,Q4543)
action is_in
entity Q4543
action find
entity Q937857
relation P425
[ANSWER]
['Q937857', 'P425', 'Q4543']
ASK WHERE { resource:Q937857 property:P425 resource:Q4543 }
No
action is_in
entity beach volleyball
action find
entity association football player
relation field of this occupation
['association football player', 'field of this occupation', 'beach volleyball']
ASK WHERE { resource:association_football_player property:field_of_this_occupation resource:beach_volleyball }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q9371706 Q937857
P106
Q12737077
USER
Is association football player the profession of Valentyn Sapronov ?
(Q9371706,P106,Q937857)
action is_in
entity Q937857
action find
entity Q9371706
relation P106
['Q9371706', 'P106', 'Q937857']
ASK WHERE { resource:Q9371706 property:P106 resource:Q937857 }
Valentyn Sapronov association football player
action is_in
entity association football player
action find
entity Valentyn Sapronov
relation occupation
['Valentyn Sapronov', 'occupation', 'association football player']
ASK WHERE { resource:Valentyn_Sapronov property:occupation resource:association_football_player }
[]
occupation
SYSTEM
YES
(Q9371706,P106,Q937857)
action is_in
entity Q937857
action find
entity Q9371706
relation P106
[ANSWER]
['Q9371706', 'P106', 'Q937857']
ASK WHERE { resource:Q9371706 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity Valentyn Sapronov
relation occupation
['Valentyn Sapronov', 'occupation', 'association football player']
ASK WHERE { resource:Valentyn_Sapronov property:occupation resource:association_football_player }
[]