Simple Question (Direct)
Simple Question
Q5644446
P641
Q349
USER
What was the sport that Hamed Noormohammadi was a part of ?
(Q5644446,P641,c(Q349))
action filter_type
action find
entity Q5644446
relation P641
type Q349
['Q5644446', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q5644446 property:P641 ?l . ?l rdf:type ontology:Q349 }
Hamed Noormohammadi
action filter_type
action find
entity Hamed Noormohammadi
relation sport
type sport
['Hamed Noormohammadi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Hamed_Noormohammadi property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5644446,P641,c(Q349))
action filter_type
action find
entity Q5644446
relation P641
type Q349
The sport that Hamed Noormohammadi was a part of was h [ANSWER]
['Q5644446', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q5644446 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
The sport that Hamed Noormohammadi was a part of was h association football
association football
action filter_type
action find
entity Hamed Noormohammadi
relation sport
type sport
['Hamed Noormohammadi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Hamed_Noormohammadi property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5644446
P19
Q15617994
USER
Which administrative territory was that person born in ?
(Q2736,P19,c(Q15617994))
action filter_type
action find
entity Q5644446
relation P19
type Q15617994
['Q2736', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q5644446 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Hamed Noormohammadi
action filter_type
action find
entity Hamed Noormohammadi
relation place of birth
type designation for an administrative territorial entity
['association football', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hamed_Noormohammadi property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q2736,P19,c(Q15617994))
action filter_type
action find
entity Q5644446
relation P19
type Q15617994
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q5644446 property:P19 ?j . ?j rdf:type ontology:Q15617994 }
Iran
That person was born in Iran
Iran
action filter_type
action find
entity Hamed Noormohammadi
relation place of birth
type designation for an administrative territorial entity
['association football', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hamed_Noormohammadi property:place_of_birth ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q794 Q874 Q889
P47
Q15617994
USER
Does that administrative territory have an adjacent border with Turkmenistan and Afghanistan ?
(Q794,P47,Q874) (Q794,P47,Q889)
action is_in
entity Q794
action intersection
action find_reverse
entity Q874
relation P47
action find_reverse
entity Q889
relation P47
['Q794', 'P47', 'Q874'] ['Q794', 'P47', 'Q889']
ASK WHERE { resource:Q794 property:P47 resource:Q874 . resource:Q794 property:P47 resource:Q889 }
Iran Turkmenistan Afghanistan
action is_in
entity Iran
action intersection
action find_reverse
entity Turkmenistan
relation shares border with
action find_reverse
entity Afghanistan
relation shares border with
['Iran', 'shares border with', 'Turkmenistan'] ['Iran', 'shares border with', 'Afghanistan']
ASK WHERE { resource:Iran property:shares_border_with resource:Turkmenistan . resource:Iran property:shares_border_with resource:Afghanistan }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q794,P47,Q874) (Q794,P47,Q889)
action is_in
entity Q794
action intersection
action find_reverse
entity Q874
relation P47
action find_reverse
entity Q889
relation P47
[ANSWER]
['Q794', 'P47', 'Q874'] ['Q794', 'P47', 'Q889']
ASK WHERE { resource:Q794 property:P47 resource:Q874 . resource:Q794 property:P47 resource:Q889 }
Yes
action is_in
entity Iran
action intersection
action find_reverse
entity Turkmenistan
relation shares border with
action find_reverse
entity Afghanistan
relation shares border with
['Iran', 'shares border with', 'Turkmenistan'] ['Iran', 'shares border with', 'Afghanistan']
ASK WHERE { resource:Iran property:shares_border_with resource:Turkmenistan . resource:Iran property:shares_border_with resource:Afghanistan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P840
Q201658
USER
Which film genres have their narrative set in Iran ?
(c(Q201658),P840,Q794)
action filter_type
action find_reverse
entity Q794
relation P840
type Q201658
[{'concept': 'Q201658'}, 'P840', 'Q794']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q201658 . ?v property:P840 resource:Q794 }
Iran
action filter_type
action find_reverse
entity Iran
relation narrative location
type film genre
[{'concept': 'film genre'}, 'narrative location', 'Iran']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:film_genre . ?v property:narrative_location resource:Iran }
[]
film genre
Q5775704 Q7621220
SYSTEM
History of Cinema, Strand
Q5775704 Q7621220
(c(Q201658),P840,Q794)
action filter_type
action find_reverse
entity Q794
relation P840
type Q201658
[ANSWERS] have their narrative set in Iran
[{'concept': 'Q201658'}, 'P840', 'Q794']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q201658 . ?v property:P840 resource:Q794 }
History of Cinema Strand
History of Cinema and Strand have their narrative set in Iran
History of Cinema Strand
action filter_type
action find_reverse
entity Iran
relation narrative location
type film genre
[{'concept': 'film genre'}, 'narrative location', 'Iran']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:film_genre . ?v property:narrative_location resource:Iran }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5775704 Q7621220
P495
Q15617994
USER
What are the countries of origin of those film genres ?
(Q5775704,P495,c(Q15617994)) (Q7621220,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q5775704', 'P495', {'concept': 'Q15617994'}] ['Q7621220', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . ?f property:P495 ?u . VALUES ( ?f ) { ( resource:Q5775704 ) ( resource:Q7621220 ) } }
History of Cinema Strand
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['History of Cinema', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Strand', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:country_of_origin ?u . VALUES ( ?f ) { ( resource:History_of_Cinema ) ( resource:Strand ) } }
[]
designation for an administrative territorial entity
Q794 Q27 Q794
SYSTEM
Ireland for 2nd, Iran for 1st, 3rd
Q794 Q27 Q794
(Q5775704,P495,c(Q15617994)) (Q7621220,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWERS]
['Q5775704', 'P495', {'concept': 'Q15617994'}] ['Q7621220', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . ?f property:P495 ?u . VALUES ( ?f ) { ( resource:Q5775704 ) ( resource:Q7621220 ) } }
Iran Ireland Iran
The countries of origin of those film genres are Iran, Ireland and Iran
Iran Ireland Iran
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['History of Cinema', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Strand', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f property:country_of_origin ?u . VALUES ( ?f ) { ( resource:History_of_Cinema ) ( resource:Strand ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P740
Q2472587
USER
What is the people that was formed at Iran ?
(c(Q2472587),P740,Q794)
action filter_type
action find_reverse
entity Q794
relation P740
type Q2472587
[{'concept': 'Q2472587'}, 'P740', 'Q794']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q794 . ?s rdf:type ontology:Q2472587 }
Iran
action filter_type
action find_reverse
entity Iran
relation location of formation
type people
[{'concept': 'people'}, 'location of formation', 'Iran']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Iran . ?s rdf:type ontology:people }
[]
people
Q142897
SYSTEM
Zaza people
Q142897
(c(Q2472587),P740,Q794)
action filter_type
action find_reverse
entity Q794
relation P740
type Q2472587
The people that was formed at Iran is called [ANSWER]
[{'concept': 'Q2472587'}, 'P740', 'Q794']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q794 . ?s rdf:type ontology:Q2472587 }
Zaza people
The people that was formed at Iran is called Zaza people
Zaza people
action filter_type
action find_reverse
entity Iran
relation location of formation
type people
[{'concept': 'people'}, 'location of formation', 'Iran']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Iran . ?s rdf:type ontology:people }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q503519
P361
Q553036 Q811979 Q15617994
USER
How many administrative territories are a component of greater number of natural region of Germanys and architectural structures than Plankenfels ?
(c(Q15617994),P361,c(Q553036)|c(Q811979))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action count
action filter_multi_types
action find
entity Q503519
relation P361
type Q553036
type Q811979
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:Q553036 ) ( ontology:Q811979 ) } . ?j rdf:type ?d } GROUP BY ?f } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { resource:Q503519 property:P361 ?x . { { ?x rdf:type ontology:Q553036 } UNION { ?x rdf:type ontology:Q811979 } } } } }
Plankenfels
action count
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action count
action filter_multi_types
action find
entity Plankenfels
relation part of
type natural region of Germany
type architectural structure
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:natural_region_of_Germany ) ( ontology:architectural_structure ) } . ?j rdf:type ?d } GROUP BY ?f } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { resource:Plankenfels property:part_of ?x . { { ?x rdf:type ontology:natural_region_of_Germany } UNION { ?x rdf:type ontology:architectural_structure } } } } }
[]
natural region of Germany architectural structure designation for an administrative territorial entity
SYSTEM
2
Q57857 Q2313565
(c(Q15617994),P361,c(Q553036)|c(Q811979))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q15617994
type Q553036
action find_tuple_counts
relation P361
type Q15617994
type Q811979
action count
action filter_multi_types
action find
entity Q503519
relation P361
type Q553036
type Q811979
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:Q553036 ) ( ontology:Q811979 ) } . ?j rdf:type ?d } GROUP BY ?f } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { resource:Q503519 property:P361 ?x . { { ?x rdf:type ontology:Q553036 } UNION { ?x rdf:type ontology:Q811979 } } } } }
Zschorlau Spreng
2
action count
action greater
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type natural region of Germany
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
action count
action filter_multi_types
action find
entity Plankenfels
relation part of
type natural region of Germany
type architectural structure
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:natural_region_of_Germany ) ( ontology:architectural_structure ) } . ?j rdf:type ?d } GROUP BY ?f } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { resource:Plankenfels property:part_of ?x . { { ?x rdf:type ontology:natural_region_of_Germany } UNION { ?x rdf:type ontology:architectural_structure } } } } }
[]