Simple Question (Direct)
Simple Question
Q925302
P54
Q1194951
USER
What is Craig Foster a member of ?
(Q925302,P54,c(Q1194951))
action filter_type
action find
entity Q925302
relation P54
type Q1194951
['Q925302', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q925302 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Craig Foster
action filter_type
action find
entity Craig Foster
relation member of sports team
type national sports team
['Craig Foster', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Craig_Foster property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
national sports team
Q268208
SYSTEM
Australia national association football team
Q268208
(Q925302,P54,c(Q1194951))
action filter_type
action find
entity Q925302
relation P54
type Q1194951
Craig Foster a member of is of [ANSWER]
['Q925302', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?q WHERE { resource:Q925302 property:P54 ?q . ?q rdf:type ontology:Q1194951 }
Australia national association football team
Craig Foster a member of is of Australia national association football team
Australia national association football team
action filter_type
action find
entity Craig Foster
relation member of sports team
type national sports team
['Craig Foster', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?q WHERE { resource:Craig_Foster property:member_of_sports_team ?q . ?q rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q925302
P641
Q349
USER
Which sport was Craig Foster a part of ?
(Q925302,P641,c(Q349))
action filter_type
action find
entity Q925302
relation P641
type Q349
['Q925302', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q925302 property:P641 ?z }
Craig Foster
action filter_type
action find
entity Craig Foster
relation sport
type sport
['Craig Foster', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Craig_Foster property:sport ?z }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q925302,P641,c(Q349))
action filter_type
action find
entity Q925302
relation P641
type Q349
Craig Foster was in [ANSWER]
['Q925302', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q925302 property:P641 ?z }
association football
Craig Foster was in association football
association football
action filter_type
action find
entity Craig Foster
relation sport
type sport
['Craig Foster', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Craig_Foster property:sport ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q925302
P734
Q82799
USER
Which name is associated with that person ?
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q925302
relation P734
type Q82799
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q925302 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Craig Foster
action filter_type
action find
entity Craig Foster
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Craig_Foster property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q21501722
SYSTEM
Foster
Q21501722
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q925302
relation P734
type Q82799
[ANSWER] is associated with that person
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q925302 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Foster
Foster is associated with that person
Foster
action filter_type
action find
entity Craig Foster
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Craig_Foster property:family_name ?c . ?c rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q21501722 Q3832927 Q1860
P407
Q34770
USER
Was that name done in Cisalpine Gaulish and English language ?
(Q21501722,P407,Q3832927) (Q21501722,P407,Q1860)
action is_in
entity Q21501722
action intersection
action find_reverse
entity Q3832927
relation P407
action find_reverse
entity Q1860
relation P407
['Q21501722', 'P407', 'Q3832927'] ['Q21501722', 'P407', 'Q1860']
ASK WHERE { resource:Q21501722 property:P407 resource:Q3832927 . resource:Q21501722 property:P407 resource:Q1860 }
Foster Cisalpine Gaulish English
action is_in
entity Foster
action intersection
action find_reverse
entity Cisalpine Gaulish
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Foster', 'language of work or name', 'Cisalpine Gaulish'] ['Foster', 'language of work or name', 'English']
ASK WHERE { resource:Foster property:language_of_work_or_name resource:Cisalpine_Gaulish . resource:Foster property:language_of_work_or_name resource:English }
[]
language
SYSTEM
NO and YES respectively
(Q21501722,P407,Q3832927) (Q21501722,P407,Q1860)
action is_in
entity Q21501722
action intersection
action find_reverse
entity Q3832927
relation P407
action find_reverse
entity Q1860
relation P407
[ANSWER]
['Q21501722', 'P407', 'Q3832927'] ['Q21501722', 'P407', 'Q1860']
ASK WHERE { resource:Q21501722 property:P407 resource:Q3832927 . resource:Q21501722 property:P407 resource:Q1860 }
NO and YES respectively
action is_in
entity Foster
action intersection
action find_reverse
entity Cisalpine Gaulish
relation language of work or name
action find_reverse
entity English
relation language of work or name
['Foster', 'language of work or name', 'Cisalpine Gaulish'] ['Foster', 'language of work or name', 'English']
ASK WHERE { resource:Foster property:language_of_work_or_name resource:Cisalpine_Gaulish . resource:Foster property:language_of_work_or_name resource:English }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q268208 Q408 Q4325861
P17
Q1048835
USER
Is Australia national association football team located in Australia and Novoselivka ?
(Q268208,P17,Q408) (Q268208,P17,Q4325861)
action is_in
entity Q268208
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q4325861
relation P17
['Q268208', 'P17', 'Q408'] ['Q268208', 'P17', 'Q4325861']
ASK WHERE { resource:Q268208 property:P17 resource:Q408 . resource:Q268208 property:P17 resource:Q4325861 }
Australia national association football team Australia Novoselivka
action is_in
entity Australia national association football team
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity Novoselivka
relation country
['Australia national association football team', 'country', 'Australia'] ['Australia national association football team', 'country', 'Novoselivka']
ASK WHERE { resource:Australia_national_association_football_team property:country resource:Australia . resource:Australia_national_association_football_team property:country resource:Novoselivka }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q268208,P17,Q408) (Q268208,P17,Q4325861)
action is_in
entity Q268208
action intersection
action find_reverse
entity Q408
relation P17
action find_reverse
entity Q4325861
relation P17
[ANSWER]
['Q268208', 'P17', 'Q408'] ['Q268208', 'P17', 'Q4325861']
ASK WHERE { resource:Q268208 property:P17 resource:Q408 . resource:Q268208 property:P17 resource:Q4325861 }
YES and NO respectively
action is_in
entity Australia national association football team
action intersection
action find_reverse
entity Australia
relation country
action find_reverse
entity Novoselivka
relation country
['Australia national association football team', 'country', 'Australia'] ['Australia national association football team', 'country', 'Novoselivka']
ASK WHERE { resource:Australia_national_association_football_team property:country resource:Australia . resource:Australia_national_association_football_team property:country resource:Novoselivka }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q268208
P1344
Q15275719
USER
How many recurring events did Australia national association football team participate in ?
(Q268208,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q268208
relation P1344
type Q15275719
['Q268208', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q268208 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
Australia national association football team
action count
action filter_type
action find
entity Australia national association football team
relation participant of
type recurring event
['Australia national association football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Australia_national_association_football_team property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
recurring event
SYSTEM
4
Q176883 Q166121 Q37285 Q79859
(Q268208,P1344,c(Q15275719))
action count
action filter_type
action find
entity Q268208
relation P1344
type Q15275719
[ANSWER]
['Q268208', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q268208 property:P1344 ?w . ?w rdf:type ontology:Q15275719 }
2010 FIFA World Cup 1974 FIFA World Cup 2006 FIFA World Cup 2014 FIFA World Cup
4
action count
action filter_type
action find
entity Australia national association football team
relation participant of
type recurring event
['Australia national association football team', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Australia_national_association_football_team property:participant_of ?w . ?w rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q268208
P710
Q500834
USER
What event did Australia national association football team particiate in ?
(c(Q500834),P710,Q268208)
action filter_type
action find_reverse
entity Q268208
relation P710
type Q500834
[{'concept': 'Q500834'}, 'P710', 'Q268208']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q268208 . ?q rdf:type ontology:Q500834 }
Australia national association football team
action filter_type
action find_reverse
entity Australia national association football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Australia national association football team']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Australia_national_association_football_team . ?q rdf:type ontology:tournament }
[]
tournament
Q10260332
SYSTEM
2014 FIFA World Cup Group B
Q10260332
(c(Q500834),P710,Q268208)
action filter_type
action find_reverse
entity Q268208
relation P710
type Q500834
Australia national association football team particiated in [ANSWER]
[{'concept': 'Q500834'}, 'P710', 'Q268208']
SELECT DISTINCT ?q WHERE { ?q property:P710 resource:Q268208 . ?q rdf:type ontology:Q500834 }
2014 FIFA World Cup Group B
Australia national association football team particiated in 2014 FIFA World Cup Group B
2014 FIFA World Cup Group B
action filter_type
action find_reverse
entity Australia national association football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Australia national association football team']
SELECT DISTINCT ?q WHERE { ?q property:participant resource:Australia_national_association_football_team . ?q rdf:type ontology:tournament }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q268208
P1532
Q1048835
USER
Which political territory does that national sports team play for ?
(Q10260332,P1532,c(Q1048835))
action filter_type
action find
entity Q268208
relation P1532
type Q1048835
['Q10260332', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q268208 property:P1532 ?q . ?q rdf:type ontology:Q1048835 }
Australia national association football team
action filter_type
action find
entity Australia national association football team
relation country for sport
type political territorial entity
['2014 FIFA World Cup Group B', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Australia_national_association_football_team property:country_for_sport ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q10260332,P1532,c(Q1048835))
action filter_type
action find
entity Q268208
relation P1532
type Q1048835
That national sports team plays in [ANSWER]
['Q10260332', 'P1532', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q268208 property:P1532 ?q . ?q rdf:type ontology:Q1048835 }
Australia
That national sports team plays in Australia
Australia
action filter_type
action find
entity Australia national association football team
relation country for sport
type political territorial entity
['2014 FIFA World Cup Group B', 'country for sport', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Australia_national_association_football_team property:country_for_sport ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q268208
P1344
Q500834
USER
Which tournament did that national sports team take part in ?
(Q408,P1344,c(Q500834))
action filter_type
action find
entity Q268208
relation P1344
type Q500834
['Q408', 'P1344', {'concept': 'Q500834'}]
SELECT DISTINCT ?j WHERE { resource:Q268208 property:P1344 ?j . ?j rdf:type ontology:Q500834 }
Australia national association football team
action filter_type
action find
entity Australia national association football team
relation participant of
type tournament
['Australia', 'participant of', {'concept': 'tournament'}]
SELECT DISTINCT ?j WHERE { resource:Australia_national_association_football_team property:participant_of ?j . ?j rdf:type ontology:tournament }
[]
tournament
Q10260332
SYSTEM
2014 FIFA World Cup Group B
Q10260332
(Q408,P1344,c(Q500834))
action filter_type
action find
entity Q268208
relation P1344
type Q500834
[ANSWER] that national sports team took in part
['Q408', 'P1344', {'concept': 'Q500834'}]
SELECT DISTINCT ?j WHERE { resource:Q268208 property:P1344 ?j . ?j rdf:type ontology:Q500834 }
2014 FIFA World Cup Group B
2014 FIFA World Cup Group B that national sports team took in part
2014 FIFA World Cup Group B
action filter_type
action find
entity Australia national association football team
relation participant of
type tournament
['Australia', 'participant of', {'concept': 'tournament'}]
SELECT DISTINCT ?j WHERE { resource:Australia_national_association_football_team property:participant_of ?j . ?j rdf:type ontology:tournament }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q1787800
P463
Q874405
USER
How many social groups were Australia or Kreissparkasse Ostalb a member of ?
(Q408,P463,c(Q874405)) (Q1787800,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q408
relation P463
type Q874405
action filter_type
action find
entity Q1787800
relation P463
type Q874405
['Q408', 'P463', {'concept': 'Q874405'}] ['Q1787800', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { resource:Q408 property:P463 ?d . ?d rdf:type ontology:Q874405 } UNION { resource:Q1787800 property:P463 ?d . ?d rdf:type ontology:Q874405 } }
Australia Kreissparkasse Ostalb
action count
action union
action filter_type
action find
entity Australia
relation member of
type social group
action filter_type
action find
entity Kreissparkasse Ostalb
relation member of
type social group
['Australia', 'member of', {'concept': 'social group'}] ['Kreissparkasse Ostalb', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { resource:Australia property:member_of ?d . ?d rdf:type ontology:social_group } UNION { resource:Kreissparkasse_Ostalb property:member_of ?d . ?d rdf:type ontology:social_group } }
[]
social group
SYSTEM
2
Q782942 Q295875
(Q408,P463,c(Q874405)) (Q1787800,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q408
relation P463
type Q874405
action filter_type
action find
entity Q1787800
relation P463
type Q874405
[ANSWER]
['Q408', 'P463', {'concept': 'Q874405'}] ['Q1787800', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { resource:Q408 property:P463 ?d . ?d rdf:type ontology:Q874405 } UNION { resource:Q1787800 property:P463 ?d . ?d rdf:type ontology:Q874405 } }
Australia Group ANZUS
2
action count
action union
action filter_type
action find
entity Australia
relation member of
type social group
action filter_type
action find
entity Kreissparkasse Ostalb
relation member of
type social group
['Australia', 'member of', {'concept': 'social group'}] ['Kreissparkasse Ostalb', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { resource:Australia property:member_of ?d . ?d rdf:type ontology:social_group } UNION { resource:Kreissparkasse_Ostalb property:member_of ?d . ?d rdf:type ontology:social_group } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q623327 Q268208
P17
Q1048835
USER
Which political territories are Australia national association football team or North Abaco located in ?
OR((Q268208,P17,c(Q1048835)), (Q623327,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q268208
relation P17
action find
entity Q623327
relation P17
type Q1048835
{'OR': [['Q268208', 'P17', {'concept': 'Q1048835'}], ['Q623327', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?l property:P17 ?d . VALUES ( ?l ) { ( resource:Q623327 ) ( resource:Q268208 ) } } . ?d rdf:type ontology:Q1048835 }
North Abaco Australia national association football team
action filter_type
action union
action find
entity Australia national association football team
relation country
action find
entity North Abaco
relation country
type political territorial entity
{'OR': [['Australia national association football team', 'country', {'concept': 'political territorial entity'}], ['North Abaco', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?l property:country ?d . VALUES ( ?l ) { ( resource:North_Abaco ) ( resource:Australia_national_association_football_team ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q778
SYSTEM
Australia, The Bahamas
Q408 Q778
OR((Q268208,P17,c(Q1048835)), (Q623327,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q268208
relation P17
action find
entity Q623327
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q268208', 'P17', {'concept': 'Q1048835'}], ['Q623327', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?l property:P17 ?d . VALUES ( ?l ) { ( resource:Q623327 ) ( resource:Q268208 ) } } . ?d rdf:type ontology:Q1048835 }
Australia The Bahamas
Which political territories are Australia national association football team or North Abaco located in
Australia The Bahamas
action filter_type
action union
action find
entity Australia national association football team
relation country
action find
entity North Abaco
relation country
type political territorial entity
{'OR': [['Australia national association football team', 'country', {'concept': 'political territorial entity'}], ['North Abaco', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?l property:country ?d . VALUES ( ?l ) { ( resource:North_Abaco ) ( resource:Australia_national_association_football_team ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15622908
P137
Q2424752
USER
Does King Air 350 can be described as service operator of those political territories ?
(Q15622908,P137,Q408) (Q15622908,P137,Q778)
action is_in
entity prev_answer
action find
entity Q15622908
relation P137
['Q15622908', 'P137', 'Q408'] ['Q15622908', 'P137', 'Q778']
ASK WHERE { VALUES ( ?n ) { ( resource:Q408 ) ( resource:Q778 ) } . resource:Q15622908 property:P137 ?n }
King Air 350
action is_in
entity prev_answer
action find
entity King Air 350
relation operator
['King Air 350', 'operator', 'Australia'] ['King Air 350', 'operator', 'The Bahamas']
ASK WHERE { VALUES ( ?n ) { ( resource:Australia ) ( resource:The_Bahamas ) } . resource:King_Air_350 property:operator ?n }
[]
product
SYSTEM
YES
(Q15622908,P137,Q408) (Q15622908,P137,Q778)
action is_in
entity prev_answer
action find
entity Q15622908
relation P137
[ANSWER]
['Q15622908', 'P137', 'Q408'] ['Q15622908', 'P137', 'Q778']
ASK WHERE { VALUES ( ?n ) { ( resource:Q408 ) ( resource:Q778 ) } . resource:Q15622908 property:P137 ?n }
Yes
action is_in
entity prev_answer
action find
entity King Air 350
relation operator
['King Air 350', 'operator', 'Australia'] ['King Air 350', 'operator', 'The Bahamas']
ASK WHERE { VALUES ( ?n ) { ( resource:Australia ) ( resource:The_Bahamas ) } . resource:King_Air_350 property:operator ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3899
P17
Q1048835 Q3914 Q83620
USER
How many political territories are around the same number of schools and thoroughfares located in as Kalimantan Timur ?
(c(Q3914)|c(Q83620),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q3899
relation P17
type Q3914
type Q83620
[[{'concept': 'Q3914'}, {'concept': 'Q83620'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q83620 ) ( ontology:Q3914 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P17 resource:Q3899 . { VALUES ( ?b ) { ( ontology:Q83620 ) ( ontology:Q3914 ) } . ?t rdf:type ?b } } } . FILTER ( ?h = ?s ) }
Kalimantan Timur
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Kalimantan Timur
relation country
type school
type thoroughfare
[[{'concept': 'school'}, {'concept': 'thoroughfare'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:thoroughfare ) ( ontology:school ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:country resource:Kalimantan_Timur . { VALUES ( ?b ) { ( ontology:thoroughfare ) ( ontology:school ) } . ?t rdf:type ?b } } } . FILTER ( ?h = ?s ) }
[]
political territorial entity school thoroughfare
SYSTEM
59
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q3914)|c(Q83620),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q3899
relation P17
type Q3914
type Q83620
[ANSWER]
[[{'concept': 'Q3914'}, {'concept': 'Q83620'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:Q83620 ) ( ontology:Q3914 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:P17 resource:Q3899 . { VALUES ( ?b ) { ( ontology:Q83620 ) ( ontology:Q3914 ) } . ?t rdf:type ?b } } } . FILTER ( ?h = ?s ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
59
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Kalimantan Timur
relation country
type school
type thoroughfare
[[{'concept': 'school'}, {'concept': 'thoroughfare'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?x WHERE { ?e rdf:type ?v . VALUES ( ?v ) { ( ontology:thoroughfare ) ( ontology:school ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { ?t property:country resource:Kalimantan_Timur . { VALUES ( ?b ) { ( ontology:thoroughfare ) ( ontology:school ) } . ?t rdf:type ?b } } } . FILTER ( ?h = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q781
P17
Q1048835 Q3914 Q83620
USER
And what about Antigua and Barbuda?
(c(Q3914)|c(Q83620),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q781
relation P17
type Q3914
type Q83620
[[{'concept': 'Q3914'}, {'concept': 'Q83620'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?f WHERE { VALUES ( ?q ) { ( ontology:Q3914 ) ( ontology:Q83620 ) } . ?w rdf:type ?q } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P17 resource:Q781 . { { ?i rdf:type ontology:Q3914 } UNION { ?i rdf:type ontology:Q83620 } } } } . FILTER ( ?r = ?g ) }
Antigua and Barbuda
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Antigua and Barbuda
relation country
type school
type thoroughfare
[[{'concept': 'school'}, {'concept': 'thoroughfare'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?f WHERE { VALUES ( ?q ) { ( ontology:school ) ( ontology:thoroughfare ) } . ?w rdf:type ?q } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:country resource:Antigua_and_Barbuda . { { ?i rdf:type ontology:school } UNION { ?i rdf:type ontology:thoroughfare } } } } . FILTER ( ?r = ?g ) }
[]
political territorial entity school thoroughfare
SYSTEM
59
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q3914)|c(Q83620),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q3914
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q781
relation P17
type Q3914
type Q83620
[ANSWER]
[[{'concept': 'Q3914'}, {'concept': 'Q83620'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?f WHERE { VALUES ( ?q ) { ( ontology:Q3914 ) ( ontology:Q83620 ) } . ?w rdf:type ?q } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P17 resource:Q781 . { { ?i rdf:type ontology:Q3914 } UNION { ?i rdf:type ontology:Q83620 } } } } . FILTER ( ?r = ?g ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
59
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type school
action find_reverse_tuple_counts
relation country
type political territorial entity
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity Antigua and Barbuda
relation country
type school
type thoroughfare
[[{'concept': 'school'}, {'concept': 'thoroughfare'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) ?f WHERE { VALUES ( ?q ) { ( ontology:school ) ( ontology:thoroughfare ) } . ?w rdf:type ?q } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:country resource:Antigua_and_Barbuda . { { ?i rdf:type ontology:school } UNION { ?i rdf:type ontology:thoroughfare } } } } . FILTER ( ?r = ?g ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q21501722
P734 P21
Q502895
USER
Which people have Foster as their family name and are a male ?
AND((c(Q502895),P734,Q21501722), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21501722
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21501722'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P734 resource:Q21501722 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male Foster
action filter_type
action intersection
action find_reverse
entity Foster
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Foster'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:family_name resource:Foster . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q305202 Q3644222 Q1341043 Q2903389 Q21010523 Q27063084 Q448013 Q16233148 Q782549 Q3973177
SYSTEM
Some of them are Stephen Foster, Bren Foster, Al Foster, Bill Foster, William B. Foster, Joseph William Foster, Greg Foster, Glenn Foster, John G. Foster, Stephen Foster
Q305202 Q21010523 Q925302 Q8009248 Q8009249 Q8009246 Q887932 Q8009244 Q3783432 Q8009242 Q8009243 Q16233148 Q719676 Q180301 Q546199 Q8007462 Q983156 Q1033331 Q6244646 Q21198572 Q3752620 Q782549 Q77112 Q3959097 Q3806562 Q1507086 Q18508730 Q4909024 Q1804023 Q2355201 Q551596 Q8009247 Q1570107 Q3807400 Q717295 Q8009251 Q8009250 Q448013 Q8009245 Q10585 Q3850831 Q1341043 Q548382 Q19664235 Q703642 Q3973177 Q311804 Q291002 Q2903389 Q27063084 Q7803521 Q26197469 Q25997662 Q2005676 Q375086 Q2571956 Q887927 Q3498548 Q3544179 Q923700 Q2736164 Q1218992 Q286940 Q1365806 Q981418 Q1738050 Q6233736 Q1822152 Q5944327 Q8006303 Q1382452 Q23750145 Q104898 Q575345 Q3644222 Q6830382
AND((c(Q502895),P734,Q21501722), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21501722
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Foster as their family name and are a male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q21501722'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P734 resource:Q21501722 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Stephen Foster William B. Foster Craig Foster William Foster William Foster William Foster Bob Foster William Foster Harold E. Foster William Foster William Foster Glenn Foster Hal Foster Arian Foster James Foster William D. Foster Mark Foster Je'Kel Foster John Leslie Foster Morrison Foster Fred Foster John G. Foster David Foster Shan Foster Jimmy Foster Carey Foster William Foster Bill Foster William Foster Greg Foster Jon Foster William Foster Hal Foster Jason Foster Scott Michael Foster William Foster William Foster Greg Foster William Foster Ben Foster Mason Foster Al Foster Rod Foster J. Heron Foster John W. Foster Stephen Foster Ben Foster Barry Foster Bill Foster Joseph William Foster Tim Foster David Carey Foster William Foster Pops Foster Richard Foster Jeff Foster Bob Foster Stephen Foster Rube Foster Steve Foster Blake Foster Reginald Foster Brendan Foster Henry Foster Preston Foster Myles Birket Foster John Foster Lewis R. Foster Hunter Foster William C. Foster William Zebulon Foster Kevin Foster Norman Foster Alan Dean Foster Bren Foster Michael Foster
Stephen Foster, Bren Foster, Al Foster, Bill Foster, William B. Foster, Joseph William Foster, Greg Foster, Glenn Foster, John G. Foster and Stephen Foster have Foster as their family name and are a male
Stephen Foster Bren Foster Al Foster Bill Foster William B. Foster Joseph William Foster Greg Foster Glenn Foster John G. Foster Stephen Foster
action filter_type
action intersection
action find_reverse
entity Foster
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Foster'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:family_name resource:Foster . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]