Simple Question (Direct)
Simple Question
Q4683855
P54
Q1194951
USER
Which national sports team is Adnan Adous a member of ?
(Q4683855,P54,c(Q1194951))
action filter_type
action find
entity Q4683855
relation P54
type Q1194951
['Q4683855', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q4683855 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Adnan Adous
action filter_type
action find
entity Adnan Adous
relation member of sports team
type national sports team
['Adnan Adous', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Adnan_Adous property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
national sports team
Q275940
SYSTEM
Jordan national football team
Q275940
(Q4683855,P54,c(Q1194951))
action filter_type
action find
entity Q4683855
relation P54
type Q1194951
The [ANSWER] is Adnan Adous a member of
['Q4683855', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?r WHERE { resource:Q4683855 property:P54 ?r . ?r rdf:type ontology:Q1194951 }
Jordan national football team
The Jordan national football team is Adnan Adous a member of
Jordan national football team
action filter_type
action find
entity Adnan Adous
relation member of sports team
type national sports team
['Adnan Adous', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?r WHERE { resource:Adnan_Adous property:member_of_sports_team ?r . ?r rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4683855
P641
Q349
USER
Which sport was Adnan Adous a part of ?
(Q4683855,P641,c(Q349))
action filter_type
action find
entity Q4683855
relation P641
type Q349
['Q4683855', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q4683855 property:P641 ?n }
Adnan Adous
action filter_type
action find
entity Adnan Adous
relation sport
type sport
['Adnan Adous', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Adnan_Adous property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4683855,P641,c(Q349))
action filter_type
action find
entity Q4683855
relation P641
type Q349
Which sport was Adnan Adous a part of
['Q4683855', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q4683855 property:P641 ?n }
association football
Which sport was Adnan Adous a part of
association football
action filter_type
action find
entity Adnan Adous
relation sport
type sport
['Adnan Adous', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Adnan_Adous property:sport ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q275940
P466
Q1076486
USER
Which sports venues are occupied by Jordan national football team ?
(c(Q1076486),P466,Q275940)
action filter_type
action find_reverse
entity Q275940
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q275940']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1076486 . ?r property:P466 resource:Q275940 }
Jordan national football team
action filter_type
action find_reverse
entity Jordan national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Jordan national football team']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_venue . ?r property:occupant resource:Jordan_national_football_team }
[]
sports venue
Q2730007 Q4120140 Q3269933
SYSTEM
Amman International Stadium, Prince Mohammed Stadium, King Abdullah Stadium
Q2730007 Q4120140 Q3269933
(c(Q1076486),P466,Q275940)
action filter_type
action find_reverse
entity Q275940
relation P466
type Q1076486
[ANSWERS] are occupied by Jordan national football team
[{'concept': 'Q1076486'}, 'P466', 'Q275940']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1076486 . ?r property:P466 resource:Q275940 }
Amman International Stadium Prince Mohammed Stadium King Abdullah Stadium
Amman International Stadium, Prince Mohammed Stadium and King Abdullah Stadium are occupied by Jordan national football team
Amman International Stadium Prince Mohammed Stadium King Abdullah Stadium
action filter_type
action find_reverse
entity Jordan national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Jordan national football team']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_venue . ?r property:occupant resource:Jordan_national_football_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2730007 Q4120140 Q3269933
P466
Q1194951
USER
Who are an occupants of Amman International Stadium, Prince Mohammed Stadium and King Abdullah Stadium ?
(Q2730007,P466,c(Q1194951)) (Q4120140,P466,c(Q1194951)) (Q3269933,P466,c(Q1194951))
action union
action filter_type
action find
entity Q2730007
relation P466
type Q1194951
action filter_type
action find
entity Q4120140
relation P466
type Q1194951
action filter_type
action find
entity Q3269933
relation P466
type Q1194951
['Q2730007', 'P466', {'concept': 'Q1194951'}] ['Q4120140', 'P466', {'concept': 'Q1194951'}] ['Q3269933', 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { { resource:Q2730007 property:P466 ?v . ?v rdf:type ontology:Q1194951 } UNION { resource:Q4120140 property:P466 ?v . ?v rdf:type ontology:Q1194951 } }
Amman International Stadium Prince Mohammed Stadium King Abdullah Stadium
action union
action filter_type
action find
entity Amman International Stadium
relation occupant
type national sports team
action filter_type
action find
entity Prince Mohammed Stadium
relation occupant
type national sports team
action filter_type
action find
entity King Abdullah Stadium
relation occupant
type national sports team
['Amman International Stadium', 'occupant', {'concept': 'national sports team'}] ['Prince Mohammed Stadium', 'occupant', {'concept': 'national sports team'}] ['King Abdullah Stadium', 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { { resource:Amman_International_Stadium property:occupant ?v . ?v rdf:type ontology:national_sports_team } UNION { resource:Prince_Mohammed_Stadium property:occupant ?v . ?v rdf:type ontology:national_sports_team } }
[]
national sports team
Q275940 Q275940 Q275940
SYSTEM
Jordan national football team
Q275940 Q275940 Q275940
(Q2730007,P466,c(Q1194951)) (Q4120140,P466,c(Q1194951)) (Q3269933,P466,c(Q1194951))
action union
action filter_type
action find
entity Q2730007
relation P466
type Q1194951
action filter_type
action find
entity Q4120140
relation P466
type Q1194951
action filter_type
action find
entity Q3269933
relation P466
type Q1194951
An occupants of Amman International Stadium , Prince Mohammed Stadium and King Abdullah Stadium are the [ANSWER], [ANSWER] and [ANSWER]
['Q2730007', 'P466', {'concept': 'Q1194951'}] ['Q4120140', 'P466', {'concept': 'Q1194951'}] ['Q3269933', 'P466', {'concept': 'Q1194951'}]
SELECT DISTINCT ?v WHERE { { resource:Q2730007 property:P466 ?v . ?v rdf:type ontology:Q1194951 } UNION { resource:Q4120140 property:P466 ?v . ?v rdf:type ontology:Q1194951 } }
Jordan national football team Jordan national football team Jordan national football team
An occupants of Amman International Stadium , Prince Mohammed Stadium and King Abdullah Stadium are the Jordan national football team, Jordan national football team and Jordan national football team
Jordan national football team Jordan national football team Jordan national football team
action union
action filter_type
action find
entity Amman International Stadium
relation occupant
type national sports team
action filter_type
action find
entity Prince Mohammed Stadium
relation occupant
type national sports team
action filter_type
action find
entity King Abdullah Stadium
relation occupant
type national sports team
['Amman International Stadium', 'occupant', {'concept': 'national sports team'}] ['Prince Mohammed Stadium', 'occupant', {'concept': 'national sports team'}] ['King Abdullah Stadium', 'occupant', {'concept': 'national sports team'}]
SELECT DISTINCT ?v WHERE { { resource:Amman_International_Stadium property:occupant ?v . ?v rdf:type ontology:national_sports_team } UNION { resource:Prince_Mohammed_Stadium property:occupant ?v . ?v rdf:type ontology:national_sports_team } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2730007
P17
Q15617994
USER
Which administrative territory is Amman International Stadium present in ?
(Q275940,P17,c(Q15617994)) (Q275940,P17,c(Q15617994)) (Q275940,P17,c(Q15617994))
action filter_type
action find
entity Q2730007
relation P17
type Q15617994
['Q275940', 'P17', {'concept': 'Q15617994'}] ['Q275940', 'P17', {'concept': 'Q15617994'}] ['Q275940', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2730007 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Amman International Stadium
action filter_type
action find
entity Amman International Stadium
relation country
type designation for an administrative territorial entity
['Jordan national football team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jordan national football team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jordan national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Amman_International_Stadium property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q810
SYSTEM
Jordan
Q810
(Q275940,P17,c(Q15617994)) (Q275940,P17,c(Q15617994)) (Q275940,P17,c(Q15617994))
action filter_type
action find
entity Q2730007
relation P17
type Q15617994
Amman International Stadium is in [ANSWER]
['Q275940', 'P17', {'concept': 'Q15617994'}] ['Q275940', 'P17', {'concept': 'Q15617994'}] ['Q275940', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2730007 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Jordan
Amman International Stadium is in Jordan
Jordan
action filter_type
action find
entity Amman International Stadium
relation country
type designation for an administrative territorial entity
['Jordan national football team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jordan national football team', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Jordan national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Amman_International_Stadium property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with atmost 91 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?t ) WHERE { ?f property:P530 ?i . ?f rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?t <= 91 ) }
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?t ) WHERE { ?f property:diplomatic_relation ?i . ?f rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?t <= 91 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[ANSWERS] have diplomatic relationships with atmost 91 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?t ) WHERE { ?f property:P530 ?i . ?f rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?f } . FILTER ( ?t <= 91 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relationships with atmost 91 administrative territories
Denmark Canada Austria
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?i ) AS ?t ) WHERE { ?f property:diplomatic_relation ?i . ?f rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . FILTER ( ?t <= 91 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q408
P530
Q1048835 Q1048835
USER
Which political territories are known to have diplomatic connections with less number of political territories than Australia ?
(c(Q1048835),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?j ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q408 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?e ) }
Australia
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?j ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Australia property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?e ) }
[]
political territorial entity political territorial entity
Q183 Q35 Q16
SYSTEM
Germany, Denmark, Canada
Q1000 Q40 Q781 Q778 Q183 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action less
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q408
relation P530
type Q1048835
[ANSWERS] are known to have diplomatic connections with less number of political territories than Australia
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?j ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q408 property:P530 ?u . ?u rdf:type ontology:Q1048835 } } . FILTER ( ?j < ?e ) }
Gabon Austria Antigua and Barbuda The Bahamas Germany Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Germany, Denmark and Canada are known to have diplomatic connections with less number of political territories than Australia
Germany Denmark Canada
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?j ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Australia property:diplomatic_relation ?u . ?u rdf:type ontology:political_territorial_entity } } . FILTER ( ?j < ?e ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1001
Q14660 Q2712963
USER
How many flags and abstract nouns have jurisdiction over that political territory ?
(c(Q14660),P1001,Q35) (c(Q2712963),P1001,Q35) (c(Q14660),P1001,Q183) (c(Q2712963),P1001,Q183) (c(Q14660),P1001,Q35) (c(Q2712963),P1001,Q35) (c(Q14660),P1001,Q16) (c(Q2712963),P1001,Q16)
[{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q2712963'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q183'] [{'concept': 'Q2712963'}, 'P1001', 'Q183'] [{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q2712963'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q16'] [{'concept': 'Q2712963'}, 'P1001', 'Q16']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q22286761 } UNION { ?y property:P1001 resource:Q22286761 } UNION { ?z property:P1001 resource:Q423030 } UNION { ?y property:P1001 resource:Q423030 } UNION { ?z property:P1001 resource:Q22286761 } UNION { ?y property:P1001 resource:Q22286761 } UNION { ?z property:P1001 resource:Q1031917 } UNION { ?y property:P1001 resource:Q1031917 } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q2712963 }
[{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Canada']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:Denmark } UNION { ?y property:applies_to_jurisdiction resource:Denmark } UNION { ?z property:applies_to_jurisdiction resource:Germany } UNION { ?y property:applies_to_jurisdiction resource:Germany } UNION { ?z property:applies_to_jurisdiction resource:Denmark } UNION { ?y property:applies_to_jurisdiction resource:Denmark } UNION { ?z property:applies_to_jurisdiction resource:Canada } UNION { ?y property:applies_to_jurisdiction resource:Canada } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:abstract_noun }
[]
flag abstract noun
Quantitative|Count|Mult. entity type|Clarification
Q183
SYSTEM
Did you mean Germany ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q22286761 } UNION { ?y property:P1001 resource:Q22286761 } UNION { ?z property:P1001 resource:Q423030 } UNION { ?y property:P1001 resource:Q423030 } UNION { ?z property:P1001 resource:Q22286761 } UNION { ?y property:P1001 resource:Q22286761 } UNION { ?z property:P1001 resource:Q1031917 } UNION { ?y property:P1001 resource:Q1031917 } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q2712963 }
Did you mean Germany ?
Germany
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:Denmark } UNION { ?y property:applies_to_jurisdiction resource:Denmark } UNION { ?z property:applies_to_jurisdiction resource:Germany } UNION { ?y property:applies_to_jurisdiction resource:Germany } UNION { ?z property:applies_to_jurisdiction resource:Denmark } UNION { ?y property:applies_to_jurisdiction resource:Denmark } UNION { ?z property:applies_to_jurisdiction resource:Canada } UNION { ?y property:applies_to_jurisdiction resource:Canada } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:abstract_noun }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Denmark. Could you tell me the answer for that?
(c(Q14660),P1001,Q35) (c(Q2712963),P1001,Q35) (c(Q14660),P1001,Q183) (c(Q2712963),P1001,Q183) (c(Q14660),P1001,Q35) (c(Q2712963),P1001,Q35) (c(Q14660),P1001,Q16) (c(Q2712963),P1001,Q16)
Q35
[{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q2712963'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q183'] [{'concept': 'Q2712963'}, 'P1001', 'Q183'] [{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q2712963'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q16'] [{'concept': 'Q2712963'}, 'P1001', 'Q16']
[{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Canada']
[]
SYSTEM
1 flags and 2 abstract nouns
Q2624520 Q15649047 Q60149
(c(Q14660),P1001,Q35) (c(Q2712963),P1001,Q35) (c(Q14660),P1001,Q183) (c(Q2712963),P1001,Q183) (c(Q14660),P1001,Q35) (c(Q2712963),P1001,Q35) (c(Q14660),P1001,Q16) (c(Q2712963),P1001,Q16)
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q2712963'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q183'] [{'concept': 'Q2712963'}, 'P1001', 'Q183'] [{'concept': 'Q14660'}, 'P1001', 'Q35'] [{'concept': 'Q2712963'}, 'P1001', 'Q35'] [{'concept': 'Q14660'}, 'P1001', 'Q16'] [{'concept': 'Q2712963'}, 'P1001', 'Q16']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q22286761 } UNION { ?y property:P1001 resource:Q22286761 } UNION { ?z property:P1001 resource:Q423030 } UNION { ?y property:P1001 resource:Q423030 } UNION { ?z property:P1001 resource:Q22286761 } UNION { ?y property:P1001 resource:Q22286761 } UNION { ?z property:P1001 resource:Q1031917 } UNION { ?y property:P1001 resource:Q1031917 } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q2712963 }
Aktieselskab Anpartsselskab Flag of Denmark
1 flags and 2 abstract nouns
[{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Denmark'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Canada'] [{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Canada']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:Denmark } UNION { ?y property:applies_to_jurisdiction resource:Denmark } UNION { ?z property:applies_to_jurisdiction resource:Germany } UNION { ?y property:applies_to_jurisdiction resource:Germany } UNION { ?z property:applies_to_jurisdiction resource:Denmark } UNION { ?y property:applies_to_jurisdiction resource:Denmark } UNION { ?z property:applies_to_jurisdiction resource:Canada } UNION { ?y property:applies_to_jurisdiction resource:Canada } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:abstract_noun }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q810
P138
Q355304
USER
Which watercourse is the etymology of Jordan ?
(Q810,P138,c(Q355304))
action filter_type
action find
entity Q810
relation P138
type Q355304
['Q810', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q810 property:P138 ?q . ?q rdf:type ontology:Q355304 }
Jordan
action filter_type
action find
entity Jordan
relation named after
type watercourse
['Jordan', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Jordan property:named_after ?q . ?q rdf:type ontology:watercourse }
[]
watercourse
Q40059
SYSTEM
Jordan River
Q40059
(Q810,P138,c(Q355304))
action filter_type
action find
entity Q810
relation P138
type Q355304
The etymology of Jordan is the [ANSWER]
['Q810', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?q WHERE { resource:Q810 property:P138 ?q . ?q rdf:type ontology:Q355304 }
Jordan River
The etymology of Jordan is the Jordan River
Jordan River
action filter_type
action find
entity Jordan
relation named after
type watercourse
['Jordan', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?q WHERE { resource:Jordan property:named_after ?q . ?q rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2500574
Q355304
USER
And how about Urft Dam?
(Q2500574,P138,c(Q355304))
action filter_type
action find
entity Q2500574
relation P138
type Q355304
['Q2500574', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q2500574 property:P138 ?a . ?a rdf:type ontology:Q355304 }
Urft Dam
action filter_type
action find
entity Urft Dam
relation named after
type watercourse
['Urft Dam', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Urft_Dam property:named_after ?a . ?a rdf:type ontology:watercourse }
[]
watercourse
Q6236
SYSTEM
Urft
Q6236
(Q2500574,P138,c(Q355304))
action filter_type
action find
entity Q2500574
relation P138
type Q355304
[ANSWER]
['Q2500574', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ?a WHERE { resource:Q2500574 property:P138 ?a . ?a rdf:type ontology:Q355304 }
Urft
Urft
action filter_type
action find
entity Urft Dam
relation named after
type watercourse
['Urft Dam', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ?a WHERE { resource:Urft_Dam property:named_after ?a . ?a rdf:type ontology:watercourse }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q26196531
P3173
Q355304 Q811979
USER
Which architectural structures have views of less number of watercourses than Washburn Point ?
(c(Q811979),P3173,c(Q355304))
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q26196531
relation P3173
type Q355304
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q26196531 property:P3173 ?o . ?o rdf:type ontology:Q355304 } } . FILTER ( ?j < ?n ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { ?c property:P3173 ?i . ?c rdf:type ontology:Q811979 . ?i rdf:type ontology:Q355304 } GROUP BY ?c } }
Washburn Point
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Washburn Point
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Washburn_Point property:offers_view_on ?o . ?o rdf:type ontology:watercourse } } . FILTER ( ?j < ?n ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { ?c property:offers_view_on ?i . ?c rdf:type ontology:architectural_structure . ?i rdf:type ontology:watercourse } GROUP BY ?c } }
[]
watercourse architectural structure
Q7088437 Q3367142 Q2433474
SYSTEM
Olmsted Point, Pas de Bellecombe, Tunnel View
Q3367142 Q2470303 Q3108318 Q7088437 Q27267334 Q1144172 Q7675044 Q27181543 Q2433474
(c(Q811979),P3173,c(Q355304))
action less
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q26196531
relation P3173
type Q355304
Views [ANSWERS] have views of less number of watercourses than Washburn Point
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q26196531 property:P3173 ?o . ?o rdf:type ontology:Q355304 } } . FILTER ( ?j < ?n ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { ?c property:P3173 ?i . ?c rdf:type ontology:Q811979 . ?i rdf:type ontology:Q355304 } GROUP BY ?c } }
Pas de Bellecombe Echo Point Glacier Point Olmsted Point Dewey Point Dante's View Taft Point Father Crowley Vista Point Tunnel View
Views Olmsted Point, Pas de Bellecombe and Tunnel View have views of less number of watercourses than Washburn Point
Olmsted Point Pas de Bellecombe Tunnel View
action less
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Washburn Point
relation offers view on
type watercourse
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Washburn_Point property:offers_view_on ?o . ?o rdf:type ontology:watercourse } } . FILTER ( ?j < ?n ) . { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?j ) WHERE { ?c property:offers_view_on ?i . ?c rdf:type ontology:architectural_structure . ?i rdf:type ontology:watercourse } GROUP BY ?c } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4562560 Q275940
P641
Q349
USER
Which sports did Jordan national football team or 1929–30 Real Madrid C.F. season participate in ?
OR((Q275940,P641,c(Q349)), (Q4562560,P641,c(Q349)))
action filter_type
action union
action find
entity Q275940
relation P641
action find
entity Q4562560
relation P641
type Q349
{'OR': [['Q275940', 'P641', {'concept': 'Q349'}], ['Q4562560', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q275940 property:P641 ?m } UNION { resource:Q4562560 property:P641 ?m } } . ?m rdf:type ontology:Q349 }
1929–30 Real Madrid C.F. season Jordan national football team
action filter_type
action union
action find
entity Jordan national football team
relation sport
action find
entity 1929–30 Real Madrid C.F. season
relation sport
type sport
{'OR': [['Jordan national football team', 'sport', {'concept': 'sport'}], ['1929–30 Real Madrid C.F. season', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Jordan_national_football_team property:sport ?m } UNION { resource:1929–30_Real_Madrid_C.F._season property:sport ?m } } . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q275940,P641,c(Q349)), (Q4562560,P641,c(Q349)))
action filter_type
action union
action find
entity Q275940
relation P641
action find
entity Q4562560
relation P641
type Q349
[ANSWER] Jordan national football team or 1929–30 Real Madrid C.F. season participated in
{'OR': [['Q275940', 'P641', {'concept': 'Q349'}], ['Q4562560', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q275940 property:P641 ?m } UNION { resource:Q4562560 property:P641 ?m } } . ?m rdf:type ontology:Q349 }
association football
Association football Jordan national football team or 1929–30 Real Madrid C.F. season participated in
association football
action filter_type
action union
action find
entity Jordan national football team
relation sport
action find
entity 1929–30 Real Madrid C.F. season
relation sport
type sport
{'OR': [['Jordan national football team', 'sport', {'concept': 'sport'}], ['1929–30 Real Madrid C.F. season', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Jordan_national_football_team property:sport ?m } UNION { resource:1929–30_Real_Madrid_C.F._season property:sport ?m } } . ?m rdf:type ontology:sport }
[]