Simple Question (Direct)
Simple Question
Q4360269
P54
Q82799
USER
What is Mike Petersen a member of ?
(Q4360269,P54,c(Q82799))
action filter_type
action find
entity Q4360269
relation P54
type Q82799
['Q4360269', 'P54', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q4360269 property:P54 ?l . ?l rdf:type ontology:Q82799 }
Mike Petersen
action filter_type
action find
entity Mike Petersen
relation member of sports team
type name
['Mike Petersen', 'member of sports team', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Petersen property:member_of_sports_team ?l . ?l rdf:type ontology:name }
[]
name
Q1510813
SYSTEM
South Melbourne Football Club
Q1510813
(Q4360269,P54,c(Q82799))
action filter_type
action find
entity Q4360269
relation P54
type Q82799
Mike Petersen a member of is [ANSWER]
['Q4360269', 'P54', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q4360269 property:P54 ?l . ?l rdf:type ontology:Q82799 }
South Melbourne Football Club
Mike Petersen a member of is South Melbourne Football Club
South Melbourne Football Club
action filter_type
action find
entity Mike Petersen
relation member of sports team
type name
['Mike Petersen', 'member of sports team', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Petersen property:member_of_sports_team ?l . ?l rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4360269
P641
Q349
USER
Which sport did Mike Petersen participate in ?
(Q4360269,P641,c(Q349))
action filter_type
action find
entity Q4360269
relation P641
type Q349
['Q4360269', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q4360269 property:P641 ?w . ?w rdf:type ontology:Q349 }
Mike Petersen
action filter_type
action find
entity Mike Petersen
relation sport
type sport
['Mike Petersen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Mike_Petersen property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4360269,P641,c(Q349))
action filter_type
action find
entity Q4360269
relation P641
type Q349
Mike Petersen participated in [ANSWER]
['Q4360269', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q4360269 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Mike Petersen participated in association football
association football
action filter_type
action find
entity Mike Petersen
relation sport
type sport
['Mike Petersen', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Mike_Petersen property:sport ?w . ?w rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q56982
P407
Q34770 Q82799
USER
How many languages are less number of names in than Judaeo-Portuguese ?
(c(Q82799),P407,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q56982
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:Q82799 . ?b rdf:type ontology:Q34770 . ?u property:P407 ?b } GROUP BY ?b } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P407 resource:Q56982 . ?e rdf:type ontology:Q82799 } } }
Judaeo-Portuguese
action count
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Judaeo-Portuguese
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:name . ?b rdf:type ontology:language . ?u property:language_of_work_or_name ?b } GROUP BY ?b } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:language_of_work_or_name resource:Judaeo-Portuguese . ?e rdf:type ontology:name } } }
[]
language name
SYSTEM
19
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q56982
relation P407
type Q82799
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:Q82799 . ?b rdf:type ontology:Q34770 . ?u property:P407 ?b } GROUP BY ?b } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:P407 resource:Q56982 . ?e rdf:type ontology:Q82799 } } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
19
action count
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Judaeo-Portuguese
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?u ) AS ?x ) WHERE { ?u rdf:type ontology:name . ?b rdf:type ontology:language . ?u property:language_of_work_or_name ?b } GROUP BY ?b } . FILTER ( ?x < ?m ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { ?e property:language_of_work_or_name resource:Judaeo-Portuguese . ?e rdf:type ontology:name } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20088105 Q4360269
P27
Q1048835
USER
Which political territories do Mike Petersen or Fanny Krausz belong to ?
OR((Q4360269,P27,c(Q1048835)), (Q20088105,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4360269
relation P27
action find
entity Q20088105
relation P27
type Q1048835
{'OR': [['Q4360269', 'P27', {'concept': 'Q1048835'}], ['Q20088105', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { ?u property:P27 ?t . VALUES ( ?u ) { ( resource:Q20088105 ) ( resource:Q4360269 ) } } . ?t rdf:type ontology:Q1048835 }
Fanny Krausz Mike Petersen
action filter_type
action union
action find
entity Mike Petersen
relation country of citizenship
action find
entity Fanny Krausz
relation country of citizenship
type political territorial entity
{'OR': [['Mike Petersen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Fanny Krausz', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?u property:country_of_citizenship ?t . VALUES ( ?u ) { ( resource:Fanny_Krausz ) ( resource:Mike_Petersen ) } } . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q40
SYSTEM
Australia, Austria
Q408 Q40
OR((Q4360269,P27,c(Q1048835)), (Q20088105,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q4360269
relation P27
action find
entity Q20088105
relation P27
type Q1048835
Mike Petersen or Fanny Krausz belong to the [ANSWERS]
{'OR': [['Q4360269', 'P27', {'concept': 'Q1048835'}], ['Q20088105', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { ?u property:P27 ?t . VALUES ( ?u ) { ( resource:Q20088105 ) ( resource:Q4360269 ) } } . ?t rdf:type ontology:Q1048835 }
Australia Austria
Mike Petersen or Fanny Krausz belong to the Australia and Austria
Australia Austria
action filter_type
action union
action find
entity Mike Petersen
relation country of citizenship
action find
entity Fanny Krausz
relation country of citizenship
type political territorial entity
{'OR': [['Mike Petersen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Fanny Krausz', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?u property:country_of_citizenship ?t . VALUES ( ?u ) { ( resource:Fanny_Krausz ) ( resource:Mike_Petersen ) } } . ?t rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q112877
P27
Q502895
USER
Are Charles K. Bliss a native of those political territories ?
(Q112877,P27,Q408) (Q112877,P27,Q40)
action is_in
entity prev_answer
action find
entity Q112877
relation P27
['Q112877', 'P27', 'Q408'] ['Q112877', 'P27', 'Q40']
ASK WHERE { VALUES ( ?o ) { ( resource:Q408 ) ( resource:Q40 ) } . resource:Q112877 property:P27 ?o }
Charles K. Bliss
action is_in
entity prev_answer
action find
entity Charles K. Bliss
relation country of citizenship
['Charles K. Bliss', 'country of citizenship', 'Australia'] ['Charles K. Bliss', 'country of citizenship', 'Austria']
ASK WHERE { VALUES ( ?o ) { ( resource:Australia ) ( resource:Austria ) } . resource:Charles_K._Bliss property:country_of_citizenship ?o }
[]
common name
SYSTEM
YES
(Q112877,P27,Q408) (Q112877,P27,Q40)
action is_in
entity prev_answer
action find
entity Q112877
relation P27
[ANSWER]
['Q112877', 'P27', 'Q408'] ['Q112877', 'P27', 'Q40']
ASK WHERE { VALUES ( ?o ) { ( resource:Q408 ) ( resource:Q40 ) } . resource:Q112877 property:P27 ?o }
Yes
action is_in
entity prev_answer
action find
entity Charles K. Bliss
relation country of citizenship
['Charles K. Bliss', 'country of citizenship', 'Australia'] ['Charles K. Bliss', 'country of citizenship', 'Austria']
ASK WHERE { VALUES ( ?o ) { ( resource:Australia ) ( resource:Austria ) } . resource:Charles_K._Bliss property:country_of_citizenship ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q408 Q811
P530
Q15617994
USER
Does Nicaragua have diplomatic relationships with Australia ?
(Q408,P530,Q811)
action is_in
entity Q811
action find
entity Q408
relation P530
['Q408', 'P530', 'Q811']
ASK WHERE { resource:Q408 property:P530 resource:Q811 }
Australia Nicaragua
action is_in
entity Nicaragua
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Nicaragua']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Nicaragua }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q408,P530,Q811)
action is_in
entity Q811
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q811']
ASK WHERE { resource:Q408 property:P530 resource:Q811 }
Yes
action is_in
entity Nicaragua
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Nicaragua']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Nicaragua }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q408
P1376
Q56061
USER
Which administrative territory is the capital of that political territory ?
action filter_type
action find_reverse
entity Q408
relation P1376
type Q56061
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . ?t property:P1376 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation capital of
type administrative territorial entity
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?t property:capital_of resource:Australia }
[]
administrative territorial entity
Q3114
SYSTEM
Canberra
Q3114
action filter_type
action find_reverse
entity Q408
relation P1376
type Q56061
[ANSWER] is the capital of that political territory
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . ?t property:P1376 resource:Q408 }
Canberra
Canberra is the capital of that political territory
Canberra
action filter_type
action find_reverse
entity Australia
relation capital of
type administrative territorial entity
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . ?t property:capital_of resource:Australia }
[]